SST::OneShot Class Reference

A OneShot Event class. More...

#include <oneshot.h>

Inheritance diagram for SST::OneShot:
SST::Action SST::Activity

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

Detailed Description

A OneShot Event class.

Calls callback functions (handlers) on a specified period


Constructor & Destructor Documentation

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().


The documentation for this class was generated from the following files:

Generated on 14 Sep 2015 for SST by  doxygen 1.6.1