+ virtual DCPTime full_length () const = 0;
+ virtual std::string identifier () const;
+
+ boost::shared_ptr<Content> clone () const;
+
+ void set_path (boost::filesystem::path);
+
+ std::string path_summary () const;
+
+ std::vector<boost::filesystem::path> paths () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _paths;
+ }
+
+ size_t number_of_paths () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _paths.size ();
+ }
+
+ boost::filesystem::path path (size_t i) const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _paths[i];
+ }
+
+ bool path_valid () const;
+
+ /** @return MD5 digest of the content's file(s) */
+ std::string digest () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _digest;
+ }
+
+ void set_position (DCPTime);
+
+ /** DCPTime that this content starts; i.e. the time that the first
+ * bit of the content (trimmed or not) will happen.
+ */
+ DCPTime position () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _position;
+ }
+
+ void set_trim_start (DCPTime);
+
+ DCPTime trim_start () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _trim_start;
+ }
+
+ void set_trim_end (DCPTime);