AGXDynamics
2.35.0.2
TimePacket.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 having been
9
advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10
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
#ifndef AGXPLOT_TIMEPACKET_H
18
#define AGXPLOT_TIMEPACKET_H
19
20
#include <
agxPlot/Packet.h
>
21
#include <
agx/Clock.h
>
22
23
namespace
agxPlot
24
{
25
class
TimePacket
:
public
Packet
26
{
27
public
:
28
TimePacket
(
agx::Clock
* clock);
29
30
agx::Real
getTime
()
const
;
31
32
protected
:
33
virtual
~TimePacket
();
34
35
private
:
36
agx::Real
m_time;
37
};
38
AGX_DECLARE_POINTER_TYPES
(
TimePacket
);
39
}
40
41
#endif
agx::Real
double Real
Definition:
Real.h:42
agxPlot::TimePacket::TimePacket
TimePacket(agx::Clock *clock)
agxPlot
Namespace contains functionality related to plotting.
agxPlot::Packet
Definition:
Packet.h:24
Packet.h
agxPlot::TimePacket::getTime
agx::Real getTime() const
Clock.h
agxPlot::TimePacket::~TimePacket
virtual ~TimePacket()
agxPlot::TimePacket
Definition:
TimePacket.h:25
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition:
Referenced.h:248
agx::Clock
Clock class keeps representation of virtual/simulated time.
Definition:
Clock.h:37
include
agxPlot
TimePacket.h
Generated on Mon Jan 30 2023 15:44:21 for AGXDynamics by
1.8.17