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

TinyOs Implementation of Clock Concept. More...

#include <tinyos_clock.h>

List of all members.

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 TinyOsClockModel< OsModelself_type
typedef self_typeself_pointer_t
typedef uint32_t time_t

Public Member Functions

 TinyOsClockModel ()
int state ()
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::TinyOsClockModel< OsModel_P >

TinyOs Implementation of Clock Concept.

, ,

TinyOs implementation of the Clock Concept ...


Member Typedef Documentation

template<typename OsModel_P >
typedef OsModel_P wiselib::TinyOsClockModel< OsModel_P >::OsModel
template<typename OsModel_P >
typedef self_type* wiselib::TinyOsClockModel< OsModel_P >::self_pointer_t
template<typename OsModel_P >
typedef TinyOsClockModel<OsModel> wiselib::TinyOsClockModel< OsModel_P >::self_type
template<typename OsModel_P >
typedef uint32_t wiselib::TinyOsClockModel< 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::TinyOsClockModel::ErrorCodes
Enumerator:
SUCCESS 
ERR_UNSPEC 

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename OsModel_P >
uint16_t wiselib::TinyOsClockModel< OsModel_P >::microseconds ( time_t  time) [inline]
template<typename OsModel_P >
uint16_t wiselib::TinyOsClockModel< OsModel_P >::milliseconds ( time_t  time) [inline]
template<typename OsModel_P >
uint32_t wiselib::TinyOsClockModel< OsModel_P >::seconds ( time_t  time) [inline]
template<typename OsModel_P >
int wiselib::TinyOsClockModel< OsModel_P >::state ( ) [inline]
template<typename OsModel_P >
time_t wiselib::TinyOsClockModel< 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