Base class for requests that arise in simulation. More...
#include <Simulation/SimReq.H>
Public Member Functions | |
SimReq (SimModule *src) | |
Constuctor. | |
virtual | ~SimReq () |
Destructor. | |
virtual std::string | toString () const |
Get a description for printing out. | |
Friends | |
class | SimEventQueue |
Base class for requests that arise in simulation.
SimReq is similar to SimEvent but differs in two critical manners: (1) SimReq objects never get posted onto theSimEventQueue (blackboard). So they are private data exchanged between SimModules without becoming publicly available on the blackboard like SimEvent objects. (2) SimReq objects are typically used read/write as opposed to being read-only like SimEvents.
Definition at line 51 of file SimReq.H.
SimReq::SimReq | ( | SimModule * | src | ) |
std::string SimReq::toString | ( | ) | const [virtual] |
Get a description for printing out.
The base class implementation only returns the demangled name of the class. Overload as necessary in derived classes if you want to also return additional information.
Reimplemented in SimReqVCXfeatures.
Definition at line 53 of file SimReq.C.
References rutz::demangled_name(), sformat(), and ModelComponent::tagName().