ADTF File Library
Loading...
Searching...
No Matches
adtf_file::SampleCopy Class Referenceabstract

interface for copying the contents of one sample into another, probably sharing resources (such as the sample buffer) More...

#include <sample.h>

Inheritance diagram for adtf_file::SampleCopy:
[legend]

Public Member Functions

virtual void CopyFrom (const std::shared_ptr< const Sample > &sample)=0
 

Detailed Description

interface for copying the contents of one sample into another, probably sharing resources (such as the sample buffer)

Member Function Documentation

◆ CopyFrom()

virtual void adtf_file::SampleCopy::CopyFrom ( const std::shared_ptr< const Sample > & sample)
pure virtual

Copies all information from the given sample to the current instance.

Parameters
sampleThe sample to copy from.

Implemented in adtf_file::DefaultSample.


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