adtf_file_library  0.13.1
Public Member Functions | List of all members
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. More...
 

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:

Copyright © CARIAD SE.
Generated on Fri Apr 19 2024 by doxygen 1.9.1
GIT Commit Hash: 82d535f82776c20b12fc60740bdae991b62444a7