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

Base class for a sample factory to create sample used by the Reader. More...

#include <reader.h>

Inheritance diagram for adtf_file::SampleFactory:
[legend]

Public Member Functions

virtual std::shared_ptr< Samplebuild () const =0
 Creates a sample.
 

Detailed Description

Base class for a sample factory to create sample used by the Reader.

Member Function Documentation

◆ build()

virtual std::shared_ptr< Sample > adtf_file::SampleFactory::build ( ) const
pure virtual

Creates a sample.

Returns
the created sample the factory can create

Implemented in adtf_file::sample_factory< SAMPLE_CLASS >.


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