Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

IDEA::SimulatorMessage Class Reference
[Simulator]

#include <SimMessage.hh>

Inheritance diagram for IDEA::SimulatorMessage:

IDEA::Message IDEA::Prototype List of all members.

Public Types

typedef std::list< Message * > MessageList
enum  Type {
  UNDEFINED = 0, START = 2, STOP = 4, VALUE = 8,
  STATUS = 16, TELEMETRY = 32, OBJECT = 64, USERDEFINED = 128
}

Public Methods

 SimulatorMessage (const Time &time, SimulatorDataBase *data)
virtual Messageclone () const
 Should return a clone of the invoking message with deep copy.


Protected Methods

MessageDatagetData () const
const TimegetTime () const
 Returns the time of the invoking message.

const Message::TypegetType () const
 Returns the 'type' of the message.


Detailed Description

class SimulatorMessage


Member Typedef Documentation

typedef std::list< Message*> IDEA::Message::MessageList [inherited]
 


Member Enumeration Documentation

enum IDEA::Message::Type [inherited]
 

Enumeration values:
UNDEFINED 
START  Message indicating the start of a token, send out to goal timelines to create tokens on them.
STOP  Message indicating the stop of a token, send out to goal timelines to stop tokens on them.
VALUE  Message indicating the value of a paramter if the token/predicate changed, send out to timelines.
STATUS  Message indicating the status of a predicate changed.
TELEMETRY  Message send to a timeline updating the status of whatever token is at the timeline at the time of receiving.
OBJECT  Message indicating the value of an object.
USERDEFINED  Message user-defined.


Constructor & Destructor Documentation

IDEA::SimulatorMessage::SimulatorMessage const Time   time,
SimulatorDataBase   data
[inline]
 


Member Function Documentation

Message * IDEA::Message::clone   [virtual, inherited]
 

Should return a clone of the invoking message with deep copy.

Implements IDEA::Prototype.

MessageData* IDEA::Message::getData   const [inline, protected, inherited]
 

const Time& IDEA::Message::getTime   const [inline, protected, inherited]
 

Returns the time of the invoking message.

If the message is an incoming message this time is the time of arrival if the message is a outgoing message than this time is the time of construction of the message.

const Message::Type & IDEA::Message::getType   [protected, inherited]
 

Returns the 'type' of the message.


Contact information
© IDEA
Generated on Fri Feb 3 17:09:49 2006 for IDEA.