AGX Dynamics  2.35.0.1
StepEventDotGraphWriter.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or
9 having been advised so by Algoryx Simulation AB for a time limited evaluation,
10 or having purchased a valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #pragma once
18 
20 #include <agxPowerLine/PowerLine.h>
22 
23 namespace 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:248
#define AGXMODEL_EXPORT
PowerLine is the base class for a system of power transfer integrated into the rigid body simulation.
Definition: PowerLine.h:71
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