Choreonoid
1.8
src
BodyPlugin
BodyMotionControllerItem.h
Go to the documentation of this file.
1
5
#ifndef CNOID_BODY_PLUGIN_BODY_MOTION_CONTROLLER_ITEM_H
6
#define CNOID_BODY_PLUGIN_BODY_MOTION_CONTROLLER_ITEM_H
7
8
#include "
ControllerItem.h
"
9
#include "exportdecl.h"
10
11
namespace
cnoid
{
12
13
class
BodyMotionControllerItemImpl;
14
15
class
CNOID_EXPORT
BodyMotionControllerItem
:
public
ControllerItem
16
{
17
public
:
18
static
void
initializeClass(
ExtensionManager
* ext);
19
20
BodyMotionControllerItem
();
21
BodyMotionControllerItem
(
const
BodyMotionControllerItem
& org);
22
virtual
~
BodyMotionControllerItem
();
23
24
virtual
bool
initialize(
ControllerIO
* io)
override
;
25
virtual
bool
start()
override
;
26
virtual
double
timeStep()
const override
;
27
virtual
void
input()
override
;
28
virtual
bool
control()
override
;
29
virtual
void
output()
override
;
30
virtual
void
stop()
override
;
31
32
protected
:
33
virtual
void
onDisconnectedFromRoot()
override
;
34
virtual
Item
* doDuplicate()
const override
;
35
virtual
void
doPutProperties(
PutPropertyFunction
& putProperty)
override
;
36
virtual
bool
store(
Archive
& archive)
override
;
37
virtual
bool
restore(
const
Archive
& archive)
override
;
38
39
private
:
40
friend
class
BodyMotionControllerItemImpl;
41
BodyMotionControllerItemImpl* impl;
42
};
43
44
typedef
ref_ptr<BodyMotionControllerItem>
BodyMotionControllerItemPtr
;
45
46
}
47
48
#endif
cnoid::ExtensionManager
Definition:
ExtensionManager.h:23
cnoid::PutPropertyFunction
Definition:
PutPropertyFunction.h:51
cnoid::Archive
Definition:
Archive.h:22
ControllerItem.h
cnoid::ControllerIO
Definition:
ControllerIO.h:16
cnoid::ControllerItem
Definition:
ControllerItem.h:20
cnoid::ref_ptr
Definition:
Referenced.h:103
cnoid
Definition:
AbstractSceneLoader.h:11
cnoid::Item
Definition:
Item.h:29
cnoid::BodyMotionControllerItem
Definition:
BodyMotionControllerItem.h:15
cnoid::BodyMotionControllerItemPtr
ref_ptr< BodyMotionControllerItem > BodyMotionControllerItemPtr
Definition:
BodyMotionControllerItem.h:44
Generated by
1.8.17