AGXDynamics
2.31.1.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
StepEventDotGraphWriter.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2021. 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
}
agxSDK::StepEventListener
Derive from this class to implement a listener for simulation Step events.
Definition:
StepEventListener.h:40
agx::observer_ptr< PowerLine >
DotGraphWriter.h
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition:
Referenced.h:248
agx::TimeStamp
agx::Real TimeStamp
Definition:
TimeStamp.h:26
StepEventListener.h
agxPowerLine::StepEventDotGraphWriter
A StepEventListener that writes a power line.dot graph in the LAST event.
Definition:
StepEventDotGraphWriter.h:31
PowerLine.h
agx::ref_ptr< DotGraphWriter >
AGXMODEL_EXPORT
#define AGXMODEL_EXPORT
Definition:
agxModel/export.h:42
agxPowerLine::PowerLine
PowerLine is the base class for a system of power transfer integrated into the rigid body simulation...
Definition:
PowerLine.h:70
include
agxPowerLine
StepEventDotGraphWriter.h
Generated on Mon Mar 21 2022 11:53:04 for AGXDynamics by
1.8.5