orca-sim
|
This class models a TimedModel. More...
#include <TimedModel.hpp>
Public Member Functions | |
TimedModel (std::string name) | |
Default Ctor. More... | |
virtual SimulationTime | Run ()=0 |
Method which is called by the simulator when during the execution of the TimedModel. More... | |
virtual | ~TimedModel ()=0 |
Dtor. More... | |
virtual void | Reset ()=0 |
Resets the instance to its starting state. More... | |
a name that identifies the model, advisably not empty. | |
Default ctor. | |
std::string | GetName () |
Getter method for the <_name> field. More... | |
void | SetName (std::string s) |
Setter method for the <_name> field. More... | |
This class models a TimedModel.
In this project, a TimedModel is an abstraction which can execute an action in a given point in time. For example, hardware can be modeled as TimedModeles that execute cycles given some period.
Definition at line 42 of file TimedModel.hpp.
|
explicit |
|
pure virtual |
|
inherited |
|
pure virtual |
Resets the instance to its starting state.
Must be implemented by subclasses
Implemented in orcasim::models::orca::NetBridge, orcasim::models::orca::DmaNetif, and orcasim::models::hermes::HermesRouter.
|
pure virtual |
Method which is called by the simulator when during the execution of the TimedModel.
Must be implemented by subclasses.
Implemented in orcasim::models::orca::NetBridge, orcasim::models::orca::DmaNetif, orcasim::models::hermes::HermesRouter, orcasim::modeling::ProcessorBase< T >, and orcasim::gdbrsp::GdbProcessorBase< T >.
|
inherited |