![]() |
GM6000 Digital Heater Controller Build: 20 (Branch = develop)
SDX-1330
|
This class manages the content of the Alert Summary model point. More...
This class manages the content of the Alert Summary model point.
#include <Summary.h>
Public Types | |
| typedef Cpl::Dm::SubscriberComposer< Summary, Ajax::Dm::MpAlert > | AlertObserver |
| Convenience type. | |
| typedef Cpl::Memory::AlignedClass< AlertObserver > | AlertComposerMemory |
| Type for allocating memory for Alert Observer composer instances. | |
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. | |
Public Member Functions | |
| Summary (Cpl::Dm::MailboxServer &myMbox, Ajax::Dm::MpAlert *alertList[]) | |
| 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. | |
Protected Member Functions | |
| void | alertChanged (Ajax::Dm::MpAlert &mpThatChanged, Cpl::Dm::SubscriberApi &clientObserver) noexcept |
| Change notification: Alerts. | |
Protected Attributes | |
| AlertComposerMemory | m_observers [Ajax::Type::Alert::NUM_ALERTS] |
| Observer for change notifications. | |
| Ajax::Dm::MpAlert ** | m_alertList |
| Array of Alert Model Point pointers. | |
| Cpl::Dm::EventLoop & | m_eventLoop |
| Reference to the Event loop (needed when constructing Observers) | |
| 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. | |
Type for allocating memory for Alert Observer composer instances.
| typedef Cpl::Dm::SubscriberComposer<Summary, Ajax::Dm::MpAlert> Ajax::Alerts::Summary::AlertObserver |
Convenience type.
| Ajax::Alerts::Summary::Summary | ( | Cpl::Dm::MailboxServer & | myMbox, |
| Ajax::Dm::MpAlert * | alertList[] ) |
Constructor.
Note: The number of elements in the two array argument MUST equal Ajax::Type::Alert::NUM_ALERTS
|
protectednoexcept |
Change notification: Alerts.
|
virtual |
Shutdowns the component.
Implements Cpl::Itc::CloseRequest.
|
virtual |
Starts the component.
Implements Cpl::Itc::OpenRequest.
|
protected |
Array of Alert Model Point pointers.
|
protected |
Reference to the Event loop (needed when constructing Observers)
|
protected |
Observer for change notifications.
|
protected |
open/close state