RDK Documentation (Open Sourced RDK Components)
ledmgr.hpp
1 #ifndef LEDMGR_H
2 #define LEDMGR_H
3 #include "ledmgrbase.hpp"
4 #include "fp_profile.hpp"
5 
6 //TODO (OEM): OEM vendors are to implement the functions required for their platform.
7 
8 class ledMgr : public ledMgrBase
9 {
10  private:
11  static ledMgr m_singleton;
12 
13  public:
14  ledMgr();
15  static ledMgr &getInstance();
16  virtual void handleModeChange(unsigned int mode);
17  virtual void handleGatewayConnectionEvent(unsigned int state, unsigned int error);
18  virtual void handleKeyPress(int key_code, int key_type);
19 };
20 
21 #endif /*LEDMGR_H*/
22 
ledMgr::handleModeChange
virtual void handleModeChange(unsigned int mode)
Ths API shows a reference implementation for handles when there is a changes in system mode(IARM bus ...
Definition: ledmgr.cpp:46
ledMgr::handleKeyPress
virtual void handleKeyPress(int key_code, int key_type)
This API shows a reference implementation for handling key press and give LED indication accordingly....
Definition: ledmgr.cpp:105
ledMgrBase
Definition: ledmgrbase.hpp:36
ledMgr
Definition: ledmgr.hpp:8
ledMgr::handleGatewayConnectionEvent
virtual void handleGatewayConnectionEvent(unsigned int state, unsigned int error)
This API shows a reference implementation of calling appropriate ledmgr indicator API depends of the ...
Definition: ledmgr.cpp:75