AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
StepEventDotGraphWriter.h
Go to the documentation of this file.
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or
9having been advised so by Algoryx Simulation AB for a time limited evaluation,
10or having purchased a valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#pragma once
18
22
23namespace agxPowerLine
24{
26
32 {
33 public:
38
48 void registerUnit(const char* dimensionName, const char* unitName);
49
50 virtual void last(const agx::TimeStamp&) override;
51
52 private:
55 };
56}
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
#define AGXMODEL_EXPORT
PowerLine is the base class for a system of power transfer integrated into the rigid body simulation.
Definition: PowerLine.h:66
A StepEventListener that writes a power line.dot graph in the LAST event.
StepEventDotGraphWriter(agxPowerLine::PowerLine *powerline)
virtual void last(const agx::TimeStamp &) override
Called after a step is taken in the simulation Implement this method in the derived class to get call...
void registerUnit(const char *dimensionName, const char *unitName)
Register a unit string to be displayed when the gradient of physical dimensions of the given dimensio...
Derive from this class to implement a listener for simulation step events.
agxPowerLine contains a collection of connected components that transport power across a system.
Definition: MotorUnit.h:24
agx::Real TimeStamp
Definition: TimeStamp.h:26