Data Structures |
struct | RTDBStructTable |
struct | ModelExchangeEntry |
struct | ModelExchange |
Defines |
#define | _XOPEN_SOURCE 600 |
#define | MAX_RAWSIZE sizeof(double) |
#define | INVALID_HASHINDEX 0xFFFFFFFF |
#define | __cmpxchg(ptr, old, new) |
#define | SHM_HUGETLB 04000 |
#define | FL_MEMCPY 1 |
#define | FL_UNITCONVERSION 2 |
Functions |
| REV_STRING ("$Id$"" SimWB: "SIMWBVERSION""SIMWB_BUILD) |
void | ccurRTDB_lock (int *ll) |
void | ccurRTDB_lockWait (int *ll, float sec) |
void | ccurRTDB_unlock (int *ll) |
void | ccurRTDB_rtdbLock (int lock) |
void | ccurRTDB_setCfgsrvPid (pid_t pid) |
void | ccurRTDB_cfgsrvNotiFyRTDBChanged () |
void | afdxAllocateSharedMem (int init) |
void | netioAllocateSharedMem (int init) |
void | fdxioAllocateSharedMem (int init) |
void | udpioAllocateSharedMem (int init) |
void | cigiioAllocateSharedMem (int init) |
void | arinc429AllocateHashTable (void) |
void | canAllocateHashTable (void) |
void | sentAllocateHashTable (void) |
void | linAllocateHashTable (void) |
int | ccurRTDB_initDB (int maxPoints, int maxCVTSize, int maxStringVariables) |
int | ccurRTDB_clearDB (void) |
void | ccurRTDB_resetCVTtoZero (void) |
int | ccurRTDB_mapDB () |
volatile void * | ccurRTDB_getCVTTableAddress () |
volatile void * | ccurRTDB_getAlternateTableAddress () |
volatile void * | ccurRTDB_getRawTableAddress () |
void | ccurRTDB_cvtAccessLock (int lock) |
void | ccurRTDB_incrCVTNextAvailOffset (size_t size) |
void | ccurRTDB_setCVTNextAvailOffset (void) |
int | ccurRTDB_getCVTNextAvailOffset (void) |
void | ccurRTDB_set64BitHost (void) |
void | ccurRTDB_set32BitAPI (void) |
int | ccurRTDB_getCVTSize (void) |
void | printEUConversions () |
int | ccurRTDB_deleteItem (const char *key) |
int | ccurRTDB_getStructDef (const char *name, RTDBStructDef **pStructDef) |
void | ccurRTDB_sortStructDef () |
int | ccurRTDB_addStructDef (RTDBStructDef *pStructDef) |
int | ccurRTDB_addItem (const char *key, RTDBItemMetaPair *itemMeta) |
void | ccurRTDB_copyDefaultValue (RTDBItem *p) |
int | ccurRTDB_addSpareItem (int itemIndex, int pointType, int cvtType) |
void | ccurRTDB_resetSpareItemTable (void) |
int | ccurRTDB_takeSpareItem (const char *newName, int pointType, int cvtType) |
int | ccurRTDB_renameItem (const char *oldName, const char *newName) |
HardwareRecord * | ccurRTDB_getItemHardwareRecord (RTDBItem *pItem) |
int | ccurRTDB_addHardwareConfig (const char *key, HardwareConfig *cfg) |
int | ccurRTDB_addEUConversion (const char *key, EUConversion *euConv) |
int | ccurRTDB_getCVTSizeItem (int cvtType) |
int | ccurRTDB_getCVTItemSize (const RTDBItem *p) |
int | ccurRTDB_setStringValue (const char *pointName, StringVariableValue *value, int length) |
int | ccurRTDB_setStringValueP (const RTDBItem *p, StringVariableValue *value, int length) |
int | ccurRTDB_setStringAltValueP (const RTDBItem *p, StringVariableValue *value, int length) |
int | ccurRTDB_setStringAltValue (const char *pointName, StringVariableValue *value, int length) |
int | ccurRTDB_setStringDefaultValueP (RTDBItem *p, StringVariableValue *value, int length) |
int | ccurRTDB_setStringDefaultValue (const char *pointName, StringVariableValue *value, int length) |
int | ccurRTDB_getStringDefaultValue (const char *pointName, StringVariableValue *value, int *length) |
int | ccurRTDB_getStringDefaultValueP (const RTDBItem *p, StringVariableValue *value, int *length) |
int | ccurRTDB_getStringValue (const char *pointName, StringVariableValue *value, int *length) |
int | ccurRTDB_getStringValueP (const RTDBItem *p, StringVariableValue *value, int *length) |
int | ccurRTDB_getStringValueLengthP (const RTDBItem *p) |
int | ccurRTDB_getStringAltValue (const char *pointName, StringVariableValue *value, int *length) |
int | ccurRTDB_getStringAltValueP (const RTDBItem *p, StringVariableValue *value, int *length) |
int | ccurRTDB_getStringAltValueLengthP (const RTDBItem *p) |
double | ccurRTDB_getCVTValueDouble (const char *pointName) |
double | ccurRTDB_getCVTValuePDouble (const RTDBItem *p) |
double | ccurRTDB_getAlternateValueDouble (const char *pointName) |
double | ccurRTDB_getAlternateValuePDouble (const RTDBItem *p) |
double | ccurRTDB_getCurrentValueDouble (const char *pointName) |
double | ccurRTDB_getCurrentValuePDouble (const RTDBItem *p) |
void | ccurRTDB_setAlternateValueDouble (const char *pointName, double varValue) |
void | ccurRTDB_setAlternateValuePDouble (const RTDBItem *p, double varValue) |
void | ccurRTDB_setCVTValueDouble (const char *pointName, double varValue) |
void | ccurRTDB_setCVTValuePDouble (const RTDBItem *p, double varValue) |
void | ccurRTDB_setCurrentValueDouble (const char *pointName, double varValue) |
void | ccurRTDB_setCurrentValuePDouble (const RTDBItem *p, double varValue) |
double | ccurRTDB_getRawValueDouble (const char *pointName) |
double | ccurRTDB_getRawValuePDouble (const RTDBItem *p) |
int | ccurRTDB_getCVTValueP (const RTDBItem *p, ItemValueDef *value) |
int | ccurRTDB_getCVTValuePMaxElements (const RTDBItem *p, ItemValueDef *value, int max) |
int | ccurRTDB_getCVTValuePScalar (const RTDBItem *p, ItemValueDefScalar *value, int index) |
int | ccurRTDB_itemsEqual (ItemValueDef *value1, ItemValueDef *value2) |
int | ccurRTDB_getCVTValue (const char *pointName, ItemValueDef *value) |
int | ccurRTDB_getAlternateValueP (const RTDBItem *p, ItemValueDef *value) |
int | ccurRTDB_getAlternateValuePScalar (const RTDBItem *p, ItemValueDefScalar *value, int index) |
int | ccurRTDB_getAlternateValue (const char *pointName, ItemValueDef *value) |
int | ccurRTDB_setCVTValue (const char *pointName, ItemValue *value) |
int | ccurRTDB_setCVTValueP (const RTDBItem *p, ItemValue *value) |
int | ccurRTDB_setAlternateValueP (RTDBItem *p, ItemValue *value) |
int | ccurRTDB_setAlternateValue (char *pointName, ItemValue *value) |
int | ccurRTDB_setPointValueP (RTDBItem *p, ItemValue *value) |
int | ccurRTDB_setAlternateFlag (const char *pointName, int enable) |
int | ccurRTDB_setAlternateFlagP (RTDBItem *pItem, int enable) |
int | ccurRTDB_setOperatorFlag (const char *pointName, int enable) |
int | ccurRTDB_setOperatorFlagP (RTDBItem *pItem, int enable) |
int | ccurRTDB_setRTFlagP (RTDBItem *pItem, int enable, int fl) |
int | ccurRTDB_getNumberOfItems (void) |
int | ccurRTDB_getMaxNumberOfItems (void) |
int | ccurRTDB_getMaxNumberOfStrings (void) |
double | ccurRTDB_getFrameRate (void) |
void | ccurRTDB_setFrameLength (int frameLength) |
int | ccurRTDB_getFrameLength (void) |
unsigned int | ccurRTDB_getFrameCount () |
void | ccurRTDB_incrementFrameCount () |
void | ccurRTDB_setFrameCount (unsigned int frameCount) |
void | ccurRTDB_setRunning (int running) |
void | ccurRTDB_setStopped () |
int | ccurRTDB_isRunning () |
unsigned long long | ccurRTDB_testGetStartTimeStamp () |
int | ccurRTDB_getItemMeta (const char *pointName, RTDBItemMeta *meta) |
int | ccurRTDB_setItemMeta (const char *pointName, RTDBItemMeta *meta) |
int | ccurRTDB_setLoggingFlagP (RTDBItem *pItem) |
int | ccurRTDB_setLoggingFlag (const char *pointName) |
int | ccurRTDB_resetLoggingFlagP (RTDBItem *pItem) |
int | ccurRTDB_resetLoggingFlag (const char *pointName) |
int | ccurRTDB_setLoggingFlagAll (void) |
int | ccurRTDB_setLoggingEnable (const char *pointName, char enable) |
int | ccurRTDB_setLoggingEnableP (RTDBItem *pItem, char enable) |
int | ccurRTDB_resetToDefault () |
int | ccurRTDB_setRTDBInitialConditionValues (void) |
int | ccurRTDB_setRTDBInitCondLogging (void) |
int | ccurRTDB_setRTDBShutDownValues (void) |
int | ccurRTDB_getDBMetaInfo (RTDBMetaInfo *p) |
int | ccurRTDB_isDBLoaded () |
void | ccurRTDB_setDBLoaded (int b) |
void | ccurRTDB_setDBName (const char *dbName) |
void | ccurRTDB_setDBOffset (const char *dbName, int offset) |
int | ccurRTDB_getDBIndex (const char *dbName) |
int | ccurRTDB_getDBOffset (const char *dbName) |
int | ccurRTDB_isDBNameLoaded (const char *dbName) |
int | ccurRTDB_setBoardDB (int boardId, int boardNum, const char *dbName) |
const char * | ccurRTDB_getBoardDB (int boardId, int boardNum) |
void | ccurRTDB_setDBDescription (const char *dbDescription) |
void | ccurRTDB_setDBCheckSum (unsigned int cks) |
unsigned int | ccurRTDB_getDBCheckSum (void) |
void | ccurRTDB_setTestSession (const char *testId, const char *sessionId) |
void | ccurRTDB_setSessionUserParm (const char *userParm) |
void | ccurRTDB_getSessionUserParm (char *userParm) |
void | ccurRTDB_setSnapshotConfig (const char *snapshotNameTemplate, int snapshotFormat, int snapshotMask, const char *snapshotNameMask) |
void | ccurRTDB_getTestSession (char *testId, char *sessionId) |
void | ccurRTDB_getSnapshotConfig (char *snapshotNameTemplate, int *snapshotFormat, int *snapshotMask, char *snapshotNameMask) |
void | ccurRTDB_setTestInitCondition (const char *initCondName) |
void | ccurRTDB_getTestInitCondition (char *initCondName) |
void | ccurRTDB_setDLoggerRunning (int running) |
void | ccurRTDB_setCLoggerRunning (int running) |
void | ccurRTDB_setDataLoggerEnabled (int enabled) |
void | ccurRTDB_setSchedulingStatsEnabled (int enabled) |
int | ccurRTDB_schedulingStatsEnabled (void) |
int | ccurRTDB_getDataLoggerEnabled (void) |
void | ccurRTDB_resumeDLogger () |
void | ccurRTDB_pauseDLogger () |
void | ccurRTDB_newItemDLogger (int newHashIndex, char *oldName) |
void | ccurRTDB_stopCircularLogger () |
DLoggerCommands * | ccurRTDB_getDLoggerCommands (void) |
void | ccurRTDB_resetDLoggerCommands (void) |
int | ccurRTDB_formGetElem (FormImportElem *e) |
int | ccurRTDB_formGetCaptureElem (FormCaptureElem *e) |
int | ccurRTDB_isDLoggerRunning () |
int | ccurRTDB_isCLoggerRunning () |
void | ccurRTDB_setCircularLoggerLockBehavior (int behavior) |
int | ccurRTDB_getCircularLoggerLockBehavior (void) |
void | ccurRTDB_setDataLoggerDirectIO (int directIO) |
int | ccurRTDB_getDataLoggerDirectIO (void) |
void | ccurRTDB_getDBName (char *dbName) |
void | ccurRTDB_getMultiDBName (char *dbName, int len) |
int | ccurRTDB_getItemList (RTDBItemPairPtr *list, int *n, int pointType, const char *pattern) |
int | ccurRTDB_getHardwareConfigList (HardwareConfig ***list, int *n) |
const char * | ccurRTDB_getItemName (const RTDBItem *p) |
const char * | ccurRTDB_getItemEngUnits (const RTDBItem *p) |
const char * | ccurRTDB_getItemDescription (const RTDBItem *p) |
const char * | ccurRTDB_getItemNameByHashIndex (int hashIndex) |
unsigned char * | ccurRTDB_getDefaultStringAddress (RTDBItemMeta *p, int *len) |
int | ccurRTDB_getDefaultValueP (RTDBItemMeta *p, ItemValue *val) |
char * | ccurRTDB_metaToString (RTDBItem *p) |
char * | ccurRTDB_metaPairToString (RTDBItemMetaPair *p) |
int | ccurRTDB_getItemAddress (const char *name, RTDBItem **p) |
unsigned char * | ccurRTDB_getItemRTFlagsAddress (RTDBItem *p) |
unsigned char | ccurRTDB_getItemRTFlagsP (RTDBItem *p) |
void * | ccurRTDB_getItemCVTValueAddress (const char *name) |
void * | ccurRTDB_getItemAltValueAddress (const char *name) |
int | ccurRTDB_regexItemAddress (const char *regex, RTDBItem **p, char *name) |
int | ccurRTDB_globItemAddress (const char *glob, RTDBItem **p, char *name) |
int | ccurRTDB_getHardwareConfigAddress (const char *name, HardwareConfig **p) |
int | ccurRTDB_getEUConversionAddress (const char *name, EUConversion **p) |
int | ccurRTDB_resolveIOMappings (const char *name, RTDBItem *pItem, char *errString) |
int | ccurRTDB_resolveEUConversion (const char *name, RTDBItem *pItem, char *errString) |
int | ccurRTDB_getItemIndex (const char *name) |
int | ccurRTDB_getHardwareConfigIndex (const char *name) |
RTDBItem * | ccurRTDB_itemIndexToAddress (int index) |
HardwareConfig * | ccurRTDB_hardwareConfigIndexToAddress (int index) |
EUConversion * | ccurRTDB_euConversionIndexToAddress (int index) |
void | ccurRTDB_setLoggedUser (const char *userName) |
const char * | ccurRTDB_getLoggedUser (void) |
void | ccurRTDB_setSelectedProject (const char *project) |
const char * | ccurRTDB_getSelectedProject (void) |
void | ccurRTDB_scriptInitStdIO (void) |
ScriptStdIO * | ccurRTDB_getScriptStdIOAddress (void) |
int | ccurRTDB_writeStdOut (char *str) |
double | ccurRTDB_euPhysicalToRaw (RTDBItemMeta *meta, double euValue) |
double | ccurRTDB_euRawToPhysical (RTDBItemMeta *meta, double rawValue) |
int | ccurRTDB_asyncGetLastRXIntervalP (const RTDBItem *pItem) |
int | ccurAsyncIO_asyncGetLastRXIntervalP (const RTDBItem *pItem) |
int | ccurRTDB_asyncGetLastRXInterval (const char *pointName) |
int | ccurAsyncIO_asyncGetLastRXInterval (const char *pointName) |
int | ccurRTDB_asyncGetTimeSinceLastRXP (const RTDBItem *pItem) |
int | ccurAsyncIO_asyncGetTimeSinceLastRXP (const RTDBItem *pItem) |
int | ccurRTDB_asyncGetTimeSinceLastRX (const char *pointName) |
int | ccurAsyncIO_asyncGetTimeSinceLastRX (const char *pointName) |
unsigned long long | ccurRTDB_asyncGetRXTimeStampP (const RTDBItem *pItem) |
unsigned long long | ccurAsyncIO_asyncGetRXTimeStampP (const RTDBItem *pItem) |
int * | ccurRTDB_getBoardMutex () |
char * | ccurSIMCfg_makeProjectDir (const char *project, char *projectDir) |
const char * | ccurSIMCfg_getProjectsRootDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsScriptDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsMDLDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsASAMDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsRTWDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsRTWSourceDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsUserPgmSourceDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsUserPgmExecDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsSimpackDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsCarMakerDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsAdamsDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsFMUDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsPythonDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsRTDBDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsTestsDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsEnvDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsWaveFormDirRunTime (void) |
const char * | ccurSIMCfg_getProjectsSigGenDirRunTime (void) |
void | ccurRTDB_formImport (const char *formName, char inputsOnly) |
char * | ccurCapture_fileName (int type, const char *formName, const char *testId, const char *sessionId, const char *nameTemplate, int captureType) |
int | ccurRTDB_formCapture (const char *formName, const char *nameTemplate, int captureType, double period, int runCount) |
void | ccurRTDB_snapshot (void) |
int | ccurRTDB_takeSnapshot (void) |
void | ccurRTDB_getInternalPtrs (RTDBItem **p1, RTDBItemKey **p3) |
int | ccurRTDB_addUnit (int uClass, const char *name, double A, double B) |
UnitResidentTable * | ccurRTDB_getUnitTable () |
int | ccurRTDB_getUnitIndex (const char *name) |
int | ccurRTDB_getUnitDefinition (const RTDBItem *pItem, UnitDefinition *unitDef) |
int | ccurRTDB_getUnitDefinitionFromName (const char *name, UnitDefinition *unitDef) |
int | ccurRTDB_mapModelCVT (const char *pgmName, void *cvtTable, int cvtSize) |
void | ccurRTDB_modelSetDebug (int deb) |
int | ccurRTDB_modelDataExchangeInit (const char *modelName) |
void | ccurRTDB_modelCopyInputs (void) |
Variables |
char * | optarg |
int | optind |
unsigned char * | pDefaultValueTable |
int | rawAvailOffset |