AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
Output.h
Go to the documentation of this file.
1/*
2Copyright 2007-2024. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#pragma once
18
19#include <agxPlot/Queue.h>
20#include <agxPlot/DataPacket.h>
22#include <agxPlot/TimePacket.h>
23
24namespace agxPlot
25{
26 class System;
30
35 {
36 public:
38
41
42 virtual void handlePacket(DataPacket *packet) = 0;
43
83 virtual void handlePacket(DescriptionPacket *packet) = 0;
84 virtual void handlePacket(TimePacket* packet) = 0;
85 virtual void closeOutput() = 0;
86
87 virtual bool isReady() { return true; };
88
89 protected:
90 virtual ~Output();
91
92 private:
93 friend class System;
98 void setSystem(System *system);
99
100 void update();
101
102
103 protected:
106 };
107}
#define AGX_DECLARE_POINTER_TYPES(type)
Definition Referenced.h:254
#define AGXPHYSICS_EXPORT
#define AGX_DECLARE_VECTOR_TYPES(type)
Definition agx/Vector.h:34
Package of points for a specified curve.
Definition DataPacket.h:56
Class that describes a package with plot data.
THis class wraps the description of data that should be plotted.
Definition Output.h:35
virtual void handlePacket(DataPacket *packet)=0
virtual bool isReady()
Definition Output.h:87
QueueRef m_queue
Definition Output.h:105
virtual void handlePacket(TimePacket *packet)=0
System * m_system
Definition Output.h:104
virtual void closeOutput()=0
agxPlot::System * getSystem()
agxPlot::Queue * getQueue()
virtual void handlePacket(DescriptionPacket *packet)=0
The description is as follows:
virtual ~Output()
System that manages the plotting system.
Definition System.h:39
Base class providing referencing counted objects.
Definition Referenced.h:120
Namespace contains functionality related to plotting.