Main Page   Hardware Class Hierarchy   Hardware API     Mapping Class Hierarchy  Mapping API 

EB500_CommunicationDevice Class Reference

A communication device using the EB500 Bluetooth module. More...

#include <commdevice_eb500.h>

Inheritance diagram for EB500_CommunicationDevice:

CommunicationDevice

Public Member Functions

 EB500_CommunicationDevice (oEB500 *const eb500)
void initialize (void)
void outbyte (char c)
char inbyte (void)
bool havebyte (void)
OOMRM_COMMUNICATION_TYPE type (void)

Protected Member Functions

void outbyte_callback (foochar)
void inbyte_callback (charfoo)
void havebyte_callback (boolfoo)

Protected Attributes

foochar _outbyte_callback
charfoo _inbyte_callback
boolfoo _havebyte_callback
enum OOMRM_COMMUNICATION_TYPE _type

Detailed Description

A communication device using the EB500 Bluetooth module.

Warning:
Although the EB500 is not static, but only a single EB500 commdevice object is allowed because of the implementation limitations; i.e. the static oEB500 pointer is file scope. Can't be class data as is used in callback function.


Constructor & Destructor Documentation

EB500_CommunicationDevice oEB500 *const  eb500  ) 
 


Member Function Documentation

bool havebyte void   )  [inline, inherited]
 

void havebyte_callback boolfoo   )  [protected, inherited]
 

char inbyte void   )  [inline, inherited]
 

void inbyte_callback charfoo   )  [protected, inherited]
 

void initialize void   ) 
 

void outbyte char  c  )  [inline, inherited]
 

void outbyte_callback foochar   )  [protected, inherited]
 

OOMRM_COMMUNICATION_TYPE type void   )  [inline, inherited]
 


Field Documentation

boolfoo _havebyte_callback [protected, inherited]
 

charfoo _inbyte_callback [protected, inherited]
 

foochar _outbyte_callback [protected, inherited]
 

enum OOMRM_COMMUNICATION_TYPE _type [protected, inherited]
 


Generated on Mon Oct 8 19:32:24 2007 for OOMRM Mapping API by doxygen1.3