Wiselib
Public Types
wiselib::DefaultReturnValues< OsModel_P > Class Template Reference

Implementation of Basic Return Values. More...

#include <default_return_values.h>

List of all members.

Public Types

enum  ErrorCodes {
  SUCCESS = 0, ERR_UNSPEC = -1, ERR_NOMEM = 12, ERR_BUSY = 16,
  ERR_NOTIMPL = 38, ERR_NETDOWN = 100, ERR_HOSTUNREACH = 113
}
enum  StateValues { READY = 0, NO_VALUE = 1, INACTIVE = 2 }
typedef OsModel_P OsModel

Detailed Description

template<typename OsModel_P>
class wiselib::DefaultReturnValues< OsModel_P >

Implementation of Basic Return Values.

Default return values that can be used/provided by an Os Model.


Member Typedef Documentation

template<typename OsModel_P>
typedef OsModel_P wiselib::DefaultReturnValues< OsModel_P >::OsModel

Member Enumeration Documentation

template<typename OsModel_P>
enum wiselib::DefaultReturnValues::ErrorCodes
Enumerator:
SUCCESS 
ERR_UNSPEC 

Default return value of success.

ERR_NOMEM 

Unspecified error value - if no other fits.

ERR_BUSY 

Out of memory.

ERR_NOTIMPL 

Device or resource busy - try again later.

ERR_NETDOWN 

Function not implemented.

ERR_HOSTUNREACH 

Network is down.

template<typename OsModel_P>
enum wiselib::DefaultReturnValues::StateValues
Enumerator:
READY 
NO_VALUE 

Ready for asking for data.

INACTIVE 

Currently no data available.

Reimplemented in wiselib::ContikiOsModel, and wiselib::TriSOSOsModel.


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