Sly Engine
|
#include <AlarmableRegistrationCommand.h>
Public Member Functions | |
AlarmableRegistrationCommand ()=delete | |
Default constructor. More... | |
AlarmableRegistrationCommand (const AlarmableRegistrationCommand &)=delete | |
Copy constructor. More... | |
AlarmableRegistrationCommand (AlarmableRegistrationCommand &&)=delete | |
Move constructor. More... | |
AlarmableRegistrationCommand & | operator= (const AlarmableRegistrationCommand &)=delete |
Assignment operator. More... | |
AlarmableRegistrationCommand & | operator= (AlarmableRegistrationCommand &&)=delete |
Move assignment operator. More... | |
virtual | ~AlarmableRegistrationCommand ()=default |
Deconstructor. More... | |
AlarmableRegistrationCommand (Alarmable *ptrAl, AlarmableManager::ALARM_ID id) | |
Constructor. More... | |
void | execute () override |
Executes this command. More... | |
void | setTime (float t) |
Sets a time. More... | |
Public Member Functions inherited from SceneRegistry | |
SceneRegistry ()=default | |
Default constructor. More... | |
SceneRegistry (const SceneRegistry &)=delete | |
Copy constructor. More... | |
SceneRegistry (SceneRegistry &&)=delete | |
Move constructor. More... | |
SceneRegistry & | operator= (const SceneRegistry &)=delete |
Assignment operator. More... | |
SceneRegistry & | operator= (SceneRegistry &&)=delete |
Move assignment operator. More... | |
virtual | ~SceneRegistry ()=default |
Deconstructor. More... | |
Public Member Functions inherited from CommandBase | |
CommandBase ()=default | |
Default constructor. More... | |
CommandBase (const CommandBase &)=delete | |
Copy constructor. More... | |
CommandBase (CommandBase &&)=delete | |
Move constructor. More... | |
CommandBase & | operator= (const CommandBase &)=delete |
Assignment operator. More... | |
CommandBase & | operator= (CommandBase &&)=delete |
Move assignment operator. More... | |
virtual | ~CommandBase ()=default |
Deconstructor. More... | |
Private Attributes | |
Alarmable * | ptrAl |
The pointer to alarmable. More... | |
AlarmableManager::ALARM_ID | alId |
Identifier for the alarm. More... | |
float | deltaT |
The delta t for time to trigger. More... | |
|
delete |
Default constructor.
|
delete |
Copy constructor.
|
delete |
Move constructor.
|
virtualdefault |
Deconstructor.
AlarmableRegistrationCommand::AlarmableRegistrationCommand | ( | Alarmable * | ptrAl, |
AlarmableManager::ALARM_ID | id | ||
) |
Constructor.
[in,out] | ptrAl | If non-null, the pointer to the alarmable. |
id | The alarm identifier. |
|
overridevirtual |
|
delete |
Move assignment operator.
|
delete |
Assignment operator.
void AlarmableRegistrationCommand::setTime | ( | float | t | ) |
Sets a time.
t | A float as delta t from the currentTime with which to trigger the alarm. |
|
private |
Identifier for the alarm.
|
private |
The delta t for time to trigger.
|
private |
The pointer to alarmable.