Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TimeConstraint Class Reference

#include <TimeConstraint.h>

Inheritance diagram for TimeConstraint:
Inheritance graph
Collaboration diagram for TimeConstraint:
Collaboration graph

Public Member Functions

void clear_interval_set ()
 
const MscTimeIntervalSetDget_interval_set () const
 
MscTimeIntervalSetDget_interval_set ()
 
void set_interval_set (const MscTimeIntervalSetD &set)
 
Size get_width () const
 
void set_width (const Size &width)
 
- Public Member Functions inherited from MscElementTmpl< TimeConstraint >
int get_visual_style () const
 
void set_visual_style (int visual_style)
 
MscElementget_general_original () const
 See MscElementTmpl for details about attribute original. More...
 
void set_general_original (MscElement *original)
 See MscElementTmpl for details about attribute original. More...
 
TimeConstraintget_original () const
 
void set_original (TimeConstraint *e)
 
void set_original (boost::intrusive_ptr< TimeConstraint > &e)
 
virtual ~MscElementTmpl ()
 
- Public Member Functions inherited from MscElement
bool is_attribute_set (const std::string &name) const
 Finds out whether attribute with specified name is set or not. More...
 
template<class T >
T & get_attribute (const std::string &name, const T &def)
 Returns dynamic attribute of MscElement. More...
 
template<class T >
T & get_attribute (const std::string &name, const T &def, bool &status)
 Returns dynamic attribute of MscElement. More...
 
template<class T >
void set_attribute (const std::string &name, const T &val)
 Sets dynamic attribute of MscElement. More...
 
template<class T >
void remove_attribute (const std::string &name)
 Removes attribute of MscElement. More...
 
std::set< std::stringget_attribute_names () const
 List all attributes of MscElement. More...
 
enum MarkType get_marked () const
 
void set_marked (enum MarkType marked=MARKED)
 
MscColor get_color () const
 
void set_color (MscColor color)
 
void clear_color ()
 
virtual ~MscElement ()
 

Protected Member Functions

 TimeConstraint ()
 length of the guide line More...
 
 TimeConstraint (const MscTimeIntervalSetD &set)
 
 TimeConstraint (TimeConstraint *original)
 
virtual ~TimeConstraint ()
 
- Protected Member Functions inherited from MscElementTmpl< TimeConstraint >
 MscElementTmpl ()
 
 MscElementTmpl (TimeConstraint *original)
 Creates MscElement referencing the original one. More...
 
- Protected Member Functions inherited from MscElement
 MscElement ()
 

Protected Attributes

MscTimeIntervalSet< double > m_interval_set
 
Size m_width
 
- Protected Attributes inherited from MscElementTmpl< TimeConstraint >
int m_visual_style
 Visual style of the shape. More...
 
boost::intrusive_ptr
< TimeConstraint
m_original
 Pointer to original version of MscElement. More...
 

Detailed Description

Definition at line 23 of file TimeConstraint.h.

Constructor & Destructor Documentation

TimeConstraint::TimeConstraint ( )
protected

length of the guide line

Definition at line 21 of file TimeConstraint.cpp.

TimeConstraint::TimeConstraint ( const MscTimeIntervalSetD set)
protected

Definition at line 27 of file TimeConstraint.cpp.

TimeConstraint::TimeConstraint ( TimeConstraint original)
protected

Definition at line 33 of file TimeConstraint.cpp.

References get_width(), m_interval_set, and m_width.

TimeConstraint::~TimeConstraint ( )
protectedvirtual

Definition at line 43 of file TimeConstraint.cpp.

Member Function Documentation

void TimeConstraint::clear_interval_set ( )
inline

Definition at line 35 of file TimeConstraint.h.

const MscTimeIntervalSetD & TimeConstraint::get_interval_set ( ) const

Definition at line 47 of file TimeConstraint.cpp.

References m_interval_set.

Referenced by HMscTighter::on_path_found().

MscTimeIntervalSetD & TimeConstraint::get_interval_set ( )

Definition at line 52 of file TimeConstraint.cpp.

References m_interval_set.

Size TimeConstraint::get_width ( ) const
inline

Definition at line 43 of file TimeConstraint.h.

Referenced by TimeConstraint().

void TimeConstraint::set_interval_set ( const MscTimeIntervalSetD set)

Definition at line 57 of file TimeConstraint.cpp.

References m_interval_set.

void TimeConstraint::set_width ( const Size width)
inline

Member Data Documentation

MscTimeIntervalSet<double> TimeConstraint::m_interval_set
protected
Size TimeConstraint::m_width
protected

Definition at line 27 of file TimeConstraint.h.

Referenced by TimeConstraint().


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

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:59 for Sequence Chart Studio by  doxygen