A OneShot Event class. More...
#include <oneshot.h>
Data Structures | |
| class | Handler |
| Event Handler class with user-data argument. More... | |
| class | Handler< classT, void > |
| Event Handler class without user-data. More... | |
| class | HandlerBase |
| Functor classes for OneShot handling. More... | |
Public Member Functions | |
| OneShot (TimeConverter *timeDelay, int priority=ONESHOTPRIORITY) | |
| Create a new One Shot for a specified time that will callback the handler function. | |
| bool | isScheduled () |
| Is OneShot scheduled. | |
| void | registerHandler (OneShot::HandlerBase *handler) |
| Add a handler to be called on this OneShot Event. | |
| void | print (const std::string &header, Output &out) const |
| Print details about the OneShot. | |
Friends | |
| class | boost::serialization::access |
Calls callback functions (handlers) on a specified period
| SST::OneShot::OneShot | ( | TimeConverter * | timeDelay, | |
| int | priority = ONESHOTPRIORITY | |||
| ) |
Create a new One Shot for a specified time that will callback the handler function.
Note: OneShot cannot be canceled, and will always callback after the timedelay.
References SST::Activity::setPriority().
1.6.1