A class that implements the behavior of LabJackDevice objects.
More...
#include <LabJackScaffold.h>
|
class | LabJackDevice |
|
class | LabJackThread |
|
struct | StateData |
|
A class that implements the behavior of LabJackDevice objects.
- See also
- SurgSim::Devices::LabJackDevice
§ configureDevice()
void SurgSim::Devices::LabJackScaffold::configureDevice |
( |
DeviceData * |
device | ) |
|
Does one-time configuration of the LabJack for timers, counters, and analog inputs.
Must be called by the LabJackThread because the LabJack separates all commands by the calling thread.
- Parameters
-
device | The internal device data. |
§ getOrCreateSharedInstance()
std::shared_ptr< LabJackScaffold > SurgSim::Devices::LabJackScaffold::getOrCreateSharedInstance |
( |
| ) |
|
|
static |
Gets or creates the scaffold shared by all LabJackDevice instances.
The scaffold is managed using a SharedInstance object, so it will be destroyed when all devices are released.
- Returns
- the scaffold object.
The documentation for this class was generated from the following files:
- SurgSim/Devices/LabJack/LabJackScaffold.h
- SurgSim/Devices/LabJack/linux/LabJackScaffold.cpp