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
MscMessage Class Referenceabstract

Message sent by Instances. More...

#include <MscMessage.h>

Inheritance diagram for MscMessage:
Inheritance graph
Collaboration diagram for MscMessage:
Collaboration graph

Public Member Functions

 MscMessage (const std::wstring &label=L"")
 
 MscMessage (MscMessage *original)
 
const std::wstring & get_label () const
 
void set_label (const std::wstring &label)
 
virtual bool is_glued () const =0
 
- Public Member Functions inherited from MscElementTmpl< MscMessage >
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...
 
MscMessageget_original () const
 
void set_original (MscMessage *e)
 
void set_original (boost::intrusive_ptr< MscMessage > &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

std::wstring m_label
 

Additional Inherited Members

- Protected Member Functions inherited from MscElementTmpl< MscMessage >
 MscElementTmpl ()
 
 MscElementTmpl (MscMessage *original)
 Creates MscElement referencing the original one. More...
 
- Protected Member Functions inherited from MscElement
 MscElement ()
 
- Protected Attributes inherited from MscElementTmpl< MscMessage >
int m_visual_style
 Visual style of the shape. More...
 
boost::intrusive_ptr< MscMessagem_original
 Pointer to original version of MscElement. More...
 

Detailed Description

Message sent by Instances.

Definition at line 25 of file MscMessage.h.

Constructor & Destructor Documentation

MscMessage::MscMessage ( const std::wstring &  label = L"")
inline
Parameters
sender- sending instance
receiver- receiving instance
label- label of message

Definition at line 39 of file MscMessage.h.

MscMessage::MscMessage ( MscMessage original)
inline

Definition at line 43 of file MscMessage.h.

References get_label().

Member Function Documentation

const std::wstring& MscMessage::get_label ( ) const
inline

Definition at line 49 of file MscMessage.h.

Referenced by MscMessage().

virtual bool MscMessage::is_glued ( ) const
pure virtual

Determines if the message is correctly glued to events.

Implemented in CompleteMessage, and IncompleteMessage.

void MscMessage::set_label ( const std::wstring &  label)
inline

Definition at line 54 of file MscMessage.h.

Member Data Documentation

std::wstring MscMessage::m_label
private

Label of message.

Definition at line 30 of file MscMessage.h.


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

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