1 #ifndef GRAPH_ANALYSIS_TRANSACTION_OBSERVER_HPP__ 2 #define GRAPH_ANALYSIS_TRANSACTION_OBSERVER_HPP__ 5 #include <boost/pointer_cast.hpp> 6 #include <boost/shared_ptr.hpp> 59 typedef shared_ptr<TransactionObserver>
Ptr;
83 std::vector<ObserverEvent> mEvents;
85 int mTransactionLevel;
shared_ptr< BaseGraphObserver > Ptr
Definition: BaseGraphObserver.hpp:39
A transaction observer.
Definition: TransactionObserver.hpp:56
shared_ptr< Edge > Ptr
Definition: Edge.hpp:21
Definition: TransactionObserver.hpp:11
TransactionType
Transaction events These events are triggers for the notification system to allow transactions to be ...
Definition: BaseGraphObserver.hpp:27
ObserverEvent()
Definition: TransactionObserver.cpp:5
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
shared_ptr< Vertex > Ptr
Definition: Vertex.hpp:22
GraphElement::Ptr element
Definition: TransactionObserver.hpp:13
shared_ptr< TransactionObserver > Ptr
Definition: TransactionObserver.hpp:59
shared_ptr< GraphElement > Ptr
Definition: GraphElement.hpp:46
EventType event
Definition: TransactionObserver.hpp:15
Virtual interface class for observing a base graph.
Definition: BaseGraphObserver.hpp:36
bool match(const ObserverEvent &other) const
return true if a match is found between two events
Definition: TransactionObserver.cpp:12
GraphId origin
Definition: TransactionObserver.hpp:14
EventType
Types of events for the observer. Example: notify(vertex, EVENT_TYPE_ADDED, ...) is called whenever a...
Definition: BaseGraphObserver.hpp:15
uint32_t GraphId
Definition: GraphElement.hpp:22