SST::Activity Class Reference

Base class for all Activities in the SST Event Queue. More...

#include <activity.h>

Inheritance diagram for SST::Activity:
SST::Action SST::Event SST::Clock SST::Exit SST::IntrospectAction SST::OneShot SST::SimulatorHeartbeat SST::StopAction SST::SyncBase SST::Interfaces::StringEvent SST::Interfaces::TestEvent SST::NullEvent

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

Detailed Description

Base class for all Activities in the SST Event Queue.


Member Function Documentation

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


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

Generated on 14 Sep 2015 for SST by  doxygen 1.6.1