|
openDAQ
Open data acquisition platform
|
Collaboration diagram for DeviceOptions:Classes | |
| struct | IDeviceUpdateOptions |
| Allows for specifying how a device and its subdevices are to be updated when loading a configuration. More... | |
| class | DeviceUpdateOptionsPtr |
| Defines how a given device should be updated. More... | |
Enumerations | |
| enum class | DeviceUpdateMode : EnumType { Load = 0 , UpdateOnly , Skip , Remove , Remap } |
| Defines how a given device should be updated. More... | |
Functions | |
| daq::StringPtr | getLocalId () const |
| Gets the local ID of the device. The local ID is obtained from the JSON key for the device entry. More... | |
| daq::StringPtr | getManufacturer () const |
| Gets the manufacturer of the device, as written in the setup string. More... | |
| daq::StringPtr | getSerialNumber () const |
| Gets the serial number of the device, as written in the setup string. More... | |
| daq::StringPtr | getConnectionString () const |
| Gets the connection string of the device, as written in the setup string. More... | |
| void | setNewManufacturer (const daq::StringPtr &manufacturer) const |
| Sets the new manufacturer of the device to be used for remapping. More... | |
| daq::StringPtr | getNewManufacturer () const |
| Gets the new manufacturer of the device to be used for remapping. More... | |
| void | setNewSerialNumber (const daq::StringPtr &serialNumber) const |
| Sets the new serial number of the device to be used for remapping. More... | |
| daq::StringPtr | getNewSerialNumber () const |
| Gets the new serial number of the device to be used for remapping. More... | |
| void | setNewConnectionString (const daq::StringPtr &connectionString) const |
| Sets the new connection string of the device to be used for remapping. More... | |
| daq::StringPtr | getNewConnectionString () const |
| Gets the new connection string of the device to be used for remapping. More... | |
| daq::DeviceUpdateMode | getUpdateMode () const |
| Gets the update mode for the device. More... | |
| void | setUpdateMode (daq::DeviceUpdateMode mode) const |
| Sets the update mode for the device. More... | |
| daq::ListPtr< daq::IDeviceUpdateOptions > | getChildDeviceOptions () const |
| Gets the list of child device options for the device. These are used to configure subdevices of the current device. More... | |
|
strong |
Defines how a given device should be updated.
|
inline |
Gets the list of child device options for the device. These are used to configure subdevices of the current device.
|
inline |
Gets the connection string of the device, as written in the setup string.
|
inline |
Gets the local ID of the device. The local ID is obtained from the JSON key for the device entry.
The root device might not have the local ID configured. In this case the local ID will be set to "Root".
|
inline |
Gets the manufacturer of the device, as written in the setup string.
|
inline |
Gets the new connection string of the device to be used for remapping.
The manufacturer and serial number combination has priority over the connection string when remapping.
|
inline |
Gets the new manufacturer of the device to be used for remapping.
|
inline |
Gets the new serial number of the device to be used for remapping.
|
inline |
Gets the serial number of the device, as written in the setup string.
|
inline |
Gets the update mode for the device.
|
inline |
Sets the new connection string of the device to be used for remapping.
| connectionString | The new connection string of the device to be used for remapping. |
The manufacturer and serial number combination has priority over the connection string when remapping.
|
inline |
Sets the new manufacturer of the device to be used for remapping.
| manufacturer | The new manufacturer of the device to be used for remapping. |
|
inline |
Sets the new serial number of the device to be used for remapping.
| serialNumber | The new serial number of the device to be used for remapping. |
|
inline |
Sets the update mode for the device.
| mode | The update mode for the device. |