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
DFSHMscFlatTraverser Class Reference

Traverse just top layer of HMSc, events: inner hmsc, bmsc found. More...

#include <dfs_hmsc_flat_traverser.h>

Inheritance diagram for DFSHMscFlatTraverser:
Inheritance graph
Collaboration diagram for DFSHMscFlatTraverser:
Collaboration graph

Public Member Functions

void add_inner_hmsc_listener (InnerHMscFoundListener *l)
 
void remove_inner_hmsc_listeners ()
 
void add_inner_bmsc_listener (InnerBMscFoundListener *l)
 
void remove_inner_bmsc_listeners ()
 
 DFSHMscFlatTraverser (const std::string &color_attribute="dfs_hmsc_flat_traverse_color")
 
- Public Member Functions inherited from DFSBMscGraphTraverser
 DFSBMscGraphTraverser (const std::string &color_attribute="msc_graph_traverse_color")
 
virtual ~DFSBMscGraphTraverser ()
 
virtual void traverse (HMscPtr hmsc)
 
virtual void traverse (HMscNode *node)
 
virtual void cleanup_traversing_attributes ()
 
const MscElementPListListget_reached_elements ()
 
- Public Member Functions inherited from DFSListenersContainer
void add_node_finished_listener (NodeFinishedListenerP l)
 
void remove_node_finished_listeners ()
 
void add_white_node_found_listener (WhiteNodeFoundListenerP l)
 
void remove_white_node_found_listeners ()
 
void add_gray_node_found_listener (GrayNodeFoundListenerP l)
 
void remove_gray_node_found_listeners ()
 
void add_black_node_found_listener (BlackNodeFoundListenerP l)
 
void remove_black_node_found_listeners ()
 
void remove_all_listeners ()
 
virtual ~DFSListenersContainer ()
 

Protected Member Functions

void inner_hmsc_found (HMscPtr hmsc, ReferenceNode *ref)
 
void inner_bmsc_found (BMscPtr bmsc, ReferenceNode *ref)
 
bool traverse_reference_node (ReferenceNode *ref)
 
- Protected Member Functions inherited from DFSBMscGraphTraverser
virtual void cleanup_top_attributes ()
 
virtual bool traverse_node (HMscNode *node)
 
virtual bool traverse_successors (PredecessorNode *predecessor)
 
virtual bool is_processed (HMscNode *node)
 
void set_color (HMscNode *n, NodeColor c)
 
NodeColorget_color (HMscNode *n)
 
virtual void push_top_attributes ()
 
virtual void white_node_found (HMscNode *n)
 
virtual void gray_node_found (HMscNode *n)
 
virtual void black_node_found (HMscNode *n)
 
virtual void node_finished (HMscNode *n)
 

Protected Attributes

InnerHMscFoundListenerPList m_inner_hmsc_listeners
 list of listeners More...
 
InnerBMscFoundListenerPList m_inner_bmsc_listeners
 
- Protected Attributes inherited from DFSBMscGraphTraverser
HMscNodePListList m_colored_nodes
 
MscElementPListList m_reached_elements
 
std::string m_color_attribute
 
- Protected Attributes inherited from DFSListenersContainer
NodeFinishedListenerPList m_node_finished_listeners
 
WhiteNodeFoundListenerPList m_white_node_found_listeners
 
GrayNodeFoundListenerPList m_gray_node_found_listeners
 
BlackNodeFoundListenerPList m_black_node_found_listeners
 
GrayNodeFoundListenerPList m_grey_node_found_listeners
 

Detailed Description

Traverse just top layer of HMSc, events: inner hmsc, bmsc found.

Definition at line 96 of file dfs_hmsc_flat_traverser.h.

Constructor & Destructor Documentation

DFSHMscFlatTraverser::DFSHMscFlatTraverser ( const std::string color_attribute = "dfs_hmsc_flat_traverse_color")
inline

Definition at line 114 of file dfs_hmsc_flat_traverser.h.

Member Function Documentation

void DFSHMscFlatTraverser::add_inner_bmsc_listener ( InnerBMscFoundListener l)
void DFSHMscFlatTraverser::add_inner_hmsc_listener ( InnerHMscFoundListener l)
void DFSHMscFlatTraverser::inner_bmsc_found ( BMscPtr  bmsc,
ReferenceNode ref 
)
protected

Definition at line 81 of file dfs_hmsc_flat_traverser.cpp.

References m_inner_bmsc_listeners.

Referenced by traverse_reference_node().

void DFSHMscFlatTraverser::inner_hmsc_found ( HMscPtr  hmsc,
ReferenceNode ref 
)
protected

Definition at line 74 of file dfs_hmsc_flat_traverser.cpp.

References m_inner_hmsc_listeners.

Referenced by traverse_reference_node().

void DFSHMscFlatTraverser::remove_inner_bmsc_listeners ( )

Definition at line 107 of file dfs_hmsc_flat_traverser.cpp.

References m_inner_bmsc_listeners.

void DFSHMscFlatTraverser::remove_inner_hmsc_listeners ( )

Definition at line 95 of file dfs_hmsc_flat_traverser.cpp.

References m_inner_hmsc_listeners.

bool DFSHMscFlatTraverser::traverse_reference_node ( ReferenceNode ref)
protectedvirtual

Member Data Documentation

InnerBMscFoundListenerPList DFSHMscFlatTraverser::m_inner_bmsc_listeners
protected
InnerHMscFoundListenerPList DFSHMscFlatTraverser::m_inner_hmsc_listeners
protected

list of listeners

Definition at line 100 of file dfs_hmsc_flat_traverser.h.

Referenced by add_inner_hmsc_listener(), inner_hmsc_found(), and remove_inner_hmsc_listeners().


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