Wiselib
Public Types
concepts::BasicReturnValues_concept Class Reference

Since nearly every method within the Wiselib returns at least, if the call was successful or not, the concept for the Basic Return Values defines constants for success and failure. More...

Inherited by concepts::Allocator_concept, concepts::CallbackSensor_concept, concepts::Os_concept, concepts::Routing_concept, concepts::StateCallback_concept, and concepts::TurnWalkMotion_concept.

List of all members.

Public Types

enum  {
  SUCCESS, ERR_UNSPEC, ERR_NOMEM, ERR_BUSY,
  ERR_NOTIMPL, ERR_NETDOWN, ERR_HOSTUNREACH
}
enum  StateValues { READY, NO_VALUE, INACTIVE }

Detailed Description

Since nearly every method within the Wiselib returns at least, if the call was successful or not, the concept for the Basic Return Values defines constants for success and failure.

Derived concepts may define more fine-grained failure values (which are not allowed to equal SUCCESS or ERR_UNSPEC).


Member Enumeration Documentation

anonymous enum
Enumerator:
SUCCESS 

Default return value of success.

ERR_UNSPEC 

Unspecified error value - if no other fits.

ERR_NOMEM 

Out of memory.

ERR_BUSY 

Device or resource busy - try again later.

ERR_NOTIMPL 

Function not implemented.

ERR_NETDOWN 

Network is down.

ERR_HOSTUNREACH 

No route to host.

Enumerator:
READY 

Ready for asking for data.

NO_VALUE 

Currently no data available.

INACTIVE 

Currently inactive - so no values available.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines