| eRPC API Reference Rev. 1.8.1 NXP Semiconductors

- Main Page
- API Reference
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
erpc::CodecFactory Class Referenceabstract
Infrastructure » Serialization

Abstract interface for codec factory. More...

`#include <erpc_codec.h>`

Inheritance diagram for erpc::CodecFactory:
[legend]

## Public Member Functions
| CodecFactory (void)
| Constructor.
virtual | ~CodecFactory (void)
| CodecFactory destructor.
virtual Codec * | create (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] | codec | Codec to dispose.

Implemented in erpc::BasicCodecFactory.

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

- erpc_codec.h