MineLink
 All Data Structures Functions Variables Pages
delphos::BlockTimingConstraint Class Reference

Defines a constraint that limits processing periods or destinations for blocks. More...

#include <constraint.h>

Inheritance diagram for delphos::BlockTimingConstraint:
Inheritance graph
Collaboration diagram for delphos::BlockTimingConstraint:
Collaboration graph

Public Member Functions

 BlockTimingConstraint (const string &name, const unsigned int &period, delphos::BlockModel &bm)
 Creates a constraint limiting the period . More...
 
 BlockTimingConstraint (const string &name, const unsigned int &period, delphos::BlockSelection *bs)
 Creates a constraint limiting the period . More...
 
- Public Member Functions inherited from delphos::BlockConstraint
 BlockConstraint (const string &name, delphos::BlockModel &bm)
 Creates a new block selection constraint. More...
 
 BlockConstraint (const string &name, delphos::BlockSelection *bs)
 Creates a new block selection constraint. More...
 
delphos::BlockSelectionGetBlockSelection () const
 Returns the selection of blocks being constrained.
 
virtual ~BlockConstraint ()
 Destroys a block constraint.
 
- Public Member Functions inherited from delphos::Constraint
 Constraint (const string &name)
 Creates a constraint with given name. More...
 
virtual ~Constraint ()
 Destructor. More...
 
virtual bool Check (const delphos::Schedule &sch) const
 Checks if the given schedule satisfies the constraint. More...
 
virtual bool Check (const delphos::FractionalSchedule &fsch) const
 Checks if the given fractional schedule satisfies the constraint. More...
 
virtual string ToXML (const unsigned int identation_level=0) const
 A XML string describing the constraint. More...
 
const char * TypeName () const
 a char string used a identifier in the XML representation of the constraint.
 
- Public Member Functions inherited from delphos::TimedConstraint
 TimedConstraint (const string &name, const unsigned int &period)
 Creates a new timed constraint. More...
 
virtual ~TimedConstraint ()
 destroys a timed constraint.
 
const unsigned int GetPeriod () const
 Returns the time-period that the constraint applies at. More...
 

Detailed Description

Defines a constraint that limits processing periods or destinations for blocks.

Constructor & Destructor Documentation

delphos::BlockTimingConstraint::BlockTimingConstraint ( const string &  name,
const unsigned int &  period,
delphos::BlockModel bm 
)

Creates a constraint limiting the period .

Parameters
nameThe name of the constraint.
periodPeriod by which the block should be already processed.
bmThe given block model to be constrained. If this constructor is used, no block is constrained.
delphos::BlockTimingConstraint::BlockTimingConstraint ( const string &  name,
const unsigned int &  period,
delphos::BlockSelection bs 
)

Creates a constraint limiting the period .

Parameters
nameThe name of the constraint.
periodPeriod by which the block should be already processed.
bsThe selection of blocks to be constrained.

Blocks are constrained.


The documentation for this class was generated from the following files: