+ 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);
+
+ DCPTime trim_end () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _trim_end;
+ }
+
+ DCPTime end () const {
+ return position() + length_after_trim();
+ }
+
+ DCPTime length_after_trim () const;
+
+ void set_change_signals_frequent (bool f) {
+ _change_signals_frequent = f;
+ }
+
+ boost::shared_ptr<const Film> film () const {
+ return _film.lock ();
+ }
+
+ boost::signals2::signal<void (boost::weak_ptr<Content>, int, bool)> Changed;