Wiselib
Public Types | Public Member Functions
wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P > Class Template Reference

iSense Implementation of Com FacetiSense implementation of the Com Facet ... More...

#include <shawn_dummy_com_uart.h>

List of all members.

Public Types

enum  ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC }
typedef OsModel_P OsModel
typedef ShawnDummyComUartModel
< OsModel, Debug_P > 
self_type
typedef self_typeself_pointer_t
typedef delegate2< void,
uint8_t, uint8_t * > 
comuart_delegate_t
typedef uint8_t block_data_t
typedef uint8_t size_t

Public Member Functions

 ShawnDummyComUartModel (ShawnOs &os)
int enable_serial_comm ()
int disable_serial_comm ()
int write (size_t len, block_data_t *buf)
template<class T , void(T::*)(size_t, block_data_t *) TMethod>
int reg_read_callback (T *obj_pnt)
int unreg_read_callback (int idx)
int init (Debug_P &debug)
void receive (size_t len, block_data_t *buf)

Detailed Description

template<typename OsModel_P, typename Debug_P = typename OsModel_P::Debug>
class wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >

iSense Implementation of Com Facet

iSense implementation of the Com Facet ...


Member Typedef Documentation

template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
typedef uint8_t wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::block_data_t
template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
typedef delegate2<void, uint8_t, uint8_t*> wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::comuart_delegate_t
template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
typedef OsModel_P wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::OsModel
template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
typedef self_type* wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::self_pointer_t
template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
typedef ShawnDummyComUartModel<OsModel,Debug_P> wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::self_type
template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
typedef uint8_t wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::size_t

Member Enumeration Documentation

template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
enum wiselib::ShawnDummyComUartModel::ErrorCodes
Enumerator:
SUCCESS 
ERR_UNSPEC 

Constructor & Destructor Documentation

template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::ShawnDummyComUartModel ( ShawnOs os) [inline]

Member Function Documentation

template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
int wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::disable_serial_comm ( ) [inline]
template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
int wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::enable_serial_comm ( ) [inline]
template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
int wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::init ( Debug_P &  debug) [inline]
template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
void wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::receive ( size_t  len,
block_data_t buf 
) [inline]
template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
template<class T , void(T::*)(size_t, block_data_t *) TMethod>
int wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::reg_read_callback ( T *  obj_pnt) [inline]
template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
int wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::unreg_read_callback ( int  idx) [inline]
template<typename OsModel_P , typename Debug_P = typename OsModel_P::Debug>
int wiselib::ShawnDummyComUartModel< OsModel_P, Debug_P >::write ( size_t  len,
block_data_t buf 
) [inline]

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