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

IDEA::UpdatePolicy Class Reference
[Agent handle classes]

The update-policy defines when a MessageObserver starts and ends updating messages. More...

#include <UpdatePolicy.hh>

Inheritance diagram for IDEA::UpdatePolicy:

IDEA::ReactivePlannerUpdatePolicy List of all members.

Public Methods

 UpdatePolicy (MessageObserver *observer)
 Constructor.

virtual ~UpdatePolicy ()
 Destructor.

virtual void notify (MessageHandle message)
 Notifies the invoking instance that the corresponding observer has been notified of a message message.

bool updateNextMessage (MessageHandle message)
 Should return true if the MessageObserver should stop updating.


Protected Attributes

MessageObserverm_Observer

Detailed Description

The update-policy defines when a MessageObserver starts and ends updating messages.

Author:
David Rijsman rijsman@email.arc.nasa.gov


Constructor & Destructor Documentation

IDEA::UpdatePolicy::UpdatePolicy MessageObserver   observer
 

Constructor.

IDEA::UpdatePolicy::~UpdatePolicy   [virtual]
 

Destructor.


Member Function Documentation

void IDEA::UpdatePolicy::notify MessageHandle    message [virtual]
 

Notifies the invoking instance that the corresponding observer has been notified of a message message.

Reimplemented in IDEA::ReactivePlannerUpdatePolicy.

bool IDEA::UpdatePolicy::updateNextMessage MessageHandle    message
 

Should return true if the MessageObserver should stop updating.

Defines if the updating of the messages should stop (return true) or should continue (return false) if the next message is message.

Reimplemented in IDEA::ReactivePlannerUpdatePolicy.


Member Data Documentation

MessageObserver* IDEA::UpdatePolicy::m_Observer [protected]
 


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