#include <ECCS.h>
#include <eccsTestTools.h>
#include <fndOBJECT.h>
#include <fndSTRING.h>
#include <evhCALLBACK.h>
#include <evhTASK.h>
#include <eccsDB_ATTR.h>
#include "chopwsDefines.h"
#include "chopwsErrors.h"
Include dependency graph for chopws.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | DELETE_OBJECT(object) |
#define | DB_READ(var, type, attrName) |
#define | DB_READ_STRING(var, attrName) |
#define | DB_WRITE(value, type, attrName) |
Functions | |
vltLOGICAL | objectOk (eccsERROR_CLASS *object, const char *name) |
ccsCOMPL_STAT | freq2Interval (vltDOUBLE freq, ccsTIMEVAL *interval) |
|
Value: do \ { \ if (object != NULL) \ { \ delete object; \ object = NULL; \ } \ } while (0) |
|
Value: do \ { \ eccsDB_##type attrName##Attr(dbPoint, attrName); \ var = attrName##Attr; \ if (attrName##Attr.ErrStatus() == FAILURE) \ { \ ErrAdd(chopwsMOD, chopwsERR_DB_READ, __FILE_LINE__, \ "configuration parameter", dbPoint, attrName); \ return FAILURE; \ } \ } while (0) |
|
Value: do \ { \ eccsDB_STRING attrName##Attr(dbPoint, attrName); \ strcpy(var, (const char *)attrName##Attr); \ if (attrName##Attr.ErrStatus() == FAILURE) \ { \ ErrAdd(chopwsMOD, chopwsERR_DB_READ, __FILE_LINE__, \ "configuration parameter", dbPoint, attrName); \ return FAILURE; \ } \ } while (0) |
|
Value: do \ { \ eccsDB_##type attrName##Attr(dbPoint, attrName); \ attrName##Attr = value; \ if (attrName##Attr.ErrStatus() == FAILURE) \ { \ ErrAdd(chopwsMOD, chopwsERR_DB_WRITE, __FILE_LINE__, \ "status parameter", dbPoint, attrName); \ return FAILURE; \ } \ } while (0) |
|
|
|
|