Choreonoid
1.8
src
Base
ItemAddon.h
Go to the documentation of this file.
1
#ifndef CNOID_BASE_ITEM_ADDON_H
2
#define CNOID_BASE_ITEM_ADDON_H
3
4
#include <cnoid/Referenced>
5
#include "exportdecl.h"
6
7
namespace
cnoid
{
8
9
class
ExtensionManager;
10
class
Item;
11
class
Archive;
12
13
class
CNOID_EXPORT
ItemAddon
:
public
Referenced
14
{
15
public
:
16
ItemAddon
();
17
ItemAddon
(
const
ItemAddon
& org);
18
virtual
Item
* ownerItem();
19
virtual
bool
store(
Archive
& archive);
20
virtual
bool
restore(
const
Archive
& archive);
21
22
protected
:
23
virtual
bool
setOwnerItem(
Item
* item);
24
25
private
:
26
Item
* ownerItem_;
27
friend
class
Item
;
28
};
29
30
typedef
ref_ptr<ItemAddon>
ItemAddonPtr
;
31
32
}
33
34
#endif
cnoid::ItemAddonPtr
ref_ptr< ItemAddon > ItemAddonPtr
Definition:
ItemAddon.h:30
cnoid::Archive
Definition:
Archive.h:22
cnoid::ItemAddon
Definition:
ItemAddon.h:13
cnoid::ref_ptr
Definition:
Referenced.h:103
cnoid
Definition:
AbstractSceneLoader.h:11
cnoid::Item
Definition:
Item.h:29
cnoid::Referenced
Definition:
Referenced.h:54
Generated by
1.8.17