Wiselib
Classes | Public Types | Public Member Functions
wiselib::ContikiClockModel< OsModel_P > Class Template Reference

Contiki Implementation of Clock ConceptContiki implementation of the Clock Concept ... More...

#include <contiki_clock.h>

List of all members.

Classes

struct  timer

Public Types

enum  ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC }
enum  { READY = OsModel::READY, NO_VALUE = OsModel::NO_VALUE, INACTIVE = OsModel::INACTIVE }
enum  { CLOCKS_PER_SEC = 1000 }
typedef OsModel_P OsModel
typedef ContikiClockModel
< OsModel
self_type
typedef self_typeself_pointer_t
typedef clock_time_t time_t

Public Member Functions

 ContikiClockModel ()
void init ()
int state ()
time_t time ()
int set_time (time_t time)
uint16_t microseconds (time_t time)
uint16_t milliseconds (time_t time)
uint32_t seconds (time_t time)

Detailed Description

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

Contiki Implementation of Clock Concept

Contiki implementation of the Clock Concept ...


Member Typedef Documentation

template<typename OsModel_P >
typedef OsModel_P wiselib::ContikiClockModel< OsModel_P >::OsModel
template<typename OsModel_P >
typedef self_type* wiselib::ContikiClockModel< OsModel_P >::self_pointer_t
template<typename OsModel_P >
typedef ContikiClockModel<OsModel> wiselib::ContikiClockModel< OsModel_P >::self_type
template<typename OsModel_P >
typedef clock_time_t wiselib::ContikiClockModel< OsModel_P >::time_t

Member Enumeration Documentation

template<typename OsModel_P >
anonymous enum
Enumerator:
READY 
NO_VALUE 
INACTIVE 
template<typename OsModel_P >
anonymous enum
Enumerator:
CLOCKS_PER_SEC 
template<typename OsModel_P >
enum wiselib::ContikiClockModel::ErrorCodes
Enumerator:
SUCCESS 
ERR_UNSPEC 

Constructor & Destructor Documentation

template<typename OsModel_P >
wiselib::ContikiClockModel< OsModel_P >::ContikiClockModel ( ) [inline]

Member Function Documentation

template<typename OsModel_P >
void wiselib::ContikiClockModel< OsModel_P >::init ( void  ) [inline]
template<typename OsModel_P >
uint16_t wiselib::ContikiClockModel< OsModel_P >::microseconds ( time_t  time) [inline]
template<typename OsModel_P >
uint16_t wiselib::ContikiClockModel< OsModel_P >::milliseconds ( time_t  time) [inline]
template<typename OsModel_P >
uint32_t wiselib::ContikiClockModel< OsModel_P >::seconds ( time_t  time) [inline]
template<typename OsModel_P >
int wiselib::ContikiClockModel< OsModel_P >::set_time ( time_t  time) [inline]
template<typename OsModel_P >
int wiselib::ContikiClockModel< OsModel_P >::state ( ) [inline]
template<typename OsModel_P >
time_t wiselib::ContikiClockModel< OsModel_P >::time ( ) [inline]

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