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

#include <TimeRelationRefNode.h>

Inheritance diagram for TimeRelationRefNode:
Inheritance graph
Collaboration diagram for TimeRelationRefNode:
Collaboration graph

Public Member Functions

 TimeRelationRefNode (MscTimeIntervalSet< double > set)
 
 TimeRelationRefNode (const std::string &set)
 
 TimeRelationRefNode (TimeRelationRefNode *original)
 
ReferenceNodeget_ref_node_a () const
 
bool is_top_node_a ()
 
bool is_bottom_node_a ()
 
ReferenceNodeget_ref_node_b () const
 
bool is_top_node_b ()
 
bool is_bottom_node_b ()
 
void glue_ref_node_a (bool bottom, ReferenceNode *a)
 
void glue_ref_node_b (bool bottom, ReferenceNode *b)
 
void glue_ref_nodes (bool bottom_a, ReferenceNode *a, bool bottom_b, ReferenceNode *b)
 
 ~TimeRelationRefNode ()
 
- Public Member Functions inherited from TimeRelation
 TimeRelation (const MscTimeIntervalSetD &set)
 measurement variable name More...
 
 TimeRelation (const std::string &set)
 
 TimeRelation (TimeRelation *original)
 
virtual ~TimeRelation ()
 
void assign_label (const std::string &label)
 
std::string get_label () const
 
bool is_directed () const
 
void set_directed (bool directed)
 
void clear_interval_set ()
 
const std::stringget_measurement () const
 
void set_measurement (std::string &measurement)
 
- Public Member Functions inherited from TimeConstraint
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 ()
 

Private Attributes

ReferenceNodem_node_origin
 
ReferenceNodem_node
 

Additional Inherited Members

- Protected Member Functions inherited from TimeConstraint
 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 inherited from TimeRelation
bool m_directed
 
std::string m_measurement
 indicates directed constraint, see "origin" keyword More...
 
- Protected Attributes inherited from TimeConstraint
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 22 of file TimeRelationRefNode.h.

Constructor & Destructor Documentation

TimeRelationRefNode::TimeRelationRefNode ( MscTimeIntervalSet< double >  set)
inline

Definition at line 30 of file TimeRelationRefNode.h.

TimeRelationRefNode::TimeRelationRefNode ( const std::string set)
inline

Definition at line 35 of file TimeRelationRefNode.h.

TimeRelationRefNode::TimeRelationRefNode ( TimeRelationRefNode original)

Definition at line 21 of file TimeRelationRefNode.cpp.

TimeRelationRefNode::~TimeRelationRefNode ( )
inline

Definition at line 122 of file TimeRelationRefNode.h.

Member Function Documentation

ReferenceNode* TimeRelationRefNode::get_ref_node_a ( ) const
inline

Definition at line 42 of file TimeRelationRefNode.h.

ReferenceNode* TimeRelationRefNode::get_ref_node_b ( ) const
inline

Definition at line 60 of file TimeRelationRefNode.h.

void TimeRelationRefNode::glue_ref_node_a ( bool  bottom,
ReferenceNode a 
)
inline
void TimeRelationRefNode::glue_ref_node_b ( bool  bottom,
ReferenceNode b 
)
inline
void TimeRelationRefNode::glue_ref_nodes ( bool  bottom_a,
ReferenceNode a,
bool  bottom_b,
ReferenceNode b 
)
inline

Definition at line 116 of file TimeRelationRefNode.h.

bool TimeRelationRefNode::is_bottom_node_a ( )
inline
bool TimeRelationRefNode::is_bottom_node_b ( )
inline

Definition at line 73 of file TimeRelationRefNode.h.

bool TimeRelationRefNode::is_top_node_a ( )
inline
bool TimeRelationRefNode::is_top_node_b ( )
inline

Definition at line 65 of file TimeRelationRefNode.h.

Member Data Documentation

ReferenceNode* TimeRelationRefNode::m_node
private

Definition at line 26 of file TimeRelationRefNode.h.

ReferenceNode* TimeRelationRefNode::m_node_origin
private

Definition at line 25 of file TimeRelationRefNode.h.


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