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

#include <dfs_instance_events_traverser.h>

Inheritance diagram for DFSInstanceEventsTraverser:
Inheritance graph
Collaboration diagram for DFSInstanceEventsTraverser:
Collaboration graph

Public Member Functions

 DFSInstanceEventsTraverser (const std::string &color="color")
 
void traverse (Instance *instance)
 
void traverse_matching_event (Event *event)
 
- Public Member Functions inherited from DFSEventsTraverser
 DFSEventsTraverser (const std::string &color="color")
 
virtual ~DFSEventsTraverser ()
 
virtual void traverse (BMscPtr bmsc)
 
void add_event_finished_listener (EventFinishedListener *l)
 
void add_white_event_found_listener (WhiteEventFoundListener *l)
 
void add_gray_event_found_listener (GrayEventFoundListener *l)
 
void add_black_event_found_listener (BlackEventFoundListener *l)
 
void add_event_successor_listener (EventSuccessorListener *l)
 
void add_send_receive_pair_listener (SendReceivePairListener *l)
 
void add_instance_finished_listener (InstanceFinishedListener *l)
 
virtual void cleanup_traversing_attributes ()
 
const MscElementPListget_reached_elements ()
 
void remove_white_event_found_listeners ()
 
void remove_gray_event_found_listeners ()
 
void remove_black_event_found_listeners ()
 
void remove_event_finished_listeners ()
 
void remove_event_successor_listeners ()
 
void remove_send_receive_pair_listeners ()
 
void remove_instance_finished_listeners ()
 
void remove_all_listeners ()
 

Static Public Member Functions

static EventPListPtr topology_order (Instance *i)
 
- Static Public Member Functions inherited from DFSEventsTraverser
static EventPListPtr topology_order (BMscPtr b)
 

Additional Inherited Members

- Protected Member Functions inherited from DFSEventsTraverser
virtual void traverse_area (EventArea *area, Event *predecessor=NULL)
 
virtual void traverse_event (Event *event)
 
bool is_processed (Event *event)
 
void white_event_found (Event *e)
 
void gray_event_found (Event *e)
 
void black_event_found (Event *e)
 
void event_finished (Event *e)
 
void event_successor (Event *event, Event *successor)
 
void send_receive_pair (MessageEvent *send, MessageEvent *receive)
 
void instance_finished (Instance *i)
 
void set_color (Event *e, NodeColor c)
 
NodeColor get_color (Event *e)
 
- Protected Attributes inherited from DFSEventsTraverser
MscElementPList m_reached_elements
 
EventPList m_colored_events
 
std::string m_color
 
EventFinishedListenerPList event_finished_listeners
 
WhiteEventFoundListenerPList white_event_found_listeners
 
GrayEventFoundListenerPList gray_event_found_listeners
 
BlackEventFoundListenerPList black_event_found_listeners
 
GrayEventFoundListenerPList grey_event_found_listeners
 
EventSuccessorListenerPList event_successor_listeners
 
SendReceivePairListenerPList send_receive_pair_listeners
 
InstanceFinishedListenerPList instance_finished_listeners
 

Detailed Description

Processes only Instances' Events during depth first search.

I.e. this traverser doesn't follow matching events during traversing.

Definition at line 29 of file dfs_instance_events_traverser.h.

Constructor & Destructor Documentation

DFSInstanceEventsTraverser::DFSInstanceEventsTraverser ( const std::string color = "color")
inline

Definition at line 34 of file dfs_instance_events_traverser.h.

Member Function Documentation

EventPListPtr DFSInstanceEventsTraverser::topology_order ( Instance i)
static
void DFSInstanceEventsTraverser::traverse ( Instance instance)
void DFSInstanceEventsTraverser::traverse_matching_event ( Event event)
inlinevirtual

Reimplemented from DFSEventsTraverser.

Definition at line 40 of file dfs_instance_events_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