AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
ActionImplementationVisitor.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
19
20
21#ifndef AGXCONTROL_ACTION_IMPLEMENTATION_VISITOR_H
22#define AGXCONTROL_ACTION_IMPLEMENTATION_VISITOR_H
23
24
25#include <agx/config.h>
26
27#include <agx/Real.h>
28
29namespace agxControl
30{
31 class Action;
32 class ActionImplementation;
33 class CallbackActionImplementation;
34 template<typename T> class Callback1ActionImplementation;
35 template<typename R, typename T> class CallbackR1ActionImplementation;
36 template<typename T1, typename T2> class Callback2ActionImplementation;
37
38
39 class ActionImplementationVisitor
40 {
41 public:
42 virtual void update(agxControl::ActionImplementation* action, agx::Real time) = 0;
43 virtual void update(agxControl::CallbackActionImplementation* action, agx::Real time) = 0;
44 virtual void update(agxControl::Callback1ActionImplementation<agx::Real>* action, agx::Real time) = 0;
45 virtual void update(agxControl::CallbackR1ActionImplementation<void, agx::Real>* action, agx::Real time) = 0;
46 virtual void update(agxControl::Callback2ActionImplementation<agx::Real, agx::Int>* action, agx::Real time) = 0;
47
48
49 virtual void update(agxControl::ActionImplementation* begin, agxControl::ActionImplementation* end, agx::Real time) = 0;
50 virtual void update(agxControl::CallbackActionImplementation* begin, agxControl::CallbackActionImplementation* end, agx::Real time) = 0;
51 virtual void update(agxControl::Callback1ActionImplementation<agx::Real>* begin, agxControl::Callback1ActionImplementation<agx::Real>* end, agx::Real time) = 0;
52 virtual void update(agxControl::CallbackR1ActionImplementation<void, agx::Real>* begin, agxControl::CallbackR1ActionImplementation<void, agx::Real>* end, agx::Real time) = 0;
53 virtual void update(agxControl::Callback2ActionImplementation<agx::Real, agx::Int>* begin, agxControl::Callback2ActionImplementation<agx::Real, agx::Int>* end, agx::Real time) = 0;
54 };
55}
56
57
58// Include guard.
59#endif
60
61
This namespace contains general operation and action classes which can be used to control a agxSDK::S...
double Real
Definition Real.h:42