This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Compounds | |
| struct | agRMS_TBL |
| struct | agSTAT_DATA |
| struct | agLAST_CORRECTION |
| struct | agGUIDE_CONFIG |
| struct | agGLOBAL |
Defines | |
| #define | agRMS_TBL_SIZE 10 |
| #define | lccMODULE_ID "ag" |
| #define | agMOD "ag" |
| #define | agLOG_ID 111 |
| #define | agSERVER_NAME "agServer" |
| #define | agSERVER_PRIORITY 80 |
| #define | agSERVER_OPTIONS VX_FP_TASK |
| #define | agSERVER_STACK 60000 |
| #define | agTASK_NAME "agGuiding" |
| #define | agTASK_PRIORITY 25 |
| #define | agTASK_OPTIONS VX_FP_TASK |
| #define | agTASK_STACK 60000 |
| #define | agTIMEOUT (5*TEN_MSEC) |
| #define | agTIMEOUT_TRK (10*ONE_SEC) |
| #define | agREGISTER_CCS() |
| #define | agEXIT_CCS() |
| #define | agVERBOSE_CMD(str) |
| #define | agCHECK_FAILURE |
| #define | _ag_tostr(a) #a |
| #define | _ag_tostr_pass2(a) _ag_tostr(a) |
| #define | __FILE_LINE__ __FILE__ "(" _ag_tostr_pass2(__LINE__) ")" |
| #define | agERROR_ADD(errNum, format, args...) |
| #define | agERROR_RETURN(errNum, format, args...) |
| #define | agTASK_ERROR_RETURN(errNum, format, args...) |
| #define | agTASK_ERROR_RETURN_NC(errNum, format, args...) |
| #define | agMEMCPY(s) |
| #define | agDBWRITE_STAT() |
| #define | agDBWRITE_LAST_CORRECTION() |
| #define | MUTEX_ENTER |
| #define | MUTEX_EXIT |
Functions | |
| ccsCOMPL_STAT | agStdOff (IN const char *moduleId, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agDbReadConfig (OUT agGLOBAL *ptr, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agDbReadConfigParams (IN char *configVector, OUT agGUIDE_CONFIG *config, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agDbReadErrVecParams (IN char *configVector, OUT agGUIDE_CONFIG *config, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agDbWriteErrVecParams (OUT char *configVector, OUT agGUIDE_CONFIG *config, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agWaitErrorVector (OUT vltLOGICAL *newErrorVector, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agExitErrorVectorHook (OUT ccsERROR *error) |
| ccsCOMPL_STAT | agInitErrorVectorHook (OUT ccsERROR *error) |
| ccsCOMPL_STAT | agStdGetState (OUT lccDEV_MODE *agState, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agStdSetState (IN lccDEV_MODE agState, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agGuidingTaskLoop (IN agGLOBAL *ptr, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agGuidingTask (IN SEM_ID *syncSem, OUT ccsCOMPL_STAT *initStatus, IN vltDOUBLE *rotAngle, IN agGLOBAL *ptr) |
| ccsCOMPL_STAT | agSendPeriodicReply (IN msgMSG *msg, IN vltDOUBLE repFrq, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agDbWriteGuidingActive (OUT vltINT32 active, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agDbWriteRotAngle (OUT vltDOUBLE rotAngle, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agDbReadPIIParams (IN char *configVector, OUT agPII *pii, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agDbWritePIIParams (IN char *configVector, IN agPII *pii, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agConfigPIIParams (IN agPII_CMD *pii, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agDbReadCcdipParams (IN char *configVector, OUT ccdipCVBUF *cvb, OUT vltINT32 *pRejectionLimit, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agDbWriteCcdipParams (IN char *configVector, IN ccdipCVBUF *cvb, IN vltINT32 rejectionLimit, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agConfigCcdipParams (IN ccdipCVBUF *cvb, IN vltINT32 rejectionLimit, OUT ccsERROR *error) |
| ccsCOMPL_STAT | agConfig (IN vltDOUBLE errorVectorMin, IN vltDOUBLE offsetMax, IN vltDOUBLE sendFreq, IN vltINT32 errorVectorValues, OUT ccsERROR *error) |
Variables | |
| char | agVersion [] |
| char | agRecCmdStr [] |
| char | agExeCmdStr [] |
| agGLOBAL | agGlobal |
| agGLOBAL * | agGlobalPtr |
| agCcdipAGBUF | agUfBuff |
| agRMS_TBL | agRmsCorrectionTbl |
| agRMS_TBL | agRmsErrorVectorTbl |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: { \
char vxProcName[6]; \
ccsPROCNAME ccsProcName; \
\
\
strncpy(vxProcName,taskName(taskIdSelf()),5); \
vxProcName[5] = 0; \
sprintf(ccsProcName,"%s%x",vxProcName,taskIdSelf()); \
if (ccsInit(ccsProcName,0,NULL,NULL,error) != SUCCESS) \
return FAILURE; \
} |
|
|
Value: { \
ccsERROR error2; \
\
errResetStack(&error2); \
ccsExit(&error2); \
} |
|
|
Value: { \
if (lcuVerbose(msg, str, error) != SUCCESS) \
return FAILURE; \
} |
|
|
Value: { \
if ((status == FAILURE) && (error->errorNumber == 0))\
agERROR_ADD(agERR_INTERNAL, "%s", \
"Known lcc bug: return FAILURE but errorNumber still 0"); \
} |
|
|
|
|
|
|
|
|
|
|
|
Value: { \
\
\
\
errAdd(error,agMOD,errNum,__FILE_LINE__,NULL,##args); \
} |
|
|
Value: { \
printf("ERROR_RETURN %s(%d): ",__FILE__,__LINE__);\
printf(format, ##args); \
printf("\n"); \
errAdd(error,agMOD,errNum,__FILE_LINE__,NULL,##args); \
return FAILURE; \
} |
|
|
Value: { \
ptr->statData.errorTypeEncountered = errNum; \
printf("ERROR_RETURN %s(%d): ",__FILE__,__LINE__);\
printf(format, ##args); \
printf("\n"); \
errAdd(error,agMOD,errNum,__FILE_LINE__,NULL,##args); \
errCloseStack(error); \
return FAILURE; \
} |
|
|
Value: { \
ptr->statData.errorTypeEncountered = errNum; \
printf("ERROR_RETURN %s(%d): ",__FILE__,__LINE__);\
printf(format, ##args); \
printf("\n"); \
errAdd(error,agMOD,errNum,__FILE_LINE__,NULL,##args); \
semGive(*syncSem); \
return FAILURE; \
} |
|
|
Value: { \
memcpy(ptr,&s,sizeof s); ptr += sizeof s; \
} |
|
|
Value: { \
char bStream[sizeof(agSTAT_DATA)]; \
char *ptr = bStream; \
\
agMEMCPY(agGlobalPtr->statData.nbrErrorVectors); \
agMEMCPY(agGlobalPtr->statData.nbrUsedErrorVectors); \
agMEMCPY(agGlobalPtr->statData.startTime); \
agMEMCPY(agGlobalPtr->statData.startTimeUsec); \
agMEMCPY(agGlobalPtr->statData.freq); \
agMEMCPY(agGlobalPtr->statData.errorTypeEncountered); \
agMEMCPY(agGlobalPtr->statData.errRaRms); \
agMEMCPY(agGlobalPtr->statData.errDeclRms); \
\
if (caiWriteTable(agGlobalPtr->attrVector, agDB_STAT_DATA, \
(void *)bStream, 0, 0, -1,-1, error) != SUCCESS) \
agERROR_RETURN(agERR_DBWRITE,"%s", "caiWriteTable Statistic");\
} |
|
|
|
Value: { \
if(semTake(agGlobalPtr->mutexSem, 1) != OK) \
{ \
agERROR_RETURN(agERR_VXWORKS, "Take Semaphore %d", errnoGet()) \
} \
} |
|
|
Value: { \
if(semGive(agGlobalPtr->mutexSem) != OK) \
agERROR_RETURN(agERR_VXWORKS, "Give Semaphore %d", errnoGet()) \
} |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001