Path(3) record of connectors visited during dataflow


#include <Unidraw/path.h>


A Path object stores a record of connectors that have been visited during dataflow. Transfer functions, state variables, connectors, and other components can use the information in the path to determine whether data should be transmitted, for example, to avoid circular flow.


Path(Path* = nil)
Instantiate a new path, optionally with a duplicate of the information contained in the given path.
virtual void Visit(Connector*)
Register a connector as having been visited.
virtual boolean Visited(Connector*)
Return whether or not a connector has been registered previously with the path.