20 #ifndef __SOT_Selector_H__
21 #define __SOT_Selector_H__
28 #include <dynamic-graph/entity.h>
29 #include <dynamic-graph/signal-ptr.h>
30 #include <dynamic-graph/signal-time-dependent.h>
31 #include <sot/core/matrix-geometry.hh>
41 #if defined(selector_EXPORTS)
42 #define Selector_EXPORT __declspec(dllexport)
44 #define Selector_EXPORT __declspec(dllimport)
47 #define Selector_EXPORT
59 DYNAMIC_GRAPH_ENTITY_DECL();
76 std::vector<std::vector<SignalBase<int> *> >
inputsSIN;
81 static T &computeSelection(
const unsigned int &sigNum,
82 std::vector<SignalBase<int> *> &entriesSIN, T &res,
86 unsigned int createSignal(
const std::string &shortname,
87 const int &sigId = -1);
89 void resetSignals(
const unsigned int &nbEntries,
90 const unsigned int &nbSignals);
93 void initCommands(
void);
94 virtual void commandLine(
const std::string &cmdLine,
95 std::istringstream &cmdArgs, std::ostream &os);
97 void create(
const std::string &name,
const std::string &type,
99 std::string getTypeList(
void);
100 void getTypeList(std::ostream &os);
106 #endif // #ifndef __SOT_Selector_H__