#include <ngcdcsEDDM.hpp>
Public Member Functions | |
| ngcdcsEDDM & | operator= (const ngcdcsEDDM &other) |
| Operator =. | |
| ngcdcsEDDM (const ngcdcsEDDM &other) | |
| Copy constructor. | |
| ngcdcsEDDM () | |
| Constructor. | |
| ngcdcsEDDM (size_t maxDrv) | |
| Constructor with maximum number of managed drivers. | |
| virtual | ~ngcdcsEDDM () |
| Destructor. | |
| int | Register (ngcdcsFACTORY *f) |
| Register a new factory. | |
| int | Register (const char *name) |
| Register a new driver name. | |
| int | Unregister (ngcdcsFACTORY *f) |
| Unregister factory. | |
| void * | Unregister (const char *module) |
| Unregister module. | |
| ngcdcsFACTORY * | Factory () |
| Return current factory. | |
| ngcdcsFACTORY * | Next () |
| Return next dynamically loaded driver factory. | |
| ngcdcsFACTORY * | Factory (const char *name) |
| Return factory associated to driver name. | |
| ngcdcsFACTORY * | Factory (const char *symbol, const char *module) |
| Return factory associated to symbol/module name. | |
| ngcdcsFACTORY * | Select (const char *name) |
| Select factory associated to driver name. | |
| ngcdcsFACTORY * | Module (const char *module) |
| Select factory by module name. | |
| int | Load (const char *module, const char *name=NULL) |
| Load external exposure driver module. | |
| int | Unload (const char *name, const char *symbol=NULL) |
| Unload external exposure driver module. | |
| int | Unload () |
| Unload all external exposure driver modules. | |
| void | List (char *s) |
| Copy list of driver factory names to string. | |
| void | ModList (char *s) |
| Copy list of driver module names to string. | |
Public Member Functions inherited from ngcbOBJ | |
| ngcbOBJ () | |
| Constructor. | |
| virtual | ~ngcbOBJ () |
| Destructor. | |
| void | Instance (int n) |
| Set instance. | |
| int | Instance () |
| Get instance. | |
| const char * | Major () |
| Instance major number. | |
| int | BigEndian () |
| Big-endian architecture. | |
| int | LittleEndian () |
| Little-endian architecture. | |
| virtual char * | ErrMsg () |
| Error message. | |
| virtual int | Success () |
| Return success. | |
| virtual int | Failure () |
| Return failure. | |
| void | CfgPath (const char *path) |
| Set external configuration path. | |
Public Attributes | |
| ngcbPARAM_LIST * | paramList |
| Parameter list, from which modules need to detach during unload. | |
Public Attributes inherited from ngcbOBJ | |
| FILE * | watchdog |
| Watchdog stream. | |
| ngcbALARM_SYS * | alarmSystem |
| Alarm system. | |
| ngcbSERVICE * | services |
| System services. | |
| int | verboseLevel |
| Verbose level. | |
| int | logLevel |
| Logging level. | |
| int | xterm |
| Xterm flag. | |
| int | debugPort |
| Debug port. | |
| int | ignoreErr |
| Ignore next error (do not log) | |
| int | type |
| Object type. | |
Additional Inherited Members | |
Protected Member Functions inherited from ngcbOBJ | |
| virtual int | BailOut (const char *pos) |
| Log code position of the error and bail-out with failure. | |
| virtual void | Verbose (int level, const char *format,...) __attribute__((format(printf |
| Verbose message if verbose level exceeds level. | |
| virtual void virtual void | Verbose (const char *format,...) __attribute__((format(printf |
| Verbose message. | |
| virtual void virtual void virtual void | Log (int level, const char *format,...) __attribute__((format(printf |
| Log message if logging level exceeds level. | |
| virtual void virtual void virtual void virtual void | Log (const char *format,...) __attribute__((format(printf |
| Log message. | |
| virtual void virtual void virtual void virtual void virtual void | ErrLog (int severity, const char *format,...) __attribute__((format(printf |
| Error log, severity is one of ngcbWARNING, ngcbFAILURE and ngcbERR_SEVERE. | |
| virtual void virtual void virtual void virtual void virtual void void | FeedBack (const char *format,...) __attribute__((format(printf |
| Feed-back function. | |
| virtual void virtual void virtual void virtual void virtual void void virtual void | SendFeedBack (const char *msg) |
| Feed-back sender implementation. | |
| const char * | CfgPath () |
| Get external configuration path. | |
| int | CfgPath (char *path, const char *cfgFile) |
| Compose path for configuratuion file. | |
| int | KeyVal (const char *key, float *value) |
| Get single precision floating point value from keyword string. | |
| int | KeyVal (const char *key, double *value) |
| Get double precision floating point value from keyword string. | |
| int | KeyVal (const char *key, int *value) |
| Get 32-bit signed integer value from decimal keyword string. | |
| int | KeyVal (const char *key, unsigned int *value) |
| Get 32-bit unsigned integer value from decimal keyword string. | |
| int | KeyValHex (const char *key, int *value) |
| Get 32-bit signed integer value from hexadecimal keyword string. | |
| int | KeyValHex (const char *key, unsigned int *value) |
| Get 32-bit unsigned integer value from hexadecimal keyword string. | |
| int | KeyValFmt (const char *key, int *value) |
| Get 32-bit signed integer value from string. | |
| int | KeyValFmt (const char *key, unsigned int *value) |
| Get 32-bit unsigned integer value from string. | |
| int | KeyValFrac (const char *key, unsigned int n, uint64_t *v1, uint64_t *v2) |
| Fraction after n digits. | |
| void | CleanupCmd (char *cmdLine, int *cmdLen) |
| Clean command string (remove extra spaces etc.) | |
| int | ReplaceParam (char *string) |
| Replace parameter in string. | |
Exposure driver deployment manager class
| ngcdcsEDDM::ngcdcsEDDM | ( | const ngcdcsEDDM & | other | ) |
Copy constructor.
| ngcdcsEDDM::ngcdcsEDDM | ( | ) |
Constructor.
|
explicit |
Constructor with maximum number of managed drivers.
|
virtual |
Destructor.
| ngcdcsFACTORY * ngcdcsEDDM::Factory | ( | ) |
Return current factory.
| ngcdcsFACTORY * ngcdcsEDDM::Factory | ( | const char * | name | ) |
Return factory associated to driver name.
| ngcdcsFACTORY * ngcdcsEDDM::Factory | ( | const char * | symbol, |
| const char * | module ) |
Return factory associated to symbol/module name.
| void ngcdcsEDDM::List | ( | char * | s | ) |
Copy list of driver factory names to string.
| int ngcdcsEDDM::Load | ( | const char * | module, |
| const char * | name = NULL ) |
Load external exposure driver module.
| void ngcdcsEDDM::ModList | ( | char * | s | ) |
Copy list of driver module names to string.
| ngcdcsFACTORY * ngcdcsEDDM::Module | ( | const char * | module | ) |
Select factory by module name.
| ngcdcsFACTORY * ngcdcsEDDM::Next | ( | ) |
Return next dynamically loaded driver factory.
| ngcdcsEDDM & ngcdcsEDDM::operator= | ( | const ngcdcsEDDM & | other | ) |
Operator =.
| int ngcdcsEDDM::Register | ( | const char * | name | ) |
Register a new driver name.
| int ngcdcsEDDM::Register | ( | ngcdcsFACTORY * | f | ) |
Register a new factory.
| ngcdcsFACTORY * ngcdcsEDDM::Select | ( | const char * | name | ) |
Select factory associated to driver name.
| int ngcdcsEDDM::Unload | ( | ) |
Unload all external exposure driver modules.
| int ngcdcsEDDM::Unload | ( | const char * | name, |
| const char * | symbol = NULL ) |
Unload external exposure driver module.
| void * ngcdcsEDDM::Unregister | ( | const char * | module | ) |
Unregister module.
| int ngcdcsEDDM::Unregister | ( | ngcdcsFACTORY * | f | ) |
Unregister factory.
| ngcbPARAM_LIST* ngcdcsEDDM::paramList |
Parameter list, from which modules need to detach during unload.