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

IDEA::PlasmaObservedConstraintImpl Class Reference

#include <PlasmaReturnRcvdCnImpl.hh>

Inheritance diagram for IDEA::PlasmaObservedConstraintImpl:

IDEA::PslObservedConstraintImpl IDEA::PslConstraintImpl List of all members.

Public Methods

 PlasmaObservedConstraintImpl (const PslParameter *parameter, int authority)
 ~PlasmaObservedConstraintImpl ()
int getId () const
 Returns a unique identifier of the constraint.

bool isActive () const
 Returns true if the invoking instance is active, eq. is maintained to be true by the underlying plan-database. Otherwise returns false.

void deActivate () const
 De-activates the invoking constraint if activated. Once an activated constraint is de-activated the underlying plan-database is no longer required to maintain it to be true.

void execute ()
 Maintains the invariant.

void print (std::ostream &os)
 Streams information of the invoking instance to os.

const std::string & getName () const
void activate (int authority=-1)
 Activates the invoking constraint if not yet activated. An activated constraint need to be maintained to be true by the underlying plan-database.

int getAuthority () const
 Returns the authority of the invoking constraint.


Protected Methods

void activateExtended (int authority) const
void setAuthority (int authority)

Private Attributes

EUROPA::ConstraintId m_ConstraintId

Detailed Description

class PlasmaReturnReceivedConstraintImpl


Constructor & Destructor Documentation

IDEA::PlasmaObservedConstraintImpl::PlasmaObservedConstraintImpl const PslParameter   parameter,
int    authority
 

IDEA::PlasmaObservedConstraintImpl::~PlasmaObservedConstraintImpl  
 


Member Function Documentation

void IDEA::PslConstraintImpl::activate int    authority = -1 [inherited]
 

Activates the invoking constraint if not yet activated. An activated constraint need to be maintained to be true by the underlying plan-database.

void IDEA::PlasmaObservedConstraintImpl::activateExtended int    authority const [protected, virtual]
 

Implements IDEA::PslConstraintImpl.

void IDEA::PlasmaObservedConstraintImpl::deActivate   [virtual]
 

De-activates the invoking constraint if activated. Once an activated constraint is de-activated the underlying plan-database is no longer required to maintain it to be true.

Note:
No re-propagation from it's original state is triggered.

Implements IDEA::PslConstraintImpl.

void IDEA::PslObservedConstraintImpl::execute   [virtual, inherited]
 

Maintains the invariant.

Implements IDEA::PslConstraintImpl.

int IDEA::PslConstraintImpl::getAuthority   [inherited]
 

Returns the authority of the invoking constraint.

The authority of the constraint is equal to the authority of the last invocation of activate or construction if activate has not been invoked explicitly.

int IDEA::PlasmaObservedConstraintImpl::getId   [virtual]
 

Returns a unique identifier of the constraint.

Implements IDEA::PslConstraintImpl.

const std::string & IDEA::PslConstraintImpl::getName   [inherited]
 

bool IDEA::PlasmaObservedConstraintImpl::isActive   [virtual]
 

Returns true if the invoking instance is active, eq. is maintained to be true by the underlying plan-database. Otherwise returns false.

Implements IDEA::PslConstraintImpl.

void IDEA::PslObservedConstraintImpl::print std::ostream &    os [virtual, inherited]
 

Streams information of the invoking instance to os.

Reimplemented from IDEA::PslConstraintImpl.

void IDEA::PslConstraintImpl::setAuthority int    authority [protected, inherited]
 


Member Data Documentation

EUROPA::ConstraintId IDEA::PlasmaObservedConstraintImpl::m_ConstraintId [private]
 


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