libdcp
Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
dcp::AtmosAssetWriter Class Reference

A helper class for writing to AtmosAssets. More...

#include <atmos_asset_writer.h>

Inheritance diagram for dcp::AtmosAssetWriter:
dcp::AssetWriter

Classes

struct  ASDCPState
 

Public Member Functions

void write (std::shared_ptr< const AtmosFrame > frame)
 
void write (uint8_t const *data, int size)
 
bool finalize () override
 
- Public Member Functions inherited from dcp::AssetWriter
 AssetWriter (AssetWriter const &)=delete
 
AssetWriteroperator= (AssetWriter const &)=delete
 
int64_t frames_written () const
 

Private Member Functions

 AtmosAssetWriter (AtmosAsset *, boost::filesystem::path)
 

Private Attributes

std::shared_ptr< ASDCPState > _state
 
AtmosAsset_asset
 

Friends

class AtmosAsset
 

Additional Inherited Members

- Protected Member Functions inherited from dcp::AssetWriter
 AssetWriter (MXF *mxf, boost::filesystem::path file)
 
- Protected Attributes inherited from dcp::AssetWriter
MXF_mxf = nullptr
 
boost::filesystem::path _file
 
int64_t _frames_written = 0
 
bool _finalized = false
 
bool _started = false
 
std::shared_ptr< EncryptionContext_crypto_context
 

Detailed Description

A helper class for writing to AtmosAssets.

Objects of this class can only be created with AtmosAsset::start_write().

Definition at line 62 of file atmos_asset_writer.h.

Member Function Documentation

◆ finalize()

bool AtmosAssetWriter::finalize ( )
overridevirtual
Returns
true if anything was written by this writer

Reimplemented from dcp::AssetWriter.

Definition at line 120 of file atmos_asset_writer.cc.


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