AGX Dynamics
2.35.0.1
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
Clock.h
Packet.h
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition:
Referenced.h:248
agxPlot::Packet
Definition:
Packet.h:25
agxPlot::TimePacket
Definition:
TimePacket.h:26
agxPlot::TimePacket::~TimePacket
virtual ~TimePacket()
agxPlot::TimePacket::TimePacket
TimePacket(agx::Clock *clock)
agxPlot::TimePacket::getTime
agx::Real getTime() const
agx::Clock
Clock class keeps representation of virtual/simulated time.
Definition:
Clock.h:38
agxPlot
Namespace contains functionality related to plotting.
agx::Real
double Real
Definition:
Real.h:42
include
agxPlot
TimePacket.h
Generated on Fri Jan 20 2023 10:48:20 for AGX Dynamics by
1.9.1