Dawn Framework 1.0
Universal data acquisition framework for embedded systems
Public Member Functions | List of all members
dawn::IProtoFactory Class Referenceabstract

Abstract factory interface for protocol creation. More...

#include <factory.hxx>

Inheritance diagram for dawn::IProtoFactory:
[legend]

Public Member Functions

virtual CProtoCommoncreate (CDescObject &desc)=0
 Create a protocol object.
 

Detailed Description

Abstract factory interface for protocol creation.

Definition at line 16 of file factory.hxx.

Member Function Documentation

◆ create()

virtual CProtoCommon * dawn::IProtoFactory::create ( CDescObject desc)
pure virtual

Create a protocol object.

Factory method that creates an appropriate protocol implementation based on the descriptor's protocol class.

Parameters
[in]descDescriptor containing PROTO class and configuration.
Returns
CProtoCommon* New protocol object, nullptr if class not supported.

Implemented in dawn::CProtoFactory.


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