ADTF File Library
Loading...
Searching...
No Matches
adtf_file::sample_deserializer_factory< FACTORY > Class Template Reference

default implementation template for a SampleDeserializerFactory creating More...

#include <adtf_file_reader.h>

Inheritance diagram for adtf_file::sample_deserializer_factory< FACTORY >:
[legend]
Collaboration diagram for adtf_file::sample_deserializer_factory< FACTORY >:
[legend]

Public Member Functions

std::string getId () const override
 Get the identifier if the factory.
 
std::shared_ptr< SampleDeserializerbuild () const override
 create a SampleDeserializer instance
 

Detailed Description

template<typename FACTORY>
class adtf_file::sample_deserializer_factory< FACTORY >

default implementation template for a SampleDeserializerFactory creating

Template Parameters
FACTORYtype implements a SampleDeserializer and providing a static string literal "id"

Member Function Documentation

◆ build()

template<typename FACTORY>
std::shared_ptr< SampleDeserializer > adtf_file::sample_deserializer_factory< FACTORY >::build ( ) const
inlineoverridevirtual

create a SampleDeserializer instance

Returns
std::shared_ptr<SampleDeserializer>

Implements adtf_file::SampleDeserializerFactory.

◆ getId()

template<typename FACTORY>
std::string adtf_file::sample_deserializer_factory< FACTORY >::getId ( ) const
inlineoverridevirtual

Get the identifier if the factory.

Returns
std::string

Implements adtf_file::SampleDeserializerFactory.


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