FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
template<class T , class S >
int
StateMachineDrive
< T, S >::SetLedBrightness
(
const
EventImp
&
evt
)
inline
private
Definition at line
2243
of file
drivectrl.cc
.
References
EventImp::GetSize()
, and
EventImp::Ptr()
.
2244
{
2245
if
(!
CheckEventSize
(evt.
GetSize
(),
"SetLedBrightness"
, 8))
2246
return
T::kSM_FatalError;
2247
2248
const
uint32_t *led = evt.
Ptr
<uint32_t>();
2249
2250
fDrive
.SetLedVoltage(led[0], led[1]);
2251
2252
return
T::GetCurrentState();
2253
}
StateMachineDrive::fDrive
S fDrive
Definition:
cosyctrl.cc:787
StateMachineDrive::CheckEventSize
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition:
cosyctrl.cc:804
EventImp::Ptr
const T * Ptr(size_t offset=0) const
Definition:
EventImp.h:74
EventImp::GetSize
virtual size_t GetSize() const
Definition:
EventImp.h:55
Here is the call graph for this function:
StateMachineDrive
Generated on Sun Sep 18 2016 20:50:59 for FACT++ by
1.8.11