Constructor that attempts to open a device.
- Parameters
-
model | The model of LabJack device to open (see strings in LabJackUD.h). |
connection | How to connect to the device (e.g., USB) (see strings in LabJackUD.h). |
address | Either the ID or serial number (if USB), or the IP address. |
SurgSim::Device::LabJackScaffold::Handle::~Handle |
( |
| ) |
|
|
inline |
SurgSim::Device::LabJackScaffold::Handle::Handle |
( |
const Handle & |
| ) |
|
|
private |
Constructor that attempts to open a device.
- Parameters
-
model | The model of LabJack device to open (see strings in LabJackUD.h). |
connection | How to connect to the device (e.g., USB) (see strings in LabJackUD.h). |
address | Either the ID or serial number (if USB), or the IP address. |
SurgSim::Device::LabJackScaffold::Handle::~Handle |
( |
| ) |
|
|
inline |
SurgSim::Device::LabJackScaffold::Handle::Handle |
( |
const Handle & |
| ) |
|
|
private |
void SurgSim::Device::LabJackScaffold::Handle::create |
( |
| ) |
|
|
inline |
Helper function called by the constructor to open the LabJack device for communications.
void SurgSim::Device::LabJackScaffold::Handle::create |
( |
| ) |
|
|
inline |
Helper function called by the constructor to open the LabJack device for communications.
bool SurgSim::Device::LabJackScaffold::Handle::destroy |
( |
| ) |
|
|
inline |
bool SurgSim::Device::LabJackScaffold::Handle::destroy |
( |
| ) |
|
|
inline |
LJ_HANDLE SurgSim::Device::LabJackScaffold::Handle::get |
( |
| ) |
const |
|
inline |
- Returns
- The LabJackUD's handle wrapped by this Handle.
LJ_HANDLE SurgSim::Device::LabJackScaffold::Handle::get |
( |
| ) |
const |
|
inline |
bool SurgSim::Device::LabJackScaffold::Handle::isValid |
( |
| ) |
const |
|
inline |
- Returns
- Whether or not the wrapped handle is valid.
bool SurgSim::Device::LabJackScaffold::Handle::isValid |
( |
| ) |
const |
|
inline |
- Returns
- Whether or not the wrapped handle is valid.
Handle& SurgSim::Device::LabJackScaffold::Handle::operator= |
( |
const Handle & |
| ) |
|
|
private |
Handle& SurgSim::Device::LabJackScaffold::Handle::operator= |
( |
const Handle & |
| ) |
|
|
private |
std::string SurgSim::Device::LabJackScaffold::Handle::m_address |
|
private |
The address used to open the device. Can be the empty string if the first-found device was opened.
The connection to the device.
The connection to the device.
LJ_HANDLE SurgSim::Device::LabJackScaffold::Handle::m_deviceHandle |
|
private |
The exodriver device handle (or LABJACK_INVALID_HANDLE if not valid).
The HDAL device handle (or LABJACK_INVALID_HANDLE if not valid).
std::shared_ptr< LabJackScaffold > SurgSim::Device::LabJackScaffold::Handle::m_scaffold |
|
private |
The documentation for this class was generated from the following file: