![]() |
GM6000 Digital Heater Controller Build: 20 (Branch = develop)
SDX-1330
|
This class manages the what color/on-off-state of the RGB LED. More...
This class manages the what color/on-off-state of the RGB LED.
#include <Api.h>
Public Member Functions | |
| Api (Cpl::Dm::MailboxServer &myMbox, Driver::LED::RedGreenBlue &statusLED, Ajax::ScreenMgr::Navigation &scrMgr) | |
| Constructor. | |
| void | request (OpenMsg &msg) |
| Starts the component. | |
| void | request (CloseMsg &msg) |
| Shutdowns the component. | |
Public Member Functions inherited from Cpl::Itc::CloseSync | |
| CloseSync (PostApi &myMbox) noexcept | |
| Constructor. | |
| bool | close (void *args=nullptr) |
| See CloseSync. | |
Public Member Functions inherited from Cpl::Itc::OpenSync | |
| OpenSync (PostApi &myMbox) noexcept | |
| Constructor. | |
| bool | open (void *args=nullptr) |
| See OpenApi. | |
Public Member Functions inherited from Cpl::Itc::OpenApi | |
| virtual | ~OpenApi () |
| Virtual destructor. | |
Public Member Functions inherited from Cpl::Itc::CloseApi | |
| virtual | ~CloseApi () |
| Virtual destructor. | |
Public Member Functions inherited from Cpl::System::Timer | |
| Timer (TimerManager &timingSource) | |
| Constructor | |
| Timer () | |
| Constructor. Alternate constructor - that defers the assignment of the timing source | |
| virtual void | start (unsigned long timerDurationInMilliseconds) noexcept |
| Starts the timer with an initial count down count duration of 'timerDurationInMilliseconds'. | |
| virtual void | stop () noexcept |
| Stops the timer. | |
| unsigned long | count () const noexcept |
| Returns the current count (in milliseconds) | |
| virtual void | setTimingSource (TimerManager &timingSource) noexcept |
| Sets the timing source. | |
Public Member Functions inherited from Cpl::System::CounterCallback_ | |
| virtual | ~CounterCallback_ () |
| Virtual Destructor. | |
Public Member Functions inherited from Cpl::Container::Item | |
| bool | insert_ (void *newContainerPtr) |
| Helper method to trap when inserting an item in multiple containers. | |
| bool | isInContainer_ (const void *containerPtr) const noexcept |
| Returns 'true' if the instance is in the specified container. | |
Protected Member Functions | |
| void | expired () noexcept |
| Software timer expired. | |
| bool | setHaltError (uint32_t now) noexcept |
| Helper method that set the actual LED state (return true when the error condition is present) | |
| void | setStatus (uint32_t now) noexcept |
| Helper method that set the actual LED state. | |
Protected Member Functions inherited from Cpl::System::Timer | |
| void | decrement (unsigned long milliseconds=1) noexcept |
| See Cpl::System::CounterCallback_. | |
| void | increment (unsigned long milliseconds) noexcept |
| See Cpl::System::CounterCallback_. | |
Protected Member Functions inherited from Cpl::Container::ExtendedItem | |
| ExtendedItem () | |
| Constructor. | |
| ExtendedItem (const char *ignoreThisParameter_usedToCreateAUniqueConstructor) | |
| Constructor used ONLY with the child class MapItem: -->special constructor to allow a Map to be statically allocated. | |
Protected Member Functions inherited from Cpl::Container::Item | |
| Item () | |
| Constructor. | |
| Item (const char *) | |
| Constructor used ONLY with the child class MapItem: -->special constructor to allow a Map to be statically allocated. | |
Protected Attributes | |
| Driver::LED::RedGreenBlue & | m_ledDriver |
| Handle to the RGD LED driver. | |
| Ajax::ScreenMgr::Navigation & | m_scrMgr |
| Handle to the screen manager. | |
| uint32_t | m_timeMarker2Hz |
| Period time marker. | |
| uint32_t | m_timeMarker1Hz |
| Period time marker. | |
| uint32_t | m_timeMarkerQuarterHz |
| Period time marker. | |
| unsigned | m_state |
| Current indicator state (when NOT in a 'hard-error') | |
| bool | m_2HzOnCycle |
| Current 'flash edge'. | |
| bool | m_1HzOnCycle |
| Current 'flash edge'. | |
| bool | m_quarterHzOnCycle |
| Current 'flash edge'. | |
| bool | m_firstExecution |
| Flag for initial execution pass. | |
| bool | m_opened |
| open/close state | |
Protected Attributes inherited from Cpl::Itc::OpenSync | |
| PostApi & | m_mbox |
| Mailbox (of the server implementing the ITC request() method. | |
Protected Attributes inherited from Cpl::System::Timer | |
| TimerManager * | m_timingSource |
| The timer's tick source. | |
| unsigned long | m_count |
| Current count. | |
Additional Inherited Members | |
Public Types inherited from Cpl::Itc::OpenRequest | |
| typedef Cpl::Itc::SAP< OpenRequest > | SAP |
| SAP for this API. | |
| typedef RequestMessage< OpenRequest, OpenPayload > | OpenMsg |
| Message Type: Open. | |
Public Types inherited from Cpl::Itc::CloseRequest | |
| typedef Cpl::Itc::SAP< CloseRequest > | SAP |
| SAP for this API. | |
| typedef RequestMessage< CloseRequest, ClosePayload > | CloseMsg |
| Message Type: Close. | |
Static Public Member Functions inherited from Cpl::Container::Item | |
| static void | remove_ (Item *itemPtr) noexcept |
| Helper method to do the proper 'clean-up' for the multiple-containers-error-trap when removing an item from a container. | |
Public Attributes inherited from Cpl::Container::ExtendedItem | |
| void * | m_prevPtr_ |
| The previous link field. | |
Public Attributes inherited from Cpl::Container::Item | |
| void * | m_nextPtr_ |
| The link field. | |
| void * | m_inListPtr_ |
| Debug field. | |
| Ajax::Ui::StatusIndicator::Api::Api | ( | Cpl::Dm::MailboxServer & | myMbox, |
| Driver::LED::RedGreenBlue & | statusLED, | ||
| Ajax::ScreenMgr::Navigation & | scrMgr ) |
Constructor.
|
protectedvirtualnoexcept |
Software timer expired.
Implements Cpl::System::CounterCallback_.
|
virtual |
Shutdowns the component.
Implements Cpl::Itc::CloseRequest.
|
virtual |
Starts the component.
Implements Cpl::Itc::OpenRequest.
|
protectednoexcept |
Helper method that set the actual LED state (return true when the error condition is present)
|
protectednoexcept |
Helper method that set the actual LED state.
|
protected |
Current 'flash edge'.
|
protected |
Current 'flash edge'.
|
protected |
Flag for initial execution pass.
|
protected |
Handle to the RGD LED driver.
|
protected |
open/close state
|
protected |
Current 'flash edge'.
|
protected |
Handle to the screen manager.
|
protected |
Current indicator state (when NOT in a 'hard-error')
|
protected |
Period time marker.
|
protected |
Period time marker.
|
protected |
Period time marker.