libdcp
Public Member Functions | Private Member Functions | List of all members
dcp::ReelMonoPictureAsset Class Reference

Part of a Reel's description which refers to a monoscopic picture asset. More...

#include <reel_mono_picture_asset.h>

Inheritance diagram for dcp::ReelMonoPictureAsset:
dcp::ReelPictureAsset dcp::ReelFileAsset dcp::ReelAsset dcp::Object

Public Member Functions

 ReelMonoPictureAsset (std::shared_ptr< MonoPictureAsset > asset, int64_t entry_point)
 
 ReelMonoPictureAsset (std::shared_ptr< const cxml::Node >)
 
std::shared_ptr< const MonoPictureAssetmono_asset () const
 
std::shared_ptr< MonoPictureAssetmono_asset ()
 
- Public Member Functions inherited from dcp::ReelPictureAsset
 ReelPictureAsset (std::shared_ptr< PictureAsset > asset, int64_t entry_point)
 
 ReelPictureAsset (std::shared_ptr< const cxml::Node >)
 
std::shared_ptr< const PictureAssetasset () const
 
std::shared_ptr< PictureAssetasset ()
 
virtual xmlpp::Node * write_to_cpl (xmlpp::Node *node, Standard standard) const override
 
bool equals (std::shared_ptr< const ReelPictureAsset >, EqualityOptions, NoteHandler) const
 
Fraction frame_rate () const
 
void set_screen_aspect_ratio (Fraction a)
 
Fraction screen_aspect_ratio () const
 
- Public Member Functions inherited from dcp::ReelFileAsset
 ReelFileAsset (std::shared_ptr< Asset > asset, boost::optional< std::string > key_id, std::string id, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point)
 
 ReelFileAsset (std::shared_ptr< const cxml::Node > node)
 
Ref const & asset_ref () const
 
Refasset_ref ()
 
boost::optional< std::string > hash () const
 
void set_hash (std::string h)
 
bool file_asset_equals (std::shared_ptr< const ReelFileAsset > other, EqualityOptions opt, NoteHandler note) const
 
bool encryptable () const override
 
boost::optional< std::string > key_id () const
 
bool encrypted () 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 >)
 
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
 

Private Member Functions

std::string cpl_node_name (Standard standard) const override
 

Additional Inherited Members

- Protected Member Functions inherited from dcp::ReelFileAsset
template<class T >
std::shared_ptr< T > asset_of_type () const
 
template<class T >
std::shared_ptr< T > asset_of_type ()
 
- 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
 
- Protected Attributes inherited from dcp::ReelFileAsset
Ref _asset_ref
 
boost::optional< std::string > _hash
 
boost::optional< std::string > _key_id
 The <KeyId> from the reel's entry for this asset, if there is one.
 
- 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

Part of a Reel's description which refers to a monoscopic picture asset.

Definition at line 57 of file reel_mono_picture_asset.h.

Member Function Documentation

◆ cpl_node_name()

string ReelMonoPictureAsset::cpl_node_name ( Standard  ) const
overrideprivatevirtual
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 65 of file reel_mono_picture_asset.cc.

◆ mono_asset() [1/2]

std::shared_ptr<MonoPictureAsset> dcp::ReelMonoPictureAsset::mono_asset ( )
inline
Returns
the MonoPictureAsset that this object refers to

Definition at line 69 of file reel_mono_picture_asset.h.

◆ mono_asset() [2/2]

std::shared_ptr<const MonoPictureAsset> dcp::ReelMonoPictureAsset::mono_asset ( ) const
inline
Returns
the MonoPictureAsset that this object refers to

Definition at line 64 of file reel_mono_picture_asset.h.


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