|  | Sly Engine
    | 
#include <AlarmableManager.h>


| Public Types | |
| enum | ALARM_ID { ALARM_0, ALARM_1, ALARM_2, ALARM_3, ALARM_4 } | 
| Values that represent alarm Identifiers.  More... | |
| typedef std::pair< Alarmable *, ALARM_ID > | AlarmEvent | 
| Defines an alias representing the alarm event.  More... | |
| typedef std::multimap< float, AlarmEvent > | TimeLineMap | 
| Defines an alias representing the time line map.  More... | |
| typedef TimeLineMap::iterator | StorageEntryRef | 
| Defines an alias representing the storage entry reference.  More... | |
| Public Member Functions | |
| AlarmableManager () | |
| Default constructor.  More... | |
| AlarmableManager (const AlarmableManager &)=delete | |
| Copy constructor.  More... | |
| AlarmableManager (AlarmableManager &&)=delete | |
| Move constructor.  More... | |
| AlarmableManager & | operator= (const AlarmableManager &)=delete | 
| Assignment operator.  More... | |
| AlarmableManager & | operator= (AlarmableManager &&)=delete | 
| Move assignment operator.  More... | |
| ~AlarmableManager () | |
| Deconstructor.  More... | |
| void | ProcessAlarms () | 
| Process the alarms.  More... | |
| void | Register (float deltaT, Alarmable *al, AlarmableManager::ALARM_ID inputId, StorageEntryRef &ref) | 
| Registers this.  More... | |
| void | Deregister (StorageEntryRef &ref) | 
| Deregisters this.  More... | |
| Static Public Attributes | |
| static const int | ALARM_NUMBER = 5 | 
| The max alarm number.  More... | |
| Private Attributes | |
| TimeLineMap * | timeline | 
| The timeline for triggers.  More... | |
| std::pair< Alarmable *, ALARM_ID > AlarmableManager::AlarmEvent | 
Defines an alias representing the alarm event.
| TimeLineMap::iterator AlarmableManager::StorageEntryRef | 
Defines an alias representing the storage entry reference.
| std::multimap< float, AlarmEvent > AlarmableManager::TimeLineMap | 
Defines an alias representing the time line map.
| AlarmableManager::AlarmableManager | ( | ) | 
Default constructor.

| 
 | delete | 
Copy constructor.
| 
 | delete | 
Move constructor.
| AlarmableManager::~AlarmableManager | ( | ) | 
Deconstructor.
| void AlarmableManager::Deregister | ( | StorageEntryRef & | ref | ) | 
Deregisters this.
| [in,out] | ref | The reference. | 

| 
 | delete | 
Move assignment operator.
| 
 | delete | 
Assignment operator.
| void AlarmableManager::ProcessAlarms | ( | ) | 
Process the alarms.


| void AlarmableManager::Register | ( | float | deltaT, | 
| Alarmable * | al, | ||
| AlarmableManager::ALARM_ID | inputId, | ||
| StorageEntryRef & | ref | ||
| ) | 
Registers this.
| deltaT | The delta t for alarm trigger time. | |
| [in,out] | al | If non-null, the alarmable. | 
| inputId | The alarm identifier. | |
| [in,out] | ref | The storage reference. | 


| 
 | static | 
The max alarm number.
| 
 | private | 
The timeline for triggers.