|
virtual void | handleModeChange (unsigned int mode) |
| Ths API shows a reference implementation for handles when there is a changes in system mode(IARM bus system modes: NORMAL, EAS, WAREHOUSE). More...
|
|
virtual void | handleGatewayConnectionEvent (unsigned int state, unsigned int error) |
| This API shows a reference implementation of calling appropriate ledmgr indicator API depends of the gateway connection event. More...
|
|
virtual void | handleKeyPress (int key_code, int key_type) |
| This API shows a reference implementation for handling key press and give LED indication accordingly. Indicator functions are called with the supported LED pattern or color. More...
|
|
| ledMgrBase () |
| Constructor function performs initialization.
|
|
| ~ledMgrBase () |
| Destructor API.
|
|
virtual int | createBlinkPatterns () |
| This API creates blink patterns using the pattern type, duration, sequence … etc. as parameters.
|
|
const blinkPattern_t * | getPattern (blinkPatternType_t pattern) const |
| This API return the desired pattern info with respect to pattern type. More...
|
|
void | diagnostics () |
| This API prints pattern details include id, sequence.
|
|
indicator & | getIndicator (const std::string &name) |
| This API search for the matching indicator and return the indicator. More...
|
|
virtual void | handleCDLEvents (unsigned int event) |
|
virtual void | handleDeviceReset (const unsigned int sequence) |
|
virtual void | handleDeviceResetAbort () |
|
void | setPowerState (int state) |
| This function sets the power state. More...
|
|
int | getPowerState () |
| This function used to get the power state. More...
|
|
bool | setError (unsigned int position, bool value) |
| This API stores the error and returns the transition state in order to call appropriate ledmgr indicator api. More...
|
|
|
static ledMgr & | getInstance () |
|
|
int | m_is_powered_on |
|
unsigned int | m_error_flags |
|
pthread_mutex_t | m_mutex |
|
std::vector< blinkPattern_t > | m_patterns |
|
std::vector< indicator > | m_indicators |
|
Definition at line 8 of file ledmgr.hpp.
The documentation for this class was generated from the following files:
- components/generic/ledmgr/src/extended/noop/ledmgr.hpp
- components/generic/ledmgr/src/extended/noop/ledmgr.cpp