The per-device data.
More...
SurgSim::Device::LabJackScaffold::DeviceData::DeviceData |
( |
LabJackDevice * |
device, |
|
|
std::unique_ptr< Handle > && |
handle |
|
) |
| |
|
inline |
Initialize the data, creating a thread.
SurgSim::Device::LabJackScaffold::DeviceData::~DeviceData |
( |
| ) |
|
|
inline |
SurgSim::Device::LabJackScaffold::DeviceData::DeviceData |
( |
const DeviceData & |
| ) |
|
|
private |
SurgSim::Device::LabJackScaffold::DeviceData::DeviceData |
( |
LabJackDevice * |
device, |
|
|
std::unique_ptr< Handle > && |
handle |
|
) |
| |
|
inline |
Initialize the data, creating a thread.
SurgSim::Device::LabJackScaffold::DeviceData::~DeviceData |
( |
| ) |
|
|
inline |
SurgSim::Device::LabJackScaffold::DeviceData::DeviceData |
( |
const DeviceData & |
| ) |
|
|
private |
const std::unordered_set<int> SurgSim::Device::LabJackScaffold::DeviceData::getTimerInputChannels |
( |
const std::unordered_map< int, LabJack::TimerSettings > & |
timers | ) |
const |
|
inlineprivate |
Given all the timers, return just the ones that provide inputs.
- Parameters
-
- Returns
- The timers that provide inputs.
const std::unordered_set<int> SurgSim::Device::LabJackScaffold::DeviceData::getTimerInputChannels |
( |
const std::unordered_map< int, LabJack::TimerSettings > & |
timers | ) |
const |
|
inlineprivate |
Given all the timers, return just the ones that provide inputs.
- Parameters
-
- Returns
- The timers that provide inputs.
const std::unordered_set<int> SurgSim::Device::LabJackScaffold::DeviceData::getTimerOutputChannels |
( |
const std::unordered_map< int, LabJack::TimerSettings > & |
timers | ) |
const |
|
inlineprivate |
Given all the timers, return just the ones that take outputs.
- Parameters
-
- Returns
- The timers that take outputs.
const std::unordered_set<int> SurgSim::Device::LabJackScaffold::DeviceData::getTimerOutputChannels |
( |
const std::unordered_map< int, LabJack::TimerSettings > & |
timers | ) |
const |
|
inlineprivate |
Given all the timers, return just the ones that take outputs.
- Parameters
-
- Returns
- The timers that take outputs.
std::unordered_map< int, int > SurgSim::Device::LabJackScaffold::DeviceData::analogInputIndices |
The DataGroup indices for the analog inputs.
const std::unordered_set< int > SurgSim::Device::LabJackScaffold::DeviceData::analogOutputChannels |
The channels set for analog outputs.
std::unordered_map< int, int > SurgSim::Device::LabJackScaffold::DeviceData::analogOutputIndices |
The DataGroup indices for the analog outputs.
bool SurgSim::Device::LabJackScaffold::DeviceData::cachedOutputIndices |
True if the output indices have been cached.
double SurgSim::Device::LabJackScaffold::DeviceData::calibration[40] |
std::unique_ptr< Handle > SurgSim::Device::LabJackScaffold::DeviceData::deviceHandle |
LabJackDevice *const SurgSim::Device::LabJackScaffold::DeviceData::deviceObject |
The corresponding device object.
const std::unordered_set< int > SurgSim::Device::LabJackScaffold::DeviceData::digitalInputChannels |
The channels read for digital inputs.
std::unordered_map< int, int > SurgSim::Device::LabJackScaffold::DeviceData::digitalInputIndices |
The DataGroup indices for the digital inputs.
const std::unordered_set< int > SurgSim::Device::LabJackScaffold::DeviceData::digitalOutputChannels |
The channels set for digital outputs.
std::unordered_map< int, int > SurgSim::Device::LabJackScaffold::DeviceData::digitalOutputIndices |
The DataGroup indices for the digital outputs.
std::unique_ptr< LabJackThread > SurgSim::Device::LabJackScaffold::DeviceData::thread |
const std::unordered_set< int > SurgSim::Device::LabJackScaffold::DeviceData::timerInputChannels |
The timer channels that provide inputs.
std::unordered_map< int, int > SurgSim::Device::LabJackScaffold::DeviceData::timerInputIndices |
The DataGroup indices for the timer inputs.
const std::unordered_set< int > SurgSim::Device::LabJackScaffold::DeviceData::timerOutputChannels |
The timer channels set for timer outputs (e.g., PWM outputs).
std::unordered_map< int, int > SurgSim::Device::LabJackScaffold::DeviceData::timerOutputIndices |
The DataGroup indices for the timer outputs.
The documentation for this struct was generated from the following file: