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

#include <IncompleteMessage.h>

Inheritance diagram for IncompleteMessage:
Inheritance graph
Collaboration diagram for IncompleteMessage:
Collaboration graph

Public Member Functions

 IncompleteMessage (const IncompleteMsgType &type=LOST, const std::wstring &label=L"", const std::wstring &instance_label=L"", const MscPoint &dot_position=MscPoint())
 
 IncompleteMessage (IncompleteMessage *original)
 
const MscPointget_dot_position () const
 
void set_dot_position (const MscPoint &dot_position)
 
const std::wstring & get_instance_label () const
 
const IncompleteMsgTypeget_type () const
 
bool is_lost () const
 
bool is_found () const
 
void glue_event (const MessageEventPtr &event)
 
MessageEventget_event ()
 
virtual bool is_glued () const
 
- Public Member Functions inherited from MscMessage
 MscMessage (const std::wstring &label=L"")
 
 MscMessage (MscMessage *original)
 
const std::wstring & get_label () const
 
void set_label (const std::wstring &label)
 
- 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 ()
 

Protected Attributes

std::wstring m_instance_label
 
IncompleteMsgType m_type
 
MscPoint m_dot_position
 
MessageEventm_event
 
- 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...
 

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 ()
 

Detailed Description

Definition at line 22 of file IncompleteMessage.h.

Constructor & Destructor Documentation

IncompleteMessage::IncompleteMessage ( const IncompleteMsgType type = LOST,
const std::wstring &  label = L"",
const std::wstring &  instance_label = L"",
const MscPoint dot_position = MscPoint() 
)
inline

Definition at line 42 of file IncompleteMessage.h.

IncompleteMessage::IncompleteMessage ( IncompleteMessage original)

Definition at line 21 of file IncompleteMessage.cpp.

References m_dot_position, and m_type.

Member Function Documentation

const MscPoint& IncompleteMessage::get_dot_position ( ) const
inline

Definition at line 52 of file IncompleteMessage.h.

MessageEvent* IncompleteMessage::get_event ( )
inline

Definition at line 84 of file IncompleteMessage.h.

Referenced by get_proper_area(), and reconstruct_removed_message().

const std::wstring& IncompleteMessage::get_instance_label ( ) const
inline

Definition at line 62 of file IncompleteMessage.h.

const IncompleteMsgType& IncompleteMessage::get_type ( ) const
inline

Definition at line 67 of file IncompleteMessage.h.

void IncompleteMessage::glue_event ( const MessageEventPtr event)

Definition at line 27 of file IncompleteMessage.cpp.

References m_event, and MessageEvent::set_message().

Referenced by add_incomplete_message(), and check_collections_fun().

bool IncompleteMessage::is_found ( ) const
inline

Definition at line 77 of file IncompleteMessage.h.

References FOUND.

virtual bool IncompleteMessage::is_glued ( ) const
inlinevirtual

Determines if the message is correctly glued to events.

Implements MscMessage.

Definition at line 89 of file IncompleteMessage.h.

bool IncompleteMessage::is_lost ( ) const
inline

Definition at line 72 of file IncompleteMessage.h.

References LOST.

Referenced by MessageEvent::is_send().

void IncompleteMessage::set_dot_position ( const MscPoint dot_position)
inline

Definition at line 57 of file IncompleteMessage.h.

Referenced by CDrawingExtractor::extract_bmsc().

Member Data Documentation

MscPoint IncompleteMessage::m_dot_position
protected

Definition at line 31 of file IncompleteMessage.h.

Referenced by IncompleteMessage().

MessageEvent* IncompleteMessage::m_event
protected

Peer event.

Warning
boost::intrusive_ptr mustn't be used because of possible cyclic dependency

Definition at line 38 of file IncompleteMessage.h.

Referenced by glue_event().

std::wstring IncompleteMessage::m_instance_label
protected

Definition at line 27 of file IncompleteMessage.h.

IncompleteMsgType IncompleteMessage::m_type
protected

Definition at line 29 of file IncompleteMessage.h.

Referenced by IncompleteMessage().


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

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