AGX Dynamics
2.38.0.2
Loading...
Searching...
No Matches
TimePacket.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2024. 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
#pragma once
18
19
#include <
agxPlot/Packet.h
>
20
#include <
agx/Clock.h
>
21
22
namespace
agxPlot
23
{
24
class
TimePacket
:
public
Packet
25
{
26
public
:
27
TimePacket
(
agx::Clock
* clock);
28
29
agx::Real
getTime
()
const
;
30
31
protected
:
32
virtual
~TimePacket
();
33
34
private
:
35
agx::Real
m_time;
36
};
37
AGX_DECLARE_POINTER_TYPES
(
TimePacket
);
38
}
Clock.h
Packet.h
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition
Referenced.h:254
agxPlot::Packet
Definition
Packet.h:25
agxPlot::TimePacket
Definition
TimePacket.h:25
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 Sun Sep 1 2024 11:24:47 for AGX Dynamics by
1.9.8