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