Actin  Version 5.5.5
Software for Robotics Simulation and Control
ecManipulationSceneDirectionDirectorObject.h
Go to the documentation of this file.
1 #ifndef ecManipulationSceneDirectionDirectorObject_H_
2 #define ecManipulationSceneDirectionDirectorObject_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"
15 
18 {
19 public:
22  (
23  );
24 
27  (
28  const EcManipulationSceneDirection& direction
29  );
30 
33  (
34  );
35 
38  (
40  );
41 
44  (
46  );
47 
49  EcBoolean operator==
50  (
52  ) const;
53 
55  virtual EcXmlObject* clone
56  (
57  ) const EC_OVERRIDE;
58 
60  virtual void registerComponents
61  (
62  ) EC_OVERRIDE;
63 
65  virtual EcBoolean equality
66  (
67  const EcXmlObject* other
68  ) const EC_OVERRIDE;
69 
71  virtual EcXmlObject* newObject
72  (
73  ) const EC_OVERRIDE;
74 
76  virtual const EcManipulationSceneDirectionContainer& manipulationSceneDirectionContainer
77  (
78  ) const;
79 
81  virtual void setManipulationSceneDirectionContainer
82  (
83  const EcManipulationSceneDirectionContainer& directionContainer
84  );
85 
87  virtual const EcToken& token
88  (
89  ) const EC_OVERRIDE;
90 
92  static const EcToken& classToken
93  (
94  );
95 
97  static EcXmlObject* creator
98  (
99  );
100 
101 
102  //---
103  // Implementation of EcDirectorObject interface
104  //---
105 
106 
107 
109  (
110  ) const EC_OVERRIDE;
111 
112  virtual const EcManipulationScene* scene
113  (
114  ) const EC_OVERRIDE;
115 
117  virtual const EcManipulationScript* script
118  (
119  ) const EC_OVERRIDE;
120 
122  virtual const EcPose* pose
123  (
124  ) const EC_OVERRIDE;
125 
126 
127 
128  virtual void acceptDodLibraryVisitor
129  (
130  EcDodObjectVisitor& visitor,
131  const EcString& objectName
132  ) EC_OVERRIDE;
133 
134  virtual void traverseDodLibraryVisitor
135  (
136  EcDodObjectVisitor& visitor,
137  const EcString& objectName
138  ) EC_OVERRIDE;
139 
140  virtual void acceptDodReaderVisitor
141  (
142  EcDodReaderVisitor& visitor,
143  const EcString& objectName
144  )const EC_OVERRIDE;
145 
146  virtual void traverseDodReaderVisitor
147  (
148  EcDodReaderVisitor& visitor,
149  const EcString& objectName
150  )const EC_OVERRIDE;
151 
153  virtual void setManipulationSceneDirection
154  (
155  const EcManipulationSceneDirection& direction
156  );
157 
158 protected:
161 };
162 
163 #endif // ecManipulationSceneDirectionDirectorObject_H_
virtual const EcToken & token() const =0
gets the xml token used for writing out.
Organizes manipulation scene directions for multiple manipulator roles.
Organizes multiple manipulation scenes.
Concrete implementation of EcDirectorObject that holds an EcManipulationSceneDirection object...
Virtual base class for manipulation scene directions.
#define EC_OVERRIDE
Add wrapper around c++11 override keyword.
Definition: ecMacros.h:40
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
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
EcManipulationSceneDirectionContainer m_DirectionContainer
the direction stored in this director object
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.