AGX Dynamics  2.37.3.2
ActionImplementationVisitor.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 
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 
29 namespace 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 
LinearProbingHashSetImplementation< KeyT, HashT >::iterator begin(LinearProbingHashSetImplementation< KeyT, HashT > &set)
This namespace contains general operation and action classes which can be used to control a agxSDK::S...
LinearProbingHashSetImplementation< KeyT, HashT >::iterator end(LinearProbingHashSetImplementation< KeyT, HashT > &set)
double Real
Definition: Real.h:42