sot-core  4.11.6
Hierarchical task solver plug-in for dynamic-graph.
feature-task.hh
Go to the documentation of this file.
1 /*
2  * Copyright 2010,
3  * François Bleibel,
4  * Olivier Stasse,
5  *
6  * CNRS/AIST
7  *
8  */
9 
10 #ifndef __SOT_FEATURE_TASK_HH__
11 #define __SOT_FEATURE_TASK_HH__
12 
13 /* --------------------------------------------------------------------- */
14 /* --- INCLUDE --------------------------------------------------------- */
15 /* --------------------------------------------------------------------- */
16 
17 /* SOT */
21 
22 /* --------------------------------------------------------------------- */
23 /* --- API ------------------------------------------------------------- */
24 /* --------------------------------------------------------------------- */
25 
26 #if defined(WIN32)
27 #if defined(feature_task_EXPORTS)
28 #define SOTFEATURETASK_EXPORT __declspec(dllexport)
29 #else
30 #define SOTFEATURETASK_EXPORT __declspec(dllimport)
31 #endif
32 #else
33 #define SOTFEATURETASK_EXPORT
34 #endif
35 
36 /* --------------------------------------------------------------------- */
37 /* --- CLASS ----------------------------------------------------------- */
38 /* --------------------------------------------------------------------- */
39 
40 namespace dynamicgraph {
41 namespace sot {
42 
44 
45 public:
47  static const std::string CLASS_NAME;
49  virtual const std::string &getClassName(void) const { return CLASS_NAME; }
50 
51 protected:
53 
54  /* --- SIGNALS ------------------------------------------------------------ */
55 public:
56 public:
58  FeatureTask(const std::string &name);
59 
61  virtual ~FeatureTask(void) {}
62 
64  virtual void display(std::ostream &os) const;
65 };
66 
67 } /* namespace sot */
68 } /* namespace dynamicgraph */
69 
70 #endif // #ifndef __SOT_FEATURE_TASK_HH__
71 
72 /*
73  * Local variables:
74  * c-basic-offset: 2
75  * End:
76  */
dynamicgraph::sot::FeatureTask::getClassName
virtual const std::string & getClassName(void) const
Definition: feature-task.hh:49
dynamicgraph
Definition: abstract-sot-external-interface.hh:17
dynamicgraph::sot::FeatureGeneric
Class that defines a generic implementation of the abstract interface for features.
Definition: feature-generic.hh:56
dynamicgraph::sot::FeatureTask::taskPtr
TaskAbstract * taskPtr
Definition: feature-task.hh:52
dynamicgraph::sot::TaskAbstract
Definition: task-abstract.hh:48
SOTFEATURETASK_EXPORT
#define SOTFEATURETASK_EXPORT
Definition: feature-task.hh:33
dynamicgraph::sot::FeatureTask::CLASS_NAME
static const std::string CLASS_NAME
Definition: feature-task.hh:47
feature-generic.hh
exception-task.hh
dynamicgraph::sot::FeatureTask
Definition: feature-task.hh:43
task-abstract.hh
dynamicgraph::sot::FeatureTask::~FeatureTask
virtual ~FeatureTask(void)
Default destructor.
Definition: feature-task.hh:61