// This destructor closes out the SEI bus, and deallocates memory vrpn_Analog_USDigital_A2::~vrpn_Analog_USDigital_A2() { #ifdef VRPN_USE_USDIGITAL // close out the SEI bus if (_SEIopened==vrpn_true) { (void) CloseSEI() ; } // deallocate the list of device addresses. delete _devAddr ; _devAddr = 0 ; #endif } // destructor
//--------------- void Bus::close() { if (IsInitialized() == 1) { CloseSEI(); } }