Revision dff2f3b4
| client/cpp/include/MiddlewareROS.h | ||
|---|---|---|
| 55 | 55 | 
    exit(EXIT_FAILURE);  | 
| 56 | 56 | 
    }  | 
| 57 | 57 | 
     | 
| 58 | 
        void init(){};
   | 
|
| 59 | 
        void publish_default_emotion(RobotEmotion e, bool blocking){};
   | 
|
| 60 | 
        void publish_current_emotion(RobotEmotion e, bool blocking){};
   | 
|
| 61 | 
        void publish_gaze_target(RobotGaze g, bool blocking){};
   | 
|
| 62 | 
        void publish_mouth_target(RobotMouth m, bool blocking){};
   | 
|
| 63 | 
        void publish_head_animation(RobotHeadAnimation a, bool blocking) {};
   | 
|
| 64 | 
        void publish_speech(std::string text, bool blocking) {};
   | 
|
| 65 | 
     | 
|
| 66 | 
     | 
|
| 67 | 
     | 
|
| 58 | 68 | 
    #else  | 
| 59 | 69 | 
    public:  | 
| 60 | 70 | 
    MiddlewareROS(std::string scope);  | 
| client/cpp/include/MiddlewareRSB.h | ||
|---|---|---|
| 47 | 47 | 
    exit(EXIT_FAILURE);  | 
| 48 | 48 | 
    }  | 
| 49 | 49 | 
     | 
| 50 | 
        void init(){};
   | 
|
| 51 | 
        void publish_default_emotion(RobotEmotion e, bool blocking){};
   | 
|
| 52 | 
        void publish_current_emotion(RobotEmotion e, bool blocking){};
   | 
|
| 53 | 
        void publish_gaze_target(RobotGaze g, bool blocking){};
   | 
|
| 54 | 
        void publish_mouth_target(RobotMouth m, bool blocking){};
   | 
|
| 55 | 
        void publish_head_animation(RobotHeadAnimation a, bool blocking) {};
   | 
|
| 56 | 
        void publish_speech(std::string text, bool blocking) {};
   | 
|
| 57 | 
     | 
|
| 58 | 
     | 
|
| 50 | 59 | 
    #else  | 
| 51 | 60 | 
    public:  | 
| 52 | 61 | 
    MiddlewareRSB(std::string scope);  | 
Also available in: Unified diff