Go to the documentation of this file.
6 #ifndef CNOID_BASE_MULTI_SEQ_ITEM_H
7 #define CNOID_BASE_MULTI_SEQ_ITEM_H
10 #include <cnoid/MultiSeq>
11 #include "exportdecl.h"
15 template <
typename MultiSeqType>
29 typename std::shared_ptr<MultiSeqType>
seq() {
return seq_; }
33 seq_(std::make_shared<MultiSeqType>(*org.seq_)) { }
52 std::shared_ptr<MultiSeqType> seq_;
Definition: ExtensionManager.h:23
void resetSeq(std::shared_ptr< MultiSeqType > seq)
Definition: MultiSeqItem.h:45
MultiSeqItem(const MultiSeqItem< MultiSeqType > &org)
Definition: MultiSeqItem.h:31
std::shared_ptr< MultiSeqType > seq()
Definition: MultiSeqItem.h:29
Definition: Referenced.h:103
virtual ~MultiSeqItem()
Definition: MultiSeqItem.h:35
MultiSeqItem(const MultiSeqItem< MultiSeqType > &org, std::shared_ptr< MultiSeqType > newSeq)
Definition: MultiSeqItem.h:41
MultiSeqItem()
Definition: MultiSeqItem.h:23
Definition: AbstractSceneLoader.h:11
static void initializeClass(ExtensionManager *ext)
Definition: MultiSeqItem.h:19
virtual std::shared_ptr< AbstractMultiSeq > abstractMultiSeq() override
Definition: MultiSeqItem.h:27
MultiSeqItem(std::shared_ptr< MultiSeqType > seq)
Definition: MultiSeqItem.h:25
virtual Item * doDuplicate() const override
Override this function to allow duplication of an instance.
Definition: MultiSeqItem.h:47
Definition: AbstractSeqItem.h:35
ref_ptr< MultiSeqItem< MultiSeqType > > Ptr
Definition: MultiSeqItem.h:21
Definition: MultiSeqItem.h:16