sensorfw
sfwerror.h File Reference

Error definitions. More...

Go to the source code of this file.

Enumerations

enum  SensorManagerError {
  SmNoError = 0 , SmNotConnected , SmCanNotRegisterService , SmCanNotRegisterObject ,
  SmAlreadyUnderControl , SmIdNotRegistered , SmFactoryNotRegistered , SmNotInstantiated ,
  SmAdaptorNotStarted
}
 Enumeration about SensorManager error states. More...
 
enum  SensorError {
  SNoError = 0 , SSensorNotValid , SAdaptorNotStarted , SAdaptorNotObtained ,
  SAdaptorNotInitialized , SHardwareIdNotInitialized , SRingBufferNotFound , SJoinFailed ,
  SHwSensorStartFailed , SCannotAccessHwSensor , SPropertyGetError , SPropertySetError ,
  SClientSocketError , SaCannotAccessSensor , SaAccessNotAllowed , SaPropertyDoesNotExist ,
  SaValueOutOfRange
}
 Enumeration about sensor error states. More...
 

Detailed Description

Error definitions.

Copyright (C) 2009-2010 Nokia Corporation

Author
Joep van Gassel joep..nosp@m.van..nosp@m.gasse.nosp@m.l@no.nosp@m.kia.c.nosp@m.om

This file is part of Sensord.

Sensord is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.

Sensord is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with Sensord. If not, see http://www.gnu.org/licenses/.

Definition in file sfwerror.h.

Enumeration Type Documentation

◆ SensorError

Enumeration about sensor error states.

Enumerator
SNoError 
SSensorNotValid 
SAdaptorNotStarted 
SAdaptorNotObtained 
SAdaptorNotInitialized 
SHardwareIdNotInitialized 
SRingBufferNotFound 
SJoinFailed 
SHwSensorStartFailed 
SCannotAccessHwSensor 
SPropertyGetError 
SPropertySetError 
SClientSocketError 
SaCannotAccessSensor 
SaAccessNotAllowed 
SaPropertyDoesNotExist 
SaValueOutOfRange 

Definition at line 53 of file sfwerror.h.

◆ SensorManagerError

Enumeration about SensorManager error states.

Enumerator
SmNoError 
SmNotConnected 
SmCanNotRegisterService 
SmCanNotRegisterObject 
SmAlreadyUnderControl 
SmIdNotRegistered 
SmFactoryNotRegistered 
SmNotInstantiated 
SmAdaptorNotStarted 

Definition at line 37 of file sfwerror.h.