exceptionsHelper.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef EXCEPTIONSHELPER_H
00009 #define EXCEPTIONSHELPER_H
00010
00011 #include "exceptions.h"
00012 #include "statusCodes.h"
00013 #include "defines.h"
00014
00015 class ExceptionsHelper
00016 {
00017 private:
00018 CAFEDataTypeCode cafeDataTypeCode;
00019 CAFEStatus cafeStatus;
00020 public:
00021 CAFEException_pv prepareCAFEException_pv(const char *pv, const char *pvAlias,
00022 unsigned int handle, chid pCh, int status,
00023 const char * source, unsigned int ln);
00024
00025 CAFEException_group prepareCAFEException_group(
00026 char groupName [PVNAME_SIZE],
00027 unsigned int groupHandle,
00028 int statusCode,
00029 const char * source,
00030 unsigned int ln);
00031
00032 ExceptionsHelper(void){};
00033 ~ExceptionsHelper(void){};
00034 void printCAFEException_pv(CAFEException_pv & e);
00035
00036
00037 };
00038 #endif // EXCEPTIONSHELPER_H