Wiselib
Public Types | Public Member Functions
wiselib::iSenseClockModel< OsModel_P, Time_P > Class Template Reference

iSense Implementation of Clock Concept More...

#include <isense_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_SECOND = 1000 }
typedef OsModel_P OsModel
typedef iSenseClockModel< OsModelself_type
typedef self_typeself_pointer_t
typedef Time_P time_t

Public Member Functions

 iSenseClockModel (isense::Os &os)
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, typename Time_P = isense::Time>
class wiselib::iSenseClockModel< OsModel_P, Time_P >

iSense Implementation of Clock Concept

iSense implementation of the Clock Concept ...


Member Typedef Documentation

template<typename OsModel_P , typename Time_P = isense::Time>
typedef OsModel_P wiselib::iSenseClockModel< OsModel_P, Time_P >::OsModel
template<typename OsModel_P , typename Time_P = isense::Time>
typedef self_type* wiselib::iSenseClockModel< OsModel_P, Time_P >::self_pointer_t
template<typename OsModel_P , typename Time_P = isense::Time>
typedef iSenseClockModel<OsModel> wiselib::iSenseClockModel< OsModel_P, Time_P >::self_type
template<typename OsModel_P , typename Time_P = isense::Time>
typedef Time_P wiselib::iSenseClockModel< OsModel_P, Time_P >::time_t

Member Enumeration Documentation

template<typename OsModel_P , typename Time_P = isense::Time>
anonymous enum
Enumerator:
READY 
NO_VALUE 
INACTIVE 
template<typename OsModel_P , typename Time_P = isense::Time>
anonymous enum
Enumerator:
CLOCKS_PER_SECOND 
template<typename OsModel_P , typename Time_P = isense::Time>
enum wiselib::iSenseClockModel::ErrorCodes
Enumerator:
SUCCESS 
ERR_UNSPEC 

Constructor & Destructor Documentation

template<typename OsModel_P , typename Time_P = isense::Time>
wiselib::iSenseClockModel< OsModel_P, Time_P >::iSenseClockModel ( isense::Os os) [inline]

Member Function Documentation

template<typename OsModel_P , typename Time_P = isense::Time>
uint16_t wiselib::iSenseClockModel< OsModel_P, Time_P >::microseconds ( time_t  time) [inline]
template<typename OsModel_P , typename Time_P = isense::Time>
uint16_t wiselib::iSenseClockModel< OsModel_P, Time_P >::milliseconds ( time_t  time) [inline]
template<typename OsModel_P , typename Time_P = isense::Time>
uint32_t wiselib::iSenseClockModel< OsModel_P, Time_P >::seconds ( time_t  time) [inline]
template<typename OsModel_P , typename Time_P = isense::Time>
int wiselib::iSenseClockModel< OsModel_P, Time_P >::set_time ( time_t  time) [inline]
template<typename OsModel_P , typename Time_P = isense::Time>
int wiselib::iSenseClockModel< OsModel_P, Time_P >::state ( ) [inline]
template<typename OsModel_P , typename Time_P = isense::Time>
time_t wiselib::iSenseClockModel< OsModel_P, Time_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