eRPC API Reference  Rev. 1.12.0
NXP Semiconductors
erpc::CodecFactory Class Referenceabstract

Abstract interface for codec factory. More...

#include <erpc_codec.hpp>

+ Inheritance diagram for erpc::CodecFactory:

Public Member Functions

 CodecFactory (void)
 Constructor.
 
virtual ~CodecFactory (void)
 CodecFactory destructor.
 
virtual Codeccreate (void)=0
 Return created codec. More...
 
virtual void dispose (Codec *codec)=0
 Dispose codec. More...
 

Detailed Description

Abstract interface for codec factory.

Member Function Documentation

virtual Codec* erpc::CodecFactory::create ( void  )
pure virtual

Return created codec.

Returns
Pointer to created codec.

Implemented in erpc::BasicCodecFactory.

virtual void erpc::CodecFactory::dispose ( Codec codec)
pure virtual

Dispose codec.

Parameters
[in]codecCodec to dispose.

Implemented in erpc::BasicCodecFactory.


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