libdcp
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
dcp::ReelMarkersAsset Class Reference
Inheritance diagram for dcp::ReelMarkersAsset:
dcp::ReelAsset dcp::Object

Public Member Functions

 ReelMarkersAsset (Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point)
 
 ReelMarkersAsset (std::shared_ptr< const cxml::Node >)
 
xmlpp::Node * write_to_cpl (xmlpp::Node *node, Standard standard) const override
 
bool equals (std::shared_ptr< const ReelMarkersAsset >, EqualityOptions, NoteHandler) const
 
void set (Marker, Time)
 
void unset (Marker)
 
boost::optional< Timeget (Marker m) const
 
std::map< Marker, Timeget () const
 
- Public Member Functions inherited from dcp::ReelAsset
 ReelAsset (std::string id, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point)
 
 ReelAsset (std::shared_ptr< const cxml::Node >)
 
virtual bool encryptable () const
 
Fraction edit_rate () const
 
int64_t intrinsic_duration () const
 
void set_entry_point (int64_t e)
 
void unset_entry_point ()
 
boost::optional< int64_t > entry_point () const
 
void set_duration (int64_t d)
 
boost::optional< int64_t > duration () const
 
int64_t actual_duration () const
 
boost::optional< std::string > annotation_text () const
 
void set_annotation_text (std::string at)
 
void unset_annotation_text ()
 
bool asset_equals (std::shared_ptr< const ReelAsset >, EqualityOptions, NoteHandler) const
 
- Public Member Functions inherited from dcp::Object
 Object ()
 
 Object (std::string id)
 
 Object (Object const &)=delete
 
Objectoperator= (Object const &)=delete
 
std::string id () const
 

Protected Member Functions

std::string cpl_node_name (Standard) const override
 
- Protected Member Functions inherited from dcp::ReelAsset
virtual std::pair< std::string, std::string > cpl_node_attribute (Standard) const
 
virtual std::pair< std::string, std::string > cpl_node_namespace () const
 

Private Attributes

std::map< Marker, Time_markers
 

Additional Inherited Members

- Protected Attributes inherited from dcp::ReelAsset
int64_t _intrinsic_duration = 0
 The <IntrinsicDuration> from the reel's entry for this asset.
 
boost::optional< int64_t > _duration
 The <Duration> from the reel's entry for this asset, if present.
 
- Protected Attributes inherited from dcp::Object
std::string _id
 

Detailed Description

Definition at line 48 of file reel_markers_asset.h.

Member Function Documentation

◆ cpl_node_name()

string ReelMarkersAsset::cpl_node_name ( Standard  ) const
overrideprotectedvirtual
Returns
the node name that this asset uses in the CPL's <Reel> node e.g. MainPicture, MainSound etc.

Implements dcp::ReelAsset.

Definition at line 76 of file reel_markers_asset.cc.


The documentation for this class was generated from the following files: