Go to the documentation of this file.
16 #ifndef SURGSIM_DEVICES_LABJACK_LABJACKSCAFFOLD_H
17 #define SURGSIM_DEVICES_LABJACK_LABJACKSCAFFOLD_H
23 namespace DataStructures
145 #endif // SURGSIM_DEVICES_LABJACK_LABJACKSCAFFOLD_H
bool configureNumberOfTimers(DeviceData *deviceData)
One-time configuration of the number of timers.
Definition: LabJackScaffold.cpp:1109
std::unique_ptr< StateData > m_state
Internal scaffold state.
Definition: LabJackScaffold.h:139
~LabJackScaffold()
Destructor.
Definition: LabJackScaffold.cpp:519
LabJackScaffold()
Constructor.
Definition: LabJackScaffold.cpp:511
bool registerDevice(LabJackDevice *device)
Registers the specified device object.
Definition: LabJackScaffold.cpp:530
bool configureTimers(DeviceData *deviceData)
One-time configuration of the timers.
Definition: LabJackScaffold.cpp:1265
A class that implements the behavior of LabJackDevice objects.
Definition: LabJackScaffold.h:42
bool runInputFrame(DeviceData *info)
Executes the operations for a single input frame for a single device.
Definition: LabJackScaffold.cpp:710
bool configureDigital(DeviceData *deviceData)
One-time configuration of the digital inputs and outputs.
Definition: LabJackScaffold.cpp:1460
bool destroyPerDeviceThread(DeviceData *data)
Destroys the input loop thread.
A class implementing the thread context for communicating with LabJack devices.
Definition: LabJackThread.h:32
Definition: CompoundShapeToGraphics.cpp:30
bool configureClock(DeviceData *deviceData)
One-time configuration of the clock.
Definition: LabJackScaffold.cpp:1185
A collection of NamedData objects.
Definition: DataGroup.h:69
void configureDevice(DeviceData *device)
Does one-time configuration of the LabJack for timers, counters, and analog inputs.
Definition: LabJackScaffold.cpp:1092
bool configureAnalog(DeviceData *deviceData)
One-time configuration of the analog inputs.
Definition: LabJackScaffold.cpp:1360
static std::shared_ptr< LabJackScaffold > getOrCreateSharedInstance()
Gets or creates the scaffold shared by all LabJackDevice instances.
Definition: LabJackScaffold.cpp:1086
bool unregisterDevice(const LabJackDevice *device)
Unregisters the specified device object.
Definition: LabJackScaffold.cpp:689
The per-device data.
Definition: LabJackScaffold.cpp:370
bool configureClockAndTimers(DeviceData *deviceData)
One-time configuration of the clock and timers.
Definition: LabJackScaffold.cpp:1098
The per-scaffold data (in comparison to DeviceData the per-device data).
Definition: LabJackScaffold.cpp:492
static DataStructures::DataGroup buildDeviceInputData()
Builds the data layout for the application input (i.e. device output).
Definition: LabJackScaffold.cpp:1061
std::shared_ptr< Framework::Logger > m_logger
Logger used by the scaffold and all devices.
Definition: LabJackScaffold.h:136
bool updateDevice(DeviceData *info)
Updates the device information for a single device.
Definition: LabJackScaffold.cpp:752
Definition: LabJackScaffold.cpp:184
A class implementing the communication with a LabJack data acquisition (DAQ) device.
Definition: LabJackDevice.h:275