AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agxPowerLine::PowerLineTraverser Class Reference

Template specialization for non-const traversal. More...

#include <PowerLineTraverser.h>

+ Inheritance diagram for agxPowerLine::PowerLineTraverser:

Additional Inherited Members

- Public Types inherited from agxPowerLine::AbstractPowerLineTraverser< agxPowerLine::Unit *, agxPowerLine::PhysicalDimension *, agxPowerLine::Connector *, agxPowerLine::SubGraph * >
enum  TraversalMode
 Enumeration that controls how the traversal should behave when encountering compound GraphNodes. More...
 
- Public Member Functions inherited from agxPowerLine::AbstractPowerLineTraverser< agxPowerLine::Unit *, agxPowerLine::PhysicalDimension *, agxPowerLine::Connector *, agxPowerLine::SubGraph * >
 AbstractPowerLineTraverser ()
 
bool traverse (GraphNodeTypes typesToVisit, agxPowerLine::Unit * source, TraversalMode mode)
 Start a traversal that visits the types specified by the given GraphNodeTypes.
 
bool traverse (GraphNodeTypes typesToVisit, PowerLine *source, TraversalMode mode)
 Start a traversal from all the units in the powerline that visits the types specified by the given GraphNodeTypes.
 
bool traverseConnectors (agxPowerLine::Unit * source, TraversalMode mode)
 Start a traversal that only visits Connectors.
 
bool traverseDimensions (agxPowerLine::Unit * source, TraversalMode mode)
 Start a traversal that only visits PhysicalDimensions.
 
bool traverseUnits (agxPowerLine::Unit * source, TraversalMode mode)
 Start a traversal that only visits Units.
 
- Protected Member Functions inherited from agxPowerLine::AbstractPowerLineTraverser< agxPowerLine::Unit *, agxPowerLine::PhysicalDimension *, agxPowerLine::Connector *, agxPowerLine::SubGraph * >
virtual ~AbstractPowerLineTraverser ()
 
virtual bool shouldQueueChildren (agxPowerLine::Connector * connector)
 
virtual bool shouldQueueChildren (agxPowerLine::PhysicalDimension * dimension)
 
virtual bool shouldQueueChildren (agxPowerLine::Unit * unit)
 
virtual bool visit (agxPowerLine::Connector * connector)=0
 Called when a Connector is encountered in the graph, if the GraphNodeTypes variable includes CONNECTORS.
 
virtual bool visit (agxPowerLine::PhysicalDimension * dimension)=0
 Called when a PhysicalDimension is encountered in the graph, if the GraphNodeTypes variable includes DIMENSIONS.
 
virtual bool visit (agxPowerLine::Unit * unit)=0
 Called when a Unit is encountered in the graph, if the GraphNodeTypes variable includes UNITS.
 

Detailed Description

Template specialization for non-const traversal.

Definition at line 156 of file PowerLineTraverser.h.


The documentation for this class was generated from the following file: