Choreonoid  1.8
CollisionSeqItem.h
Go to the documentation of this file.
1 
6 #ifndef CNOID_BODY_PLUGIN_COLLISION_SEQ_ITEM_H
7 #define CNOID_BODY_PLUGIN_COLLISION_SEQ_ITEM_H
8 
9 #include "CollisionSeq.h"
10 #include <cnoid/MultiValueSeqItem>
11 #include "exportdecl.h"
12 
13 namespace cnoid {
14 
15 class CollisionSeqItemImpl;
16 
17 class CNOID_EXPORT CollisionSeqItem : public AbstractMultiSeqItem
18 {
19 public :
20  static void initislizeClass(ExtensionManager* ext);
21 
25 
26  virtual std::shared_ptr<AbstractMultiSeq> abstractMultiSeq();
27 
28  const std::shared_ptr<CollisionSeq> collisionSeq() {
29  return collisionSeq_;
30  }
31 
32 protected:
33  virtual Item* doDuplicate() const;
34  virtual bool store(Archive& archive);
35  virtual bool restore(const Archive& archive);
36 
37 private:
38  std::shared_ptr<CollisionSeq> collisionSeq_;
39  CollisionSeqItemImpl* impl;
40 };
41 
43 
44 }
45 
46 #endif
cnoid::ExtensionManager
Definition: ExtensionManager.h:23
cnoid::Archive
Definition: Archive.h:22
cnoid::ref_ptr< CollisionSeqItem >
cnoid::CollisionSeqItem::collisionSeq
const std::shared_ptr< CollisionSeq > collisionSeq()
Definition: CollisionSeqItem.h:28
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::Item
Definition: Item.h:29
cnoid::CollisionSeqItemPtr
ref_ptr< CollisionSeqItem > CollisionSeqItemPtr
Definition: CollisionSeqItem.h:42
CollisionSeq.h
cnoid::AbstractMultiSeqItem
Definition: AbstractSeqItem.h:35
cnoid::CollisionSeqItem
Definition: CollisionSeqItem.h:17