30 #endif // GUM_NOINLINE Abstract Base class for all diGraph Listener.
DiGraphListener(const DiGraph *g)
default constructor
virtual void whenArcAdded(const void *src, NodeId from, NodeId to)=0
the action to take when a new arc is inserted into the graph
virtual void whenNodeDeleted(const void *src, NodeId id)=0
the action to take when a node has just been removed from the graph
gum is the global namespace for all aGrUM entities
Base classes for oriented graph listeners.
Base class for all oriented graphs.
DiGraphListener & operator=(const DiGraphListener &d)
copy operator (for the moment, this operation is forbidden)
#define GUM_CONNECT(sender, signal, receiver, target)
Inline implementation fo base classes for oriented graphs listener.
~DiGraphListener()
destructor
virtual void whenNodeAdded(const void *src, NodeId id)=0
the action to take when a new node is inserted into the graph
DiGraph * _graph
the graph to listen to
virtual void whenArcDeleted(const void *src, NodeId from, NodeId to)=0
the action to take when an arc has just been removed from the graph
#define GUM_ERROR(type, msg)