Actin  Version 5.5.3
Software for Robotics Simulation and Control
ecXorDirectionCondition.h
Go to the documentation of this file.
1 #ifndef ecXorDirectionCondition_H_
2 #define ecXorDirectionCondition_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 
14 
17 {
19 
20 public:
22  virtual void registerComponents
23  (
24  ) EC_OVERRIDE;
25 
28  (
29  const EcManipulationDirector& director,
30  const EcString& role,
31  EcStringVector& failureReason
32  ) const EC_OVERRIDE;
33 
35  virtual EcBoolean test
36  (
37  const EcManipulationDirector& director,
39  const EcString& role,
40  const EcManipulationDirectorState& dstate
41  ) const EC_OVERRIDE;
42 
44  virtual EcString text
45  (
46  ) const EC_OVERRIDE;
47 
49  static EcXmlObject* creator
50  (
51  );
52 };
53 
54 #endif // ecXorDirectionCondition_H_
#define EC_OVERRIDE
Add wrapper around c++11 override keyword.
Definition: ecMacros.h:42
EcBoolean init(const EcManipulationDirector &director, const EcString &role, EcStringVector &failureReason) const EC_OVERRIDE
validates the condition and initialises the condition
virtual EcString text() const =0
return a text description of the condition
#define EC_CORE_DIRECTIONS_DECL
extendedDirections directory
Definition: actin_config.h:234
#define EC_XMLOBJECT_PLUGIN_DECLARE(cls)
Definition: ecMacros.h:443
virtual EcBoolean test(const EcManipulationDirector &director, const EcManipulationDirectorUpdateParams &params, const EcString &role, const EcManipulationDirectorState &dstate) const =0
test the condition
std::vector< EcString > EcStringVector
string organization using vectors
Definition: ecTypes.h:138
Concrete implementation of EcBinaryDirectionCondition for returning the logical XOR of two conditions...
A base class for xml objects.
Definition: ecXmlObject.h:23
bool EcBoolean
Boolean (0 or 1)
Definition: ecTypes.h:21
Abstract EcDirectionCondition for binary operations on two conditions.
std::basic_string< char > EcString
a character string
Definition: ecTypes.h:116
This class is a container for paremeters used for manipulation director updates.
virtual void registerComponents() EC_OVERRIDE
register components with the parent
Holds EcManipulationDirector state information.
Directs a cast to run a manipulation script.
Configuration header for the actin hierarchy.