ADTF File Library
Loading...
Searching...
No Matches
adtf_file::sample_factory< SAMPLE_CLASS > Class Template Reference

template class for a sample factory to create sample with implementation type SAMPLE_CLASS More...

#include <reader.h>

Inheritance diagram for adtf_file::sample_factory< SAMPLE_CLASS >:
[legend]
Collaboration diagram for adtf_file::sample_factory< SAMPLE_CLASS >:
[legend]

Public Member Functions

std::shared_ptr< Samplebuild () const override
 Creates a sample.
 

Detailed Description

template<typename SAMPLE_CLASS>
class adtf_file::sample_factory< SAMPLE_CLASS >

template class for a sample factory to create sample with implementation type SAMPLE_CLASS

Template Parameters
SAMPLE_CLASSThe type implements Sample

Member Function Documentation

◆ build()

template<typename SAMPLE_CLASS>
std::shared_ptr< Sample > adtf_file::sample_factory< SAMPLE_CLASS >::build ( ) const
inlineoverridevirtual

Creates a sample.

Returns
the created sample the factory can create

Implements adtf_file::SampleFactory.


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