qumbia-tango-controls 1.x
Library on top of cumbia-qtcontrols and cumbia-tango
|
implements CuControlsWriterFactoryI and creates Tango writers Given a pointer to a Cumbia object and a CuDataListener, the create method instantiates and returns a CuTControlsWriter, that implements CuControlsWriterA interface. If setOptions is called before create, the options are set on the CuControlsWriterA. More...
#include <cutcontrolswriter.h>
Public Member Functions | |
CuTWriterFactory () | |
virtual | ~CuTWriterFactory () |
the class destructor More... | |
CuControlsWriterA * | create (Cumbia *, CuDataListener *l) const |
creates and returns a new CuTControlsWriter, configured with the given Cumbia and CuDataListener. More... | |
CuControlsWriterFactoryI * | clone () const |
clones the writer factory, allocating a new one with the same options More... | |
void | setOptions (const CuData &o) |
set options through a CuData bundle. They are then passed to the CuTControlsWriter instantiated and returned by the create method More... | |
implements CuControlsWriterFactoryI and creates Tango writers Given a pointer to a Cumbia object and a CuDataListener, the create method instantiates and returns a CuTControlsWriter, that implements CuControlsWriterA interface. If setOptions is called before create, the options are set on the CuControlsWriterA.
CuTWriterFactory can be cloned by means of the clone method.
CuTWriterFactory::CuTWriterFactory | ( | ) |
the class constructor
Referenced by clone().
|
virtual |
the class destructor
CuControlsWriterFactoryI * CuTWriterFactory::clone | ( | ) | const |
clones the writer factory, allocating a new one with the same options
References CuTWriterFactory().
CuControlsWriterA * CuTWriterFactory::create | ( | Cumbia * | c, |
CuDataListener * | l | ||
) | const |
creates and returns a new CuTControlsWriter, configured with the given Cumbia and CuDataListener.
Call setOptions before create to configure the writer. See setOptions for a list of predefined keys.
c | a pointer to the CumbiaTango object |
l | a pointer to an object implementing the CuDataListener interface |
References CuTControlsWriter::setOptions().
void CuTWriterFactory::setOptions | ( | const CuData & | o | ) |
set options through a CuData bundle. They are then passed to the CuTControlsWriter instantiated and returned by the create method
o | a CuData bundle of key/value pairs |