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

IDEA::PlasmaAttributeImpl Class Reference
[PlanServer implementation using EUROPA-2]

See PslAttribute for API documentation. More...

#include <PlasmaAttributeImpl.hh>

Inheritance diagram for IDEA::PlasmaAttributeImpl:

IDEA::PslAttributeImpl List of all members.

Public Methods

 PlasmaAttributeImpl (const std::string &name)
 ~PlasmaAttributeImpl ()
std::string getOriginalName () const
void setOriginalName (const std::string &originalName)
const std::string & getName () const
 Returns the name of the invoking attribute.

const PslPredicatecreatePredicate (const PslAttribute *attr, const std::string &name)
 Creates a predicate instance by the name for the invoking attribute.

const PslPredicategetPredicate (const std::string &name) const
 Returns the predicate instance by the name name if it exists otherwise returns 0.

const String2PslPredicateMapgetPredicates () const
 Returns a map of predicates which are possible on the invoking attribute.

const std::string & getComRelayName () const
 Returns the name (key) of the ComRelay instance to be used when sending out messages on instances of the invoking class.

void setComRelayName (const std::string &name)
 Sets the name (key) of the ComRelay instance to be used when sending out messages on instances of the invoking class to name.

const TokenLocationgetTargetLocation () const
 Returns the target-location for messages to be send out for tokens on instances of this attribute.

void setTargetLocation (const TokenLocation &target)
 Sets the target-location for messages to be send out for tokens on instances of this attribute.

void print (std::ostream &os) const
 Prints information of the invoking class to os.

void setAsDefaultExecutable ()
void setAsDefaultGoal ()
bool isDefaultExecutable () const
bool isDefaultGoal () const

Private Attributes

std::string m_OriginalName

Detailed Description

See PslAttribute for API documentation.


Constructor & Destructor Documentation

IDEA::PlasmaAttributeImpl::PlasmaAttributeImpl const std::string &    name
 

IDEA::PlasmaAttributeImpl::~PlasmaAttributeImpl  
 


Member Function Documentation

const PslPredicate * IDEA::PslAttributeImpl::createPredicate const PslAttribute   attr,
const std::string &    name
[inherited]
 

Creates a predicate instance by the name for the invoking attribute.

const std::string & IDEA::PslAttributeImpl::getComRelayName   [inherited]
 

Returns the name (key) of the ComRelay instance to be used when sending out messages on instances of the invoking class.

By default this value is UNKNOWN and can only be set by invoking PslAttribute::setComRelayName.

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

Returns the name of the invoking attribute.

std::string IDEA::PlasmaAttributeImpl::getOriginalName  
 

const PslPredicate * IDEA::PslAttributeImpl::getPredicate const std::string &    name const [inherited]
 

Returns the predicate instance by the name name if it exists otherwise returns 0.

const String2PslPredicateMap & IDEA::PslAttributeImpl::getPredicates   [inherited]
 

Returns a map of predicates which are possible on the invoking attribute.

const TokenLocation & IDEA::PslAttributeImpl::getTargetLocation   [inherited]
 

Returns the target-location for messages to be send out for tokens on instances of this attribute.

bool IDEA::PslAttributeImpl::isDefaultExecutable   [inherited]
 

bool IDEA::PslAttributeImpl::isDefaultGoal   [inherited]
 

void IDEA::PslAttributeImpl::print std::ostream &    os const [inherited]
 

Prints information of the invoking class to os.

void IDEA::PslAttributeImpl::setAsDefaultExecutable   [inherited]
 

void IDEA::PslAttributeImpl::setAsDefaultGoal   [inherited]
 

void IDEA::PslAttributeImpl::setComRelayName const std::string &    name [inherited]
 

Sets the name (key) of the ComRelay instance to be used when sending out messages on instances of the invoking class to name.

void IDEA::PlasmaAttributeImpl::setOriginalName const std::string &    originalName
 

void IDEA::PslAttributeImpl::setTargetLocation const TokenLocation   target [inherited]
 

Sets the target-location for messages to be send out for tokens on instances of this attribute.


Member Data Documentation

std::string IDEA::PlasmaAttributeImpl::m_OriginalName [private]
 


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