ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
fcf::devmgr::common::IDeviceMaker Class Referenceabstract

#include <iDeviceMaker.hpp>

Inheritance diagram for fcf::devmgr::common::IDeviceMaker:
fcf::devmgr::common::DeviceMaker< T >

Public Member Functions

virtual std::shared_ptr< IDeviceCreate (const std::string &filename, const std::string &name, DataContext &data_ctx) const =0
 Abstract method to create a new device. More...
 
virtual ~IDeviceMaker ()
 Default destructor. More...
 

Detailed Description

IDeviceMaker is a public parent of all Device makers It represents a function to be invoked when creating new Device

Constructor & Destructor Documentation

virtual fcf::devmgr::common::IDeviceMaker::~IDeviceMaker ( )
inlinevirtual

Default destructor.

Member Function Documentation

virtual std::shared_ptr<IDevice> fcf::devmgr::common::IDeviceMaker::Create ( const std::string &  filename,
const std::string &  name,
DataContext data_ctx 
) const
pure virtual

Abstract method to create a new device.

Parameters
filenameFilename containing the device configuration
nameName of the device ID.
data_ctxReference to the data context object.
Returns
shared pointer to the device object.

Implemented in fcf::devmgr::common::DeviceMaker< T >.


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