33 DotGraphWriter(
const char* rotRateUnit =
"rad/s",
const char* transRateUnit =
"m/s");
35 void registerUnit(
const char* dimensionName,
const char* unitName);
48 bool writeDimensionsGraph(
const agx::String& filename);
62 DimensionVector m_seenDimensions;
63 ConnectorVector m_seenConnectors;
69 DimensionToIndexTable m_dimensionToIndexTable;
70 ConnectorToIndexTable m_connectorToIndexTable;
#define AGX_DECLARE_POINTER_TYPES(type)
bool writeDimensionsGraph(const agx::String &filename, const PowerLine *powerline)
virtual ~DotGraphWriter()
bool writeDimensionsGraph(const agx::String &filename, const agxPowerLine::Unit *startUnit)
DotGraphWriter(const char *rotRateUnit="rad/s", const char *transRateUnit="m/s")
void registerUnit(const char *dimensionName, const char *unitName)
bool writeDimensionsGraph(const agx::String &filename, const UnitPtrPowerLinePtrHashVector &roots)
PowerLine is the base class for a system of power transfer integrated into the rigid body simulation.
This class is a combined container which has the find complexity of a HashTable, deterministic iterat...
Inheritance with partial specialization due to bug with ref_ptr containers.
Base class providing referencing counted objects.
agxPowerLine contains a collection of connected components that transport power across a system.