cumbia-qtcontrols 1.x
Qt widgets on top of the cumbia C++ library
Public Member Functions | List of all members
CuControlsReaderFactoryI Class Referenceabstract

cumbia-qtcontrols reader factory. Creates an instance of a CuControlsReaderA implementation. More...

#include <cucontrolsfactories_i.h>

Public Member Functions

virtual ~CuControlsReaderFactoryI ()
 
virtual CuControlsReaderAcreate (Cumbia *, CuDataListener *) const =0
 Subclasses implement the create method to return an instance of a CuControlsReaderA implementation. More...
 
virtual CuControlsReaderFactoryIclone () const =0
 clone an instance. More...
 
virtual void setOptions (const CuData &options)=0
 set options to be used when creating the reader. More...
 

Detailed Description

cumbia-qtcontrols reader factory. Creates an instance of a CuControlsReaderA implementation.

Subclasses must implement the create, clone and setOptions pure virtual methods.

Constructor & Destructor Documentation

◆ ~CuControlsReaderFactoryI()

virtual CuControlsReaderFactoryI::~CuControlsReaderFactoryI ( )
inlinevirtual

Member Function Documentation

◆ clone()

virtual CuControlsReaderFactoryI * CuControlsReaderFactoryI::clone ( ) const
pure virtual

clone an instance.

Clones the current instance

Referenced by CuContext::CuContext(), QuInputOutput::QuInputOutput(), and CuControlsFactoryPool::registerImpl().

◆ create()

virtual CuControlsReaderA * CuControlsReaderFactoryI::create ( Cumbia *  ,
CuDataListener *   
) const
pure virtual

Subclasses implement the create method to return an instance of a CuControlsReaderA implementation.

Returns
a pointer to an instance of a CuControlsWriterA implementation

◆ setOptions()

virtual void CuControlsReaderFactoryI::setOptions ( const CuData &  options)
pure virtual

set options to be used when creating the reader.

This is engine dependent.

Parameters
optionsa CuData containing key/value pairs that are specific of an engine.

Options are normally set within the create method, when a CuControlsReaderA is instantiated.

Referenced by QuInputOutput::QuInputOutput().


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