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

#include <dfs_inner_hmsc_traverser.h>

Inheritance diagram for DFSInnerHMscTraverser:
Inheritance graph
Collaboration diagram for DFSInnerHMscTraverser:
Collaboration graph

Public Member Functions

void add_inner_hmsc_listener (InnerHMscListenerP l)
 
void remove_inner_hmsc_listeners ()
 
 DFSInnerHMscTraverser (const std::string &color_attribute="dfs_inner_hmsc_traverse_color", const std::string &visited_attribute="dfs_inner_hmsc_traverse_visited")
 
bool get_visited (InnerNode *n)
 
void set_visited (InnerNode *n)
 
- 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

bool traverse_node (InnerNode *node)
 
void inner_hmsc_found (ReferenceNode *refNode)
 
void inner_hmsc_finished (ReferenceNode *refNode)
 
InnerNodePSet ref_successors (InnerNode *node)
 
- 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)
 
virtual bool traverse_reference_node (ReferenceNode *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

InnerHMscListenerPList m_inner_hmsc_listeners
 
std::string m_visited
 
- 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

Definition at line 51 of file dfs_inner_hmsc_traverser.h.

Constructor & Destructor Documentation

DFSInnerHMscTraverser::DFSInnerHMscTraverser ( const std::string color_attribute = "dfs_inner_hmsc_traverse_color",
const std::string visited_attribute = "dfs_inner_hmsc_traverse_visited" 
)
inline

Definition at line 75 of file dfs_inner_hmsc_traverser.h.

Member Function Documentation

void DFSInnerHMscTraverser::add_inner_hmsc_listener ( InnerHMscListenerP  l)
inline

Definition at line 64 of file dfs_inner_hmsc_traverser.h.

bool DFSInnerHMscTraverser::get_visited ( InnerNode *  n)
inline

Definition at line 82 of file dfs_inner_hmsc_traverser.h.

void DFSInnerHMscTraverser::inner_hmsc_finished ( ReferenceNode refNode)
protected

Referenced by traverse_node().

void DFSInnerHMscTraverser::inner_hmsc_found ( ReferenceNode refNode)
protected

Referenced by traverse_node().

InnerNodePSet DFSInnerHMscTraverser::ref_successors ( InnerNode *  node)
protected
void DFSInnerHMscTraverser::remove_inner_hmsc_listeners ( )
inline

Definition at line 69 of file dfs_inner_hmsc_traverser.h.

void DFSInnerHMscTraverser::set_visited ( InnerNode *  n)
inline

Definition at line 86 of file dfs_inner_hmsc_traverser.h.

bool DFSInnerHMscTraverser::traverse_node ( InnerNode *  node)
protected

Member Data Documentation

InnerHMscListenerPList DFSInnerHMscTraverser::m_inner_hmsc_listeners
protected

Definition at line 55 of file dfs_inner_hmsc_traverser.h.

std::string DFSInnerHMscTraverser::m_visited
protected

Definition at line 61 of file dfs_inner_hmsc_traverser.h.


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