AGXDynamics
2.35.0.3
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
19
#include <
agxSDK/StepEventListener.h
>
20
#include <
agxPowerLine/PowerLine.h
>
21
#include <
agxPowerLine/DotGraphWriter.h
>
22
23
namespace
agxPowerLine
24
{
25
AGX_DECLARE_POINTER_TYPES
(
StepEventDotGraphWriter
);
26
31
class
AGXMODEL_EXPORT
StepEventDotGraphWriter
:
public
agxSDK::StepEventListener
32
{
33
public
:
37
StepEventDotGraphWriter
(
agxPowerLine::PowerLine
* powerline);
38
48
void
registerUnit(
const
char
* dimensionName,
const
char
* unitName);
49
50
virtual
void
last(
const
agx::TimeStamp
&)
override
;
51
52
private
:
53
agxPowerLine::PowerLineObsPtr
m_powerline;
54
agxPowerLine::DotGraphWriterRef
m_writer;
55
};
56
}
PowerLine.h
agxSDK::StepEventListener
Derive from this class to implement a listener for simulation step events.
Definition:
StepEventListener.h:37
DotGraphWriter.h
StepEventListener.h
agx::observer_ptr< PowerLine >
agx::ref_ptr< DotGraphWriter >
agxPowerLine::StepEventDotGraphWriter
A StepEventListener that writes a power line.dot graph in the LAST event.
Definition:
StepEventDotGraphWriter.h:31
agxPowerLine::PowerLine
PowerLine is the base class for a system of power transfer integrated into the rigid body simulation.
Definition:
PowerLine.h:70
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition:
Referenced.h:248
agxPowerLine
agxPowerLine contains a collection of connected components that transport power across a system.
Definition:
MotorUnit.h:23
agx::TimeStamp
agx::Real TimeStamp
Definition:
TimeStamp.h:26
AGXMODEL_EXPORT
#define AGXMODEL_EXPORT
Definition:
agxModel/export.h:42
include
agxPowerLine
StepEventDotGraphWriter.h
Generated on Fri Feb 10 2023 14:06:18 for AGXDynamics by
1.8.17