Actin  Version 5.5.5
Software for Robotics Simulation and Control
ecPoseDirectorObject.h
Go to the documentation of this file.
1 #ifndef ecPoseDirectorObject_H_
2 #define ecPoseDirectorObject_H_
3 //------------------------------------------------------------------------------
4 // Copyright (c) 2002-2013 Energid Technologies. All rights reserved.
5 //
9 //
10 //------------------------------------------------------------------------------
11 #include <actin/actin_config.h> // Required to be first header.
12 
13 #include "ecDirectorObject.h"
14 #include "ecPose.h"
15 
18 {
19 public:
22  (
23  );
24 
26  virtual ~EcPoseDirectorObject
27  (
28  );
29 
32  (
33  const EcPoseDirectorObject& orig
34  );
35 
37  EcPoseDirectorObject& operator=
38  (
39  const EcPoseDirectorObject& orig
40  );
41 
43  EcBoolean operator==
44  (
45  const EcPoseDirectorObject& orig
46  ) const;
47 
49  virtual EcXmlObject* clone
50  (
51  ) const EC_OVERRIDE;
52 
54  virtual void registerComponents
55  (
56  ) EC_OVERRIDE;
57 
59  virtual EcBoolean equality
60  (
61  const EcXmlObject* other
62  ) const EC_OVERRIDE;
63 
65  virtual EcXmlObject* newObject
66  (
67  ) const EC_OVERRIDE;
68 
70  virtual const EcPose& manipulationPose
71  (
72  ) const;
73 
75  virtual void setPose
76  (
77  const EcPose& pose
78  );
79 
81  virtual const EcToken& token
82  (
83  ) const EC_OVERRIDE;
84 
86  static const EcToken& classToken
87  (
88  );
89 
91  static EcXmlObject* creator
92  (
93  );
94 
95  //---
96  // Implementation of EcDirectorObject interface
97  //---
98 
99 
100 
102  (
103  ) const EC_OVERRIDE;
104 
105  virtual const EcManipulationScene* scene
106  (
107  ) const EC_OVERRIDE;
108 
110  virtual const EcManipulationScript* script
111  (
112  ) const EC_OVERRIDE;
113 
115  virtual const EcPose* pose
116  (
117  ) const EC_OVERRIDE;
118 
119 
120  virtual void acceptDodLibraryVisitor
121  (
122  EcDodObjectVisitor& visitor,
123  const EcString& objectName
124  ) EC_OVERRIDE;
125 
126  virtual void traverseDodLibraryVisitor
127  (
128  EcDodObjectVisitor& visitor,
129  const EcString& objectName
130  ) EC_OVERRIDE;
131 
132 
133  virtual void acceptDodReaderVisitor
134  (
135  EcDodReaderVisitor& visitor,
136  const EcString& objectName
137  )const EC_OVERRIDE;
138 
139  virtual void traverseDodReaderVisitor
140  (
141  EcDodReaderVisitor& visitor,
142  const EcString& objectName
143  )const EC_OVERRIDE;
144 
145  virtual void acceptDirectorVisitor
146  (
149  ) EC_OVERRIDE;
150 
151  virtual void traverseDirectorVisitor
152  (
155  ) EC_OVERRIDE;
156 
157 protected:
160 };
161 
162 
163 #endif // ecPoseDirectorObject_H_
virtual const EcToken & token() const =0
gets the xml token used for writing out.
Concrete implementation of EcDirectorObject that holds an EcPose object.
Organizes manipulation scene directions for multiple manipulator roles.
Organizes multiple manipulation scenes.
#define EC_OVERRIDE
Add wrapper around c++11 override keyword.
Definition: ecMacros.h:40
Holds EcManipulationScene state information.
EcPose m_Pose
the pose stored in this director object
virtual const EcPose * pose() const =0
returns a pointer to EcPose if this object contains a pose
virtual const EcManipulationScript * script() const =0
returns a pointer to EcManipulationScript if this object contains a script
An EcString-like class that holds a tag and a namespace.
Definition: ecToken.h:41
virtual const EcManipulationScene * scene() const =0
returns a pointer to EcManipulationScene if this object contains a scene
virtual const EcManipulationSceneDirectionContainer * directionContainer() const =0
returns a pointer to EcManipulationSceneDirectionContainer if this object contains a direction ...
A base class for xml objects.
Definition: ecXmlObject.h:23
#define EC_ACTIN_MANIPULATIONDIRECTOR_DECL
manipulationDirector directory
Definition: actin_config.h:212
Virtual base class for defining visitor algorithms for manipulationDirector objects.
Container for manipulation scene directions.
virtual void registerComponents() EC_OVERRIDE
registers components for class
Virtual base class for defining visitor algorithms for manipulationAction objects.
virtual EcXmlObject * clone() const =0
clone
bool EcBoolean
Boolean (0 or 1)
Definition: ecTypes.h:21
Virtual base class for defining visitor algorithms for manipulationAction objects.
virtual EcBoolean equality(const EcXmlObject *other) const =0
equality - a virtual equality to an EcXmlObject pointer
virtual EcXmlObject * newObject() const =0
creates new object - a virtual new to an EcXmlObject pointer
std::basic_string< char > EcString
a character string
Definition: ecTypes.h:116
The EcPose class EcPose is used to specified a 3D location (position and orientation) in space...
Definition: ecPose.h:30
Virtual base class for manipulation director objects.
Configuration header for the actin hierarchy.