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

IDEA::PlasmaConstraintEngineListener Class Reference

#include <PlasmaPlanDatabaseListener.hh>

List of all members.

Public Methods

 PlasmaConstraintEngineListener (const ConstraintEngineId &constraintEngine, const PslDatabase *database)
void notifyChanged (const ConstrainedVariableId &variable, const DomainListener::ChangeType &changeType)
 Listens to events on the object-variable of a token. If the object variable becomes a singleton the PslToken::activateTimelineAssignedConstraints will be invoked if the corresponding token is already activated. If the object-variable becomes a non-singleton the PslToken::deActivateTimelineAssignedConstraints will be invoked if the token is still activated.

void notifyRemoved (const ConstrainedVariableId &variable)
void startBufferActivated ()
void endBufferActivated ()

Protected Methods

void handleEvent (const ConstrainedVariableId &variable, const DomainListener::ChangeType &changeType)

Private Types

typedef std::pair< ConstrainedVariableId,
DomainListener::ChangeType > 
BufferedEvent
typedef std::list< BufferedEventBufferedEvents

Private Attributes

const PslDatabasem_Database
bool m_BufferActivated
BufferedEvents m_Events


Detailed Description

class PlasmaConstraintEngineListener


Member Typedef Documentation

typedef std::pair< ConstrainedVariableId, DomainListener::ChangeType > IDEA::PlasmaConstraintEngineListener::BufferedEvent [private]
 

typedef std::list< BufferedEvent > IDEA::PlasmaConstraintEngineListener::BufferedEvents [private]
 


Constructor & Destructor Documentation

IDEA::PlasmaConstraintEngineListener::PlasmaConstraintEngineListener const ConstraintEngineId &    constraintEngine,
const PslDatabase   database
 


Member Function Documentation

void IDEA::PlasmaConstraintEngineListener::endBufferActivated  
 

void IDEA::PlasmaConstraintEngineListener::handleEvent const ConstrainedVariableId &    variable,
const DomainListener::ChangeType &    changeType
[protected]
 

void IDEA::PlasmaConstraintEngineListener::notifyChanged const ConstrainedVariableId &    variable,
const DomainListener::ChangeType &    changeType
 

Listens to events on the object-variable of a token. If the object variable becomes a singleton the PslToken::activateTimelineAssignedConstraints will be invoked if the corresponding token is already activated. If the object-variable becomes a non-singleton the PslToken::deActivateTimelineAssignedConstraints will be invoked if the token is still activated.

void IDEA::PlasmaConstraintEngineListener::notifyRemoved const ConstrainedVariableId &    variable
 

void IDEA::PlasmaConstraintEngineListener::startBufferActivated  
 


Member Data Documentation

bool IDEA::PlasmaConstraintEngineListener::m_BufferActivated [private]
 

const PslDatabase* IDEA::PlasmaConstraintEngineListener::m_Database [private]
 

BufferedEvents IDEA::PlasmaConstraintEngineListener::m_Events [private]
 


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