iCub-main
iCubSkin.h
Go to the documentation of this file.
1 
31 #ifndef __ICUBSKIN_H__
32 #define __ICUBSKIN_H__
33 
35 
36 #include <vector>
37 
38 namespace iCub
39 {
40 namespace skinDynLib
41 {
42 
50 class iCubSkin
51 {
52  protected:
53  std::vector<skinPart> skin;
54 
55  public:
59  iCubSkin();
60 
66  iCubSkin(const std::string &_from);
67 
73  iCubSkin(const std::string &_from, const std::string &_context);
74 
81  bool configureSkinFromFile(const std::string &_from="skinManAll.ini",
82  const std::string &_context="skinGui");
83 
87  void print(int verbosity=0);
88 };
89 
90 }
91 
92 }//end namespace
93 
94 #endif
95 
96 // empty line to make gcc happy
97 
iCub::skinDynLib::iCubSkin::print
void print(int verbosity=0)
Print Method.
Definition: iCubSkin.cpp:91
iCub
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.
Definition: emotionInterface.h:17
iCub::skinDynLib::iCubSkin::iCubSkin
iCubSkin()
Default constructor.
Definition: iCubSkin.cpp:8
iCub::skinDynLib::iCubSkin
Definition: iCubSkin.h:50
iCub::skinDynLib::iCubSkin::skin
std::vector< skinPart > skin
Definition: iCubSkin.h:53
verbosity
int verbosity
Definition: main.cpp:21
iCub::skinDynLib::iCubSkin::configureSkinFromFile
bool configureSkinFromFile(const std::string &_from="skinManAll.ini", const std::string &_context="skinGui")
Configures the class with an .ini file.
Definition: iCubSkin.cpp:23
string
string(REPLACE "-rdynamic" "" CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "${CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS}") include_directories($
Definition: CMakeLists.txt:9
skinPart.h