AGX Dynamics  2.35.0.1
OctaveDumper.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, is 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 AGX_OCTAVE_DUMPER_H
18 #define AGX_OCTAVE_DUMPER_H
19 
20 
21 #include <agx/Task.h>
22 #include <agx/TaskTemplate.h>
23 #include <agx/IndexRange.h>
24 #include <agx/Parameter.h>
25 #include <agx/Vector.h>
26 #include <agxIO/Events.h>
27 #include <agx/Bound.h>
28 #include <agx/String.h>
29 
30 namespace agx
31 {
32  class OctaveDumper : public SerialTask
33  {
34  public:
35 
36  OctaveDumper(Device* device) : SerialTask("OctaveDumper", device) {}
37  virtual void run() { agxAbort1("TODO"); }
38 
39  #if 0
40  OctaveDumper(Device* device);
41  virtual ~OctaveDumper();
42  virtual void run();
43 
44  private:
45  Val<agx::Bound1u> m_rangeParameter;
46  Val<agx::Bool> m_shouldPrintParameter;
47  agx::Bound1u m_range;
48  size_t m_rangeLength;
49  size_t m_fileSuffix;
50 
51  void writeArguments();
52  void writeArgument(AbstractArgument* argument);
53  #endif
54  };
55 }
56 
57 #endif
58 
An agx::Device is an abstract representation of a device on which data can be stored and processed.
Definition: Device.h:58
virtual void run()
Execution callback.
Definition: OctaveDumper.h:37
OctaveDumper(Device *device)
Definition: OctaveDumper.h:36
SerialTask.
Definition: Task.h:470
#define agxAbort1(msg)
Definition: debug.h:165
The agx namespace contains the dynamics/math part of the AGX Dynamics API.