Action which causes the Simulation to end. More...
#include <stopAction.h>
Public Member Functions | |
StopAction (std::string msg) | |
Create a new StopAction which includes a message to be printed when it fires. | |
void | execute () |
Function which will be called when the time for this Activity comes to pass. | |
void | print (const std::string &header, Output &out) const |
Generic print-print function for this Activity. | |
Friends | |
class | boost::serialization::access |
Action which causes the Simulation to end.
void SST::StopAction::execute | ( | ) | [inline, virtual] |
Function which will be called when the time for this Activity comes to pass.
Implements SST::Activity.
References SST::Action::endSimulation().
void SST::StopAction::print | ( | const std::string & | header, | |
Output & | out | |||
) | const [inline, virtual] |
Generic print-print function for this Activity.
Subclasses should override this function.
Reimplemented from SST::Action.
References SST::Activity::getDeliveryTime(), and SST::Output::output().