Go to the documentation of this file.00001
00026 #ifndef SFW_ERROR_H
00027 #define SFW_ERROR_H
00028
00032 static const int INVALID_SESSION = -1;
00033
00037 typedef enum
00038 {
00039 SmNoError = 0,
00040 SmNotConnected,
00041 SmCanNotRegisterService,
00042 SmCanNotRegisterObject,
00043 SmAlreadyUnderControl,
00044 SmIdNotRegistered,
00045 SmFactoryNotRegistered,
00046 SmNotInstantiated,
00047 SmAdaptorNotStarted
00048 } SensorManagerError;
00049
00053 typedef enum
00054 {
00055 SNoError = 0,
00056 SSensorNotValid,
00057 SAdaptorNotStarted,
00058 SAdaptorNotObtained,
00059 SAdaptorNotInitialized,
00060 SHardwareIdNotInitialized,
00061 SRingBufferNotFound,
00062 SJoinFailed,
00063 SHwSensorStartFailed,
00064 SCannotAccessHwSensor,
00065 SPropertyGetError,
00066 SPropertySetError,
00067 SClientSocketError,
00068
00069 SaCannotAccessSensor,
00070 SaAccessNotAllowed,
00071 SaPropertyDoesNotExist,
00072 SaValueOutOfRange,
00073 } SensorError;
00074
00075 #endif // SFW_ERROR_H