Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

DEVice Class Reference

#include <dev.H>

Inherits EVENTsource, and TYPEDOBJ.

Inherited by DEVbutton_serial, DEVbuttons_TRACKD, DEVbuttons_VRPN, DEVdiscrete_contact, DEVemitter, DEVice_1d, DEVice_1d_VRPN, DEVice_2d, DEVice_2d_TRACKD, DEVice_2d_VRPN, DEVice_6d, DEVice_btn, DEVice_kbd, DEVice_room6d, DEVice_Vicon, DEVICubeX, and DEVmouse.

List of all members.

Public Methods

 DEVice (Cstr_ptr &dev_name, Cstr_ptr &evt_name)
virtual ~DEVice ()
void add_handler (EVENThandler *h)
void rem_handler (EVENThandler *h)
void distrib (cEVENTptr &e) const
str_ptr dev_name () const
void debug (ostream &os) const
 DEFINE_BASE_TYPE (DEVice, const DEVice *)

Static Public Methods

void print_available_events (Cstr_ptr &evtype)
DEVice * lookup (EVENTsource s)
const ARRAY< DEVice * > & devices ()

Protected Attributes

ARRAY< EVENThandler * > _hdlrs
str_ptr _dev_name

Static Protected Attributes

ARRAY< DEVice * > * _devices = 0


Constructor & Destructor Documentation

DEVice::DEVice Cstr_ptr &    dev_name,
Cstr_ptr &    evt_name
 

virtual DEVice::~DEVice   [inline, virtual]
 


Member Function Documentation

void DEVice::add_handler EVENThandler   h [inline]
 

void DEVice::debug ostream &    os const [inline, virtual]
 

Reimplemented from EVENTsource.

DEVice::DEFINE_BASE_TYPE DEVice   ,
const DEVice *   
 

str_ptr DEVice::dev_name   const [inline]
 

const ARRAY<DEVice *>& DEVice::devices   [inline, static]
 

void DEVice::distrib cEVENTptr &    e const [inline]
 

DEVice * DEVice::lookup EVENTsource    s [static]
 

void DEVice::print_available_events Cstr_ptr &    evtype [static]
 

void DEVice::rem_handler EVENThandler   h [inline]
 


Member Data Documentation

str_ptr DEVice::_dev_name [protected]
 

ARRAY< DEVice * > * DEVice::_devices = 0 [static, protected]
 

ARRAY<EVENThandler *> DEVice::_hdlrs [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 15 16:25:59 2003 for gluebase by doxygen1.2.18