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

A reel within a DCP; the part which actually refers to picture, sound, subtitle, marker and Atmos data. More...

#include <reel.h>

Inheritance diagram for dcp::Reel:
dcp::Object

Public Member Functions

 Reel (std::shared_ptr< ReelPictureAsset > picture, std::shared_ptr< ReelSoundAsset > sound=std::shared_ptr< ReelSoundAsset >(), std::shared_ptr< ReelSubtitleAsset > subtitle=std::shared_ptr< ReelSubtitleAsset >(), std::shared_ptr< ReelMarkersAsset > markers=std::shared_ptr< ReelMarkersAsset >(), std::shared_ptr< ReelAtmosAsset > atmos=std::shared_ptr< ReelAtmosAsset >())
 
 Reel (std::shared_ptr< const cxml::Node >, dcp::Standard standard)
 
std::shared_ptr< ReelPictureAssetmain_picture () const
 
std::shared_ptr< ReelSoundAssetmain_sound () const
 
std::shared_ptr< ReelSubtitleAssetmain_subtitle () const
 
std::shared_ptr< ReelMarkersAssetmain_markers () const
 
std::vector< std::shared_ptr< ReelClosedCaptionAsset > > closed_captions () const
 
std::shared_ptr< ReelAtmosAssetatmos () const
 
int64_t duration () const
 
void add (std::shared_ptr< ReelAsset > asset)
 
std::vector< std::shared_ptr< ReelAsset > > assets () const
 
xmlpp::Element * write_to_cpl (xmlpp::Element *node, Standard standard) const
 
bool any_encrypted () const
 
bool all_encrypted () const
 
bool equals (std::shared_ptr< const Reel > other, EqualityOptions opt, NoteHandler notes) const
 
void add (DecryptedKDM const &)
 
void resolve_refs (std::vector< std::shared_ptr< Asset >>)
 
- 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

void give_kdm_to_assets (dcp::DecryptedKDM const &kdm)
 

Private Attributes

std::shared_ptr< ReelPictureAsset_main_picture
 
std::shared_ptr< ReelSoundAsset_main_sound
 
std::shared_ptr< ReelSubtitleAsset_main_subtitle
 
std::shared_ptr< ReelMarkersAsset_main_markers
 
std::vector< std::shared_ptr< ReelClosedCaptionAsset > > _closed_captions
 
std::shared_ptr< ReelAtmosAsset_atmos
 
std::vector< dcp::DecryptedKDM_kdms
 

Additional Inherited Members

- Protected Attributes inherited from dcp::Object
std::string _id
 

Detailed Description

A reel within a DCP; the part which actually refers to picture, sound, subtitle, marker and Atmos data.

Definition at line 77 of file reel.h.


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