Compounds |
struct | tacSTDBLOCK_TYPE |
struct | tacSTDBLOCK |
Defines |
#define | tacStdBlockGetSamplingPeriod(pSelf) ((*pSelf->shared).samplingPeriod) |
#define | tacStdBlockGetTime(pSelf) (&((*pSelf->shared).currentTime)) |
#define | tacStdBlockGetSimulation(pSelf) ((*pSelf->shared).simulation) |
#define | tacStdBlockGetInput(pSelf, inputIndex) (*(pSelf->input[inputIndex])) |
#define | tacStdBlockGetOutput(pSelf, outputIndex) (pSelf->output[outputIndex]) |
#define | tacStdBlockSetOutput(pSelf, outputIndex, value) |
#define | tacStdBlockSetAlgorithm(pSelf, pAlgo) |
Typedefs |
typedef tacPARAM | tacSTDBLOCK_PARAM |
Functions |
STATUS | tacStdBlockInitAll (void) |
STATUS | tacStdBlockInstallNewType (tacSTDBLOCK_TYPE *typeInfo) |
STATUS | tacStdBlockConstructor (tacSTDBLOCK **pSelf, char *type, char *name, tacSTDBLOCK_PARAM *parameter, tacSHARED *shared, tacERROR *error) |
STATUS | tacStdBlockReport (tacSTDBLOCK *pSelf, char *type, char *name, tacSTDBLOCK_PARAM *parameter, tacERROR *error) |
STATUS | tacStdBlockSetParameter (tacSTDBLOCK *pSelf, tacSTDBLOCK_PARAM *parameter, tacERROR *error) |
void | tacStdBlockReset (tacSTDBLOCK *pSelf) |
void | tacStdBlockStop (tacSTDBLOCK *pSelf) |
void | tacStdBlockDestructor (tacSTDBLOCK *pSelf) |
double * | tacStdBlockGetOutputRef (tacSTDBLOCK *pSelf, unsigned short outputPort) |
void | tacStdBlockSetInputNumber (tacSTDBLOCK *pSelf, unsigned short inputNumber) |
int | tacStdBlockIsResolved (tacSTDBLOCK *pSelf) |
STATUS | tacStdBlockAttachInput (tacSTDBLOCK *pSelf, unsigned short inputPort, double *signal, tacERROR *error) |
STATUS | tacStdBlockDetachInput (tacSTDBLOCK *pSelf, unsigned short inputPort, tacERROR *error) |
STATUS | tacStdBlockAllocateArrays (tacSTDBLOCK *pSelf, unsigned short paramNb, unsigned short inputNb, unsigned short outputNb, tacERROR *error) |