sensorfw: include/sfwerror.h Source File

sensorfw

sfwerror.h
Go to the documentation of this file.
1
26#ifndef SFW_ERROR_H
27#define SFW_ERROR_H
28
32static const int INVALID_SESSION = -1;
33
37 typedef enum
38{
39 SmNoError = 0,
40 SmNotConnected,
41 SmCanNotRegisterService,
42 SmCanNotRegisterObject,
43 SmAlreadyUnderControl,
44 SmIdNotRegistered,
45 SmFactoryNotRegistered,
46 SmNotInstantiated,
47 SmAdaptorNotStarted
48} SensorManagerError;
49
53 typedef enum
54{
55 SNoError = 0,
56 SSensorNotValid,
57 SAdaptorNotStarted,
58 SAdaptorNotObtained,
59 SAdaptorNotInitialized,
60 SHardwareIdNotInitialized,
61 SRingBufferNotFound,
62 SJoinFailed,
63 SHwSensorStartFailed,
64 SCannotAccessHwSensor,
65 SPropertyGetError,
66 SPropertySetError,
67 SClientSocketError,
68 //SaCannotAccessHwSensor,
69 SaCannotAccessSensor,
70 SaAccessNotAllowed,
71 SaPropertyDoesNotExist,
72 SaValueOutOfRange,
73} SensorError;
74
75#endif // SFW_ERROR_H
SensorManagerError
SensorManagerError
Enumeration about SensorManager error states.
Definition: sfwerror.h:38
SmFactoryNotRegistered
@ SmFactoryNotRegistered
Definition: sfwerror.h:45
SmIdNotRegistered
@ SmIdNotRegistered
Definition: sfwerror.h:44
SmNotInstantiated
@ SmNotInstantiated
Definition: sfwerror.h:46
SmNoError
@ SmNoError
Definition: sfwerror.h:39
SmAdaptorNotStarted
@ SmAdaptorNotStarted
Definition: sfwerror.h:47
SmCanNotRegisterService
@ SmCanNotRegisterService
Definition: sfwerror.h:41
SmNotConnected
@ SmNotConnected
Definition: sfwerror.h:40
SmCanNotRegisterObject
@ SmCanNotRegisterObject
Definition: sfwerror.h:42
SmAlreadyUnderControl
@ SmAlreadyUnderControl
Definition: sfwerror.h:43
SensorError
SensorError
Enumeration about sensor error states.
Definition: sfwerror.h:54
SAdaptorNotObtained
@ SAdaptorNotObtained
Definition: sfwerror.h:58
SJoinFailed
@ SJoinFailed
Definition: sfwerror.h:62
SaCannotAccessSensor
@ SaCannotAccessSensor
Definition: sfwerror.h:69
SaValueOutOfRange
@ SaValueOutOfRange
Definition: sfwerror.h:72
SNoError
@ SNoError
Definition: sfwerror.h:55
SHardwareIdNotInitialized
@ SHardwareIdNotInitialized
Definition: sfwerror.h:60
SHwSensorStartFailed
@ SHwSensorStartFailed
Definition: sfwerror.h:63
SaPropertyDoesNotExist
@ SaPropertyDoesNotExist
Definition: sfwerror.h:71
SSensorNotValid
@ SSensorNotValid
Definition: sfwerror.h:56
SPropertyGetError
@ SPropertyGetError
Definition: sfwerror.h:65
SaAccessNotAllowed
@ SaAccessNotAllowed
Definition: sfwerror.h:70
SPropertySetError
@ SPropertySetError
Definition: sfwerror.h:66
SClientSocketError
@ SClientSocketError
Definition: sfwerror.h:67
SAdaptorNotStarted
@ SAdaptorNotStarted
Definition: sfwerror.h:57
SRingBufferNotFound
@ SRingBufferNotFound
Definition: sfwerror.h:61
SAdaptorNotInitialized
@ SAdaptorNotInitialized
Definition: sfwerror.h:59
SCannotAccessHwSensor
@ SCannotAccessHwSensor
Definition: sfwerror.h:64