forked from s-nakaoka/openhrp-plugin
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathOpenHRPInterpreterServiceItem.h
42 lines (31 loc) · 1.15 KB
/
OpenHRPInterpreterServiceItem.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
@author Shin'ichiro Nakaoka
*/
#ifndef CNOID_OPENHRP_PLUGIN_INTERPRETER_SERVICE_ITEM_H
#define CNOID_OPENHRP_PLUGIN_INTERPRETER_SERVICE_ITEM_H
#include <cnoid/Item>
#include "exportdecl.h"
namespace cnoid {
class OpenHRPInterpreterServiceItemImpl;
class CNOID_EXPORT OpenHRPInterpreterServiceItem : public Item
{
public:
static void initializeClass(ExtensionManager* ext);
OpenHRPInterpreterServiceItem();
OpenHRPInterpreterServiceItem(const OpenHRPInterpreterServiceItem& org);
virtual ~OpenHRPInterpreterServiceItem();
void setRTCInstanceName(const std::string& name);
protected:
virtual Item* doDuplicate() const override;
virtual void onConnectedToRoot() override;
virtual void onPositionChanged() override;
virtual void onDisconnectedFromRoot() override;
virtual void doPutProperties(PutPropertyFunction& putProperty) override;
virtual bool store(Archive& archive) override;
virtual bool restore(const Archive& archive) override;
private:
OpenHRPInterpreterServiceItemImpl* impl;
};
typedef ref_ptr<OpenHRPInterpreterServiceItem> OpenHRPInterpreterServiceItemPtr;
}
#endif