Choreonoid  1.8
ControllerLogItem.h
Go to the documentation of this file.
1 #ifndef CNOID_BODY_PLUGIN_CONTROLLER_LOG_ITEM_H
2 #define CNOID_BODY_PLUGIN_CONTROLLER_LOG_ITEM_H
3 
4 #include <cnoid/ReferencedObjectSeqItem>
5 #include "exportdecl.h"
6 
7 namespace cnoid {
8 
9 class CNOID_EXPORT ControllerLogItem : public ReferencedObjectSeqItem
10 {
11 public:
12  static void initializeClass(ExtensionManager* ext);
13 
16 
17  std::shared_ptr<ReferencedObjectSeq> log() { return seq(); }
18  void resetLog() { resetSeq(); }
19 
20 protected:
21  virtual Item* doDuplicate() const override;
22 };
23 
25 
26 }
27 
28 #endif
29 
cnoid::ExtensionManager
Definition: ExtensionManager.h:23
cnoid::ref_ptr
Definition: Referenced.h:103
cnoid::ReferencedObjectSeqItem
Definition: ReferencedObjectSeqItem.h:15
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::Item
Definition: Item.h:29
cnoid::ControllerLogItemPtr
ref_ptr< ControllerLogItem > ControllerLogItemPtr
Definition: ControllerLogItem.h:24
cnoid::ControllerLogItem::log
std::shared_ptr< ReferencedObjectSeq > log()
Definition: ControllerLogItem.h:17
cnoid::ControllerLogItem
Definition: ControllerLogItem.h:9
cnoid::ControllerLogItem::resetLog
void resetLog()
Definition: ControllerLogItem.h:18