Base class for all Activities in the SST Event Queue. More...
#include <activity.h>
Data Structures | |
class | less_time |
Comparator class to use with STL container classes. More... | |
class | less_time_priority |
Comparator class to use with STL container classes. More... | |
class | pq_less_time_priority |
To use with STL priority queues, that order in reverse. More... | |
Public Member Functions | |
virtual void | execute (void)=0 |
Function which will be called when the time for this Activity comes to pass. | |
void | setDeliveryTime (SimTime_t time) |
Set the time for which this Activity should be delivered. | |
SimTime_t | getDeliveryTime () const |
Return the time at which this Activity will be delivered. | |
int | getPriority () const |
Return the Priority of this Activity. | |
virtual void | print (const std::string &header, Output &out) const |
Generic print-print function for this Activity. | |
void | setQueueOrder (uint64_t order) |
Set a new Queue order. | |
Protected Member Functions | |
void | setPriority (int priority) |
Set the priority of the Activity. | |
Friends | |
class | boost::serialization::access |
Base class for all Activities in the SST Event Queue.
virtual void SST::Activity::execute | ( | void | ) | [pure virtual] |
Function which will be called when the time for this Activity comes to pass.
Implemented in SST::Event, SST::NullEvent, SST::Exit, SST::IntrospectAction, SST::StopAction, and SST::SyncD.
Referenced by SST::Simulation::run().
virtual void SST::Activity::print | ( | const std::string & | header, | |
Output & | out | |||
) | const [inline, virtual] |
Generic print-print function for this Activity.
Subclasses should override this function.
Reimplemented in SST::Action, SST::Clock, SST::Event, SST::NullEvent, SST::Exit, SST::OneShot, SST::StopAction, and SST::SyncBase.
References SST::Output::output().