flux sdk  v01.02.02-3-g292b3a7
Embedded C++ SDK
Loading...
Searching...
No Matches
flxJob Class Reference

#include <flxCoreJobs.h>

Public Member Functions

 flxJob ()
 
 flxJob (const char *name, uint32_t in_period)
 
template<typename T >
void setup (const char *name, uint32_t in_period, T *inst, void(T::*func)(), bool bOneShot=false)
 
void callHandler (void)
 
template<typename T >
void setHandler (T *inst, void(T::*func)())
 
void setPeriod (uint32_t in_period)
 
uint32_t period (void)
 
const char * name (void)
 
void setName (const char *name)
 
void setOneShot (bool bOneShot)
 
bool oneShot (void)
 

Constructor & Destructor Documentation

◆ flxJob() [1/2]

flxJob::flxJob ( )
inline

◆ flxJob() [2/2]

flxJob::flxJob ( const char *  name,
uint32_t  in_period 
)
inline

Member Function Documentation

◆ callHandler()

void flxJob::callHandler ( void  )
inline

◆ name()

const char * flxJob::name ( void  )
inline

◆ oneShot()

bool flxJob::oneShot ( void  )
inline

◆ period()

uint32_t flxJob::period ( void  )
inline

◆ setHandler()

template<typename T >
void flxJob::setHandler ( T *  inst,
void(T::*)()  func 
)
inline

◆ setName()

void flxJob::setName ( const char *  name)
inline

◆ setOneShot()

void flxJob::setOneShot ( bool  bOneShot)
inline

◆ setPeriod()

void flxJob::setPeriod ( uint32_t  in_period)
inline

◆ setup()

template<typename T >
void flxJob::setup ( const char *  name,
uint32_t  in_period,
T *  inst,
void(T::*)()  func,
bool  bOneShot = false 
)
inline

The documentation for this class was generated from the following file: