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

#include <dfs_bmsc_graph_traverser.h>

Inheritance diagram for DFSListenersContainer:
Inheritance graph
Collaboration diagram for DFSListenersContainer:
Collaboration graph

Public Member Functions

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

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

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 202 of file dfs_bmsc_graph_traverser.h.

Constructor & Destructor Documentation

DFSListenersContainer::~DFSListenersContainer ( )
virtual

Definition at line 51 of file dfs_bmsc_graph_traverser.cpp.

Member Function Documentation

void DFSListenersContainer::add_black_node_found_listener ( BlackNodeFoundListenerP  l)
inline
void DFSListenersContainer::add_gray_node_found_listener ( GrayNodeFoundListenerP  l)
inline
void DFSListenersContainer::add_node_finished_listener ( NodeFinishedListenerP  l)
inline
void DFSListenersContainer::add_white_node_found_listener ( WhiteNodeFoundListenerP  l)
inline
void DFSListenersContainer::black_node_found ( HMscNode n)
protectedvirtual
void DFSListenersContainer::gray_node_found ( HMscNode n)
protectedvirtual
void DFSListenersContainer::node_finished ( HMscNode n)
protectedvirtual

Called when all successors of e are processed.

Reimplemented in DFSBMscGraphTraverser, and DFSBHMscTraverser.

Definition at line 44 of file dfs_bmsc_graph_traverser.cpp.

References m_node_finished_listeners.

Referenced by DFSBHMscTraverser::node_finished(), and DFSBMscGraphTraverser::node_finished().

void DFSListenersContainer::remove_all_listeners ( )
inline
void DFSListenersContainer::remove_black_node_found_listeners ( )
inline

Definition at line 255 of file dfs_bmsc_graph_traverser.h.

void DFSListenersContainer::remove_gray_node_found_listeners ( )
inline

Definition at line 241 of file dfs_bmsc_graph_traverser.h.

void DFSListenersContainer::remove_node_finished_listeners ( )
inline

Definition at line 213 of file dfs_bmsc_graph_traverser.h.

void DFSListenersContainer::remove_white_node_found_listeners ( )
inline

Definition at line 227 of file dfs_bmsc_graph_traverser.h.

Referenced by NodeFinder::find_node().

void DFSListenersContainer::white_node_found ( HMscNode n)
protectedvirtual

Member Data Documentation

BlackNodeFoundListenerPList DFSListenersContainer::m_black_node_found_listeners
protected

Holds listeners

Definition at line 291 of file dfs_bmsc_graph_traverser.h.

Referenced by black_node_found().

GrayNodeFoundListenerPList DFSListenersContainer::m_gray_node_found_listeners
protected

Holds listeners

Definition at line 286 of file dfs_bmsc_graph_traverser.h.

Referenced by gray_node_found().

GrayNodeFoundListenerPList DFSListenersContainer::m_grey_node_found_listeners
protected

Holds listeners

Definition at line 296 of file dfs_bmsc_graph_traverser.h.

NodeFinishedListenerPList DFSListenersContainer::m_node_finished_listeners
protected

Holds listeners

Definition at line 276 of file dfs_bmsc_graph_traverser.h.

Referenced by node_finished().

WhiteNodeFoundListenerPList DFSListenersContainer::m_white_node_found_listeners
protected

Holds listeners

Definition at line 281 of file dfs_bmsc_graph_traverser.h.

Referenced by white_node_found().


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