SimReq Class Reference

Base class for requests that arise in simulation. More...

#include <Simulation/SimReq.H>

Inheritance diagram for SimReq:
Inheritance graph
[legend]
Collaboration diagram for SimReq:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SimReq (SimModule *src)
 Constuctor.
virtual ~SimReq ()
 Destructor.
virtual std::string toString () const
 Get a description for printing out.

Friends

class SimEventQueue

Detailed Description

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.


Constructor & Destructor Documentation

SimReq::SimReq ( SimModule src  ) 

Constuctor.

Normally a SimModule would pass "this" as src.

Definition at line 44 of file SimReq.C.

SimReq::~SimReq (  )  [virtual]

Destructor.

Definition at line 49 of file SimReq.C.


Member Function Documentation

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


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:48 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3