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

IDEA::ValueStartResponse Class Reference
[Simulator]

Stores information on what kind of message to create for messages coming in. More...

#include <SimResponse.hh>

Inheritance diagram for IDEA::ValueStartResponse:

IDEA::StatusStartResponse IDEA::ResponseBase List of all members.

Public Methods

 ValueStartResponse (const Time &time, const std::string &value, int index)
 Creates a future-response for the invoking ResponseFactory instance.

virtual ~ValueStartResponse ()
int getIndex () const
 Returns the index of the parameter the return value is intended for, returns -1 if the response is not a return value response.

MessageHandle createResponseMessage (const Time &received, const MessageData *data, Message::Type type)
const std::string & getValue () const
 Returns the value of the invoking response.

const TimegetDelay () const
 Returns the relative time when we need to send the response (relative to the start time of the message initiating the message).


Private Attributes

int m_Index

Detailed Description

Stores information on what kind of message to create for messages coming in.

class ValueStartResponse


Constructor & Destructor Documentation

IDEA::ValueStartResponse::ValueStartResponse const Time   time,
const std::string &    value,
int    index
 

Creates a future-response for the invoking ResponseFactory instance.

virtual IDEA::ValueStartResponse::~ValueStartResponse   [inline, virtual]
 


Member Function Documentation

MessageHandle IDEA::ValueStartResponse::createResponseMessage const Time   received,
const MessageData   data,
Message::Type    type
[virtual]
 

Reimplemented from IDEA::StatusStartResponse.

const Time& IDEA::ResponseBase::getDelay   const [inline, inherited]
 

Returns the relative time when we need to send the response (relative to the start time of the message initiating the message).

int IDEA::ValueStartResponse::getIndex  
 

Returns the index of the parameter the return value is intended for, returns -1 if the response is not a return value response.

const std::string & IDEA::StatusStartResponse::getValue   [inherited]
 

Returns the value of the invoking response.


Member Data Documentation

int IDEA::ValueStartResponse::m_Index [private]
 


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