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

Abstract factory interface for extensible I/O object creation. More...

#include <factory.hxx>

Inheritance diagram for dawn::IIOFactory:
[legend]

Public Member Functions

virtual CIOCommoncreate (CDescObject &desc)=0
 Create I/O object from descriptor.
 

Detailed Description

Abstract factory interface for extensible I/O object creation.

Definition at line 19 of file factory.hxx.

Member Function Documentation

◆ create()

virtual CIOCommon * dawn::IIOFactory::create ( CDescObject desc)
pure virtual

Create I/O object from descriptor.

Factory method to instantiate a IO object.

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

Implemented in dawn::CIOFactory.


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