Go to the documentation of this file.
6 #ifndef CNOID_MEDIAPLUGIN_MEDIA_ITEM_H
7 #define CNOID_MEDIAPLUGIN_MEDIA_ITEM_H
10 #include "exportdecl.h"
22 bool setMediaURI(
const std::string& uri);
23 const std::string&
mediaURI()
const {
return mediaURI_; }
25 bool setMediaFilePath(
const std::string& path);
28 void setOffsetTime(
double offset);
36 virtual Item* doDuplicate()
const;
38 virtual bool store(
Archive& archive);
39 virtual bool restore(
const Archive& archive);
42 std::string mediaURI_;
43 std::string mediaFilePath_;
45 std::string lastErrorMessage_;
Definition: ExtensionManager.h:23
Definition: PutPropertyFunction.h:51
Definition: AbstractSceneLoader.h:11
ref_ptr< MediaItem > MediaItemPtr
Definition: MediaItem.h:48