cumbia-random  1.x
Generate numbers or arrays to use with cumbia, randomly or from JavaScript files
Public Member Functions | List of all members
CuRNDActionFactoryI Class Referenceabstract

Factory to instantiate CuTangoActionI implementations, such as readers, writers and attribute configuration actions. More...

#include <curndactionfactoryi.h>

Inheritance diagram for CuRNDActionFactoryI:
Inheritance graph
[legend]

Public Member Functions

 CuRNDActionFactoryI ()
 
virtual CuRNDActionIcreate (const std::string &source, CumbiaRandom *ct) const =0
 
virtual CuRNDActionI::Type getType () const =0
 Return the type of action that the factory creates. More...
 

Detailed Description

Factory to instantiate CuTangoActionI implementations, such as readers, writers and attribute configuration actions.

Notable implementations

Constructor & Destructor Documentation

◆ CuRNDActionFactoryI()

CuRNDActionFactoryI::CuRNDActionFactoryI ( )
inline

Member Function Documentation

◆ create()

virtual CuRNDActionI* CuRNDActionFactoryI::create ( const std::string &  source,
CumbiaRandom ct 
) const
pure virtual

Pure virtual method that must be implemented by subclasses to return a valid CuTangoActionI instance.

Parameters
sourcea string identifying a source to connect to
cta pointer to a CumbiaRandom instance

Implemented in CuRNDActionReaderFactory.

Referenced by CuRNDActionFactoryService::registerAction().

◆ getType()

virtual CuRNDActionI::Type CuRNDActionFactoryI::getType ( ) const
pure virtual

Return the type of action that the factory creates.

Returns
the type of action that the factory creates

Implemented in CuRNDActionReaderFactory.

Referenced by CumbiaRandom::addAction(), and CuRNDActionFactoryService::registerAction().


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