Wiselib
Public Types | Public Member Functions
wiselib::RoombaEventSensor< OsModel_P, Roomba_P > Class Template Reference

#include <roomba_event_sensor.h>

List of all members.

Public Types

enum  Event { EVENT_NONE = 0x0, EVENT_WALL = 0x1 }
enum  ReturnValues { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC }
typedef OsModel_P OsModel
typedef Roomba_P Roomba
typedef delegate1< void, uint8_tevent_callback_t
typedef RoombaEventSensor
< OsModel, Roomba
self_type
typedef self_typeself_pointer_t

Public Member Functions

int init (Roomba &roomba)
int init ()
int destruct ()
template<typename T , void(T::*)(uint8_t) TMethod>
int reg_event_callback (T *obj)
void on_new_data ()

template<typename OsModel_P, typename Roomba_P>
class wiselib::RoombaEventSensor< OsModel_P, Roomba_P >


Member Typedef Documentation

template<typename OsModel_P, typename Roomba_P>
typedef delegate1<void, uint8_t> wiselib::RoombaEventSensor< OsModel_P, Roomba_P >::event_callback_t
template<typename OsModel_P, typename Roomba_P>
typedef OsModel_P wiselib::RoombaEventSensor< OsModel_P, Roomba_P >::OsModel
template<typename OsModel_P, typename Roomba_P>
typedef Roomba_P wiselib::RoombaEventSensor< OsModel_P, Roomba_P >::Roomba
template<typename OsModel_P, typename Roomba_P>
typedef self_type* wiselib::RoombaEventSensor< OsModel_P, Roomba_P >::self_pointer_t
template<typename OsModel_P, typename Roomba_P>
typedef RoombaEventSensor<OsModel, Roomba> wiselib::RoombaEventSensor< OsModel_P, Roomba_P >::self_type

Member Enumeration Documentation

template<typename OsModel_P, typename Roomba_P>
enum wiselib::RoombaEventSensor::Event
Enumerator:
EVENT_NONE 
EVENT_WALL 
template<typename OsModel_P, typename Roomba_P>
enum wiselib::RoombaEventSensor::ReturnValues
Enumerator:
SUCCESS 
ERR_UNSPEC 

Member Function Documentation

template<typename OsModel_P , typename Roomba_P >
int wiselib::RoombaEventSensor< OsModel_P, Roomba_P >::destruct ( void  )
template<typename OsModel_P , typename Roomba_P >
int wiselib::RoombaEventSensor< OsModel_P, Roomba_P >::init ( void  )
template<typename OsModel_P , typename Roomba_P >
int wiselib::RoombaEventSensor< OsModel_P, Roomba_P >::init ( Roomba roomba)
template<typename OsModel_P , typename Roomba_P >
void wiselib::RoombaEventSensor< OsModel_P, Roomba_P >::on_new_data ( )
template<typename OsModel_P , typename Roomba_P >
template<typename T , void(T::*)(uint8_t) TMethod>
int wiselib::RoombaEventSensor< OsModel_P, Roomba_P >::reg_event_callback ( T *  obj)

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