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

IDEA::PslConstraint Class Reference
[PlanServer handle classes]

An instance of PslConstraint represents a relation between plan-server objects which need to maintained true by the underlying plan-data-base when activated. More...

#include <PslConstraint.hh>

List of all members.

Public Methods

int getId () const
 Returns a unique identifier of the invoking constraint.

 ~PslConstraint ()
 Destructor.

const std::string & getName () const
const PslConstraintImplgetImpl () const
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 activate (int authority=-1) const
 Activates the invoking constraint if not yet activated. An activated constraint need to be maintained to be true by the underlying plan-database.

void deActivate () const
 De-activates the invoking constraint if activated.

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

void print (std::ostream &os) const

Private Methods

 PslConstraint (PslConstraintImpl *impl)
 Constructor.


Private Attributes

PslConstraintImplm_Impl

Friends

class PslParameterImpl
class PslTokenImpl
class PslVariableImpl


Detailed Description

An instance of PslConstraint represents a relation between plan-server objects which need to maintained true by the underlying plan-data-base when activated.

class PslConstraint


Constructor & Destructor Documentation

IDEA::PslConstraint::~PslConstraint  
 

Destructor.

Releases the memory allocated for the implementation class

IDEA::PslConstraint::PslConstraint PslConstraintImpl   impl [private]
 

Constructor.


Member Function Documentation

void IDEA::PslConstraint::activate int    authority = -1 const
 

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::PslConstraint::deActivate  
 

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.

int IDEA::PslConstraint::getAuthority  
 

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::PslConstraint::getId  
 

Returns a unique identifier of the invoking constraint.

const PslConstraintImpl * IDEA::PslConstraint::getImpl  
 

const std::string & IDEA::PslConstraint::getName  
 

bool IDEA::PslConstraint::isActive  
 

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

void IDEA::PslConstraint::print std::ostream &    os const
 


Friends And Related Function Documentation

friend class PslParameterImpl [friend]
 

friend class PslTokenImpl [friend]
 

friend class PslVariableImpl [friend]
 


Member Data Documentation

PslConstraintImpl* IDEA::PslConstraint::m_Impl [private]
 


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