iCub-main
FeatureInterface_hid.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 iCub Facility, Istituto Italiano di Tecnologia
3  * Authors: Alberto Cardellino
4  * CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT
5  *
6  */
7 
8 #ifndef FEATUREINTERFACE_HID_H_
9 #define FEATUREINTERFACE_HID_H_
10 
11 #include <ace/ACE.h>
12 #include <yarp/sig/Vector.h>
13 #include "FeatureInterface.h"
14 #include "embObjMotionControl.h"
15 
16 using namespace yarp::sig;
17 
18 
19 
21 {
22  public:
23  virtual ~IiCubFeature() {};
24 // virtual void setId(FEAT_ID &id) { };
25 // None of the following is a "MUST" because each module need just one of them
26  virtual bool fillData(void *data, eOnvID32_t id32 ) =0; //skin data
27 // virtual bool fill_AS_data(void *as_array) =0; // analogSensor data
28 };
29 
30 #endif /* FEATUREINTERFACE_HID_H_ */
31 
@ data
virtual ~IiCubFeature()
virtual bool fillData(void *data, eOnvID32_t id32)=0