|
AGXDynamics
2.31.1.0
|
Template specialization for non-const traversal. More...
#include <PowerLineTraverser.h>
Inheritance diagram for agxPowerLine::PowerLineTraverser:Public Types | |
| enum | TraversalMode |
| Enumeration that controls how the traversal should behave when encountering compound GraphNodes. More... | |
Public Member Functions | |
| bool | traverse (GraphNodeTypes typesToVisit, agxPowerLine::Unit * source, TraversalMode mode) |
| Start a traversal that visits the types specified by the given GraphNodeTypes. More... | |
| bool | traverseConnectors (agxPowerLine::Unit * source, TraversalMode mode) |
| Start a traversal that only visits Connectors. More... | |
| bool | traverseDimensions (agxPowerLine::Unit * source, TraversalMode mode) |
| Start a traversal that only visits PhysicalDimensions. More... | |
| bool | traverseUnits (agxPowerLine::Unit * source, TraversalMode mode) |
| Start a traversal that only visits Units. More... | |
Protected Member Functions | |
| virtual bool | shouldQueueChildren (agxPowerLine::Unit * unit) |
| virtual bool | shouldQueueChildren (agxPowerLine::PhysicalDimension * dimension) |
| virtual bool | shouldQueueChildren (agxPowerLine::Connector * connector) |
| virtual bool | visit (agxPowerLine::Unit * unit)=0 |
| Called when a Unit is encountered in the graph, if the GraphNodeTypes variable includes UNITS. More... | |
| virtual bool | visit (agxPowerLine::PhysicalDimension * dimension)=0 |
| Called when a PhysicalDimension is encountered in the graph, if the GraphNodeTypes variable includes DIMENSIONS. More... | |
| virtual bool | visit (agxPowerLine::Connector * connector)=0 |
| Called when a Connector is encountered in the graph, if the GraphNodeTypes variable includes CONNECTORS. More... | |
Template specialization for non-const traversal.
Definition at line 153 of file PowerLineTraverser.h.
|
inherited |
Enumeration that controls how the traversal should behave when encountering compound GraphNodes.
Definition at line 76 of file PowerLineTraverser.h.
|
protectedvirtualinherited |
Reimplemented in agxPowerLine::PowerLineCallbackTraverser.
Definition at line 334 of file PowerLineTraverserImpl.h.
|
protectedvirtualinherited |
Reimplemented in agxPowerLine::PowerLineCallbackTraverser.
Definition at line 340 of file PowerLineTraverserImpl.h.
|
protectedvirtualinherited |
Reimplemented in agxPowerLine::PowerLineCallbackTraverser.
Definition at line 346 of file PowerLineTraverserImpl.h.
|
inherited |
Start a traversal that visits the types specified by the given GraphNodeTypes.
Definition at line 284 of file PowerLineTraverserImpl.h.
|
inherited |
Start a traversal that only visits Connectors.
Definition at line 62 of file PowerLineTraverserImpl.h.
|
inherited |
Start a traversal that only visits PhysicalDimensions.
Definition at line 52 of file PowerLineTraverserImpl.h.
|
inherited |
Start a traversal that only visits Units.
Definition at line 42 of file PowerLineTraverserImpl.h.
|
protectedpure virtualinherited |
Called when a Unit is encountered in the graph, if the GraphNodeTypes variable includes UNITS.
Implemented in agxPowerLine::PowerLineCallbackTraverser, and agxPowerLine::PowerLineCollector.
|
protectedpure virtualinherited |
Called when a PhysicalDimension is encountered in the graph, if the GraphNodeTypes variable includes DIMENSIONS.
Implemented in agxPowerLine::PowerLineCallbackTraverser, and agxPowerLine::PowerLineCollector.
|
protectedpure virtualinherited |
Called when a Connector is encountered in the graph, if the GraphNodeTypes variable includes CONNECTORS.
Implemented in agxPowerLine::PowerLineCallbackTraverser, and agxPowerLine::PowerLineCollector.