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

/home/pauldt/projects/IDEA/IDEA-ALL/IDEA-DEV/Modules/PLASMA/PlanServer/Includes/PlasmaConstraintImpl.hh

Go to the documentation of this file.
00001 // -*- Mode: C++ -*-
00002 //      CVS: $Id: PlasmaConstraintImpl.hh,v 1.13 2005/12/30 22:42:29 rijsman Exp $
00003 //      Tag: $name$
00004 //     Info: $CVSROOT/IDEA-DEV/COPYRIGHT
00005 
00006 #ifndef PLASMA_CONSTRAINT_IMPLEMENTATION_HEADER_
00007 #define PLASMA_CONSTRAINT_IMPLEMENTATION_HEADER_
00008 
00009 #include "PslConstraintImpl.hh"
00010 #include "PslErrors.hh"
00011 
00012 #include "Constraint.hh"
00013 #include "AbstractDomain.hh"
00014 
00015 #include "PlasmaConstants.hh"
00016 
00017 
00018 namespace IDEA
00019 {
00027   class PlasmaConstraintImpl:
00028     public PslConstraintImpl
00029   {
00030   public:
00034     PlasmaConstraintImpl( const EUROPA::ConstraintId& cnstrId, 
00035                           int authority,
00036                           const std::string& name,
00037                           bool deleteConstraint = true );
00041     ~PlasmaConstraintImpl();
00045     const EUROPA::ConstraintId& getConstraintId() const;
00049     int getId() const;
00053     bool isActive() const;
00057     void deActivate() const;
00061     void execute() {};
00062   protected:
00066     void activateExtended( int authority ) const;
00067   private:
00068     EUROPA::ConstraintId m_ConstraintId;
00069     bool m_DeleteConstraint;
00070   };
00071 
00075 }
00076 
00077 #endif // PLASMA_CONSTRAINT_IMPLEMENTATION_HEADER_

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