PlusToolkit / PlusLib

Software library for data acquisition, pre-processing, and calibration for navigated image-guided interventions.
http://www.plustoolkit.org
Other
130 stars 102 forks source link

ENH: Speed up PlusVersion check that includes WinProbe device #1129

Closed jamesobutler closed 8 months ago

jamesobutler commented 8 months ago

This moves some initialization and destruction of resources to the internal connect/disconnect calls instead of the device constructor and destructor. This is based on recommendations per https://plustoolkit.github.io/devicecode

"Initialization and destruction of resources is performed during YourDevice::InternalConnect and YourDevice::InternalDisconnect respectively."

cc: @matt-harmody-pki