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

DeviceNameService Class Reference

#include <dns.h>


Public Member Functions

 DeviceNameService (void)

Static Public Member Functions

void config (const char *const, const char *const, uint8, uint8)
bool lookup (const char *const name, ID_T &address)
bool lookup (ID_T address, char *const name)
uint8 system (void)
 With no parameter, returns current system ID.

uint8 subsystem (void)
 With no parameter, returns current subsystem ID.


Protected Member Functions

void load_table (void)

Static Protected Attributes

char _devices []
char _sysname [8]
char _subsysname [8]
uint8 _systemid
uint8 _subsystemid


Constructor & Destructor Documentation

DeviceNameService void   ) 
 


Member Function Documentation

void config const char *  const,
const char *  const,
uint8  ,
uint8 
[static]
 

void load_table void   )  [protected]
 

bool lookup ID_T  address,
char *const  name
[static]
 

bool lookup const char *const  name,
ID_T address
[static]
 

uint8 subsystem void   )  [inline, static]
 

With no parameter, returns current subsystem ID.

uint8 system void   )  [inline, static]
 

With no parameter, returns current system ID.


Field Documentation

char _devices[] [static, protected]
 

char _subsysname[8] [static, protected]
 

uint8 _subsystemid [static, protected]
 

char _sysname[8] [static, protected]
 

uint8 _systemid [static, protected]
 


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