6#include <ilog/TLoggerCompWrap.h>
7#include <iprm/CParamsSet.h>
10#include <imtbase/ISelection.h>
11#include <imtbase/TModelUpdateBinder.h>
12#include <imtdev/IDeviceConfigurationManager.h>
13#include <imtdev/IDeviceController.h>
90 public ilog::CLoggerComponentBase,
91 public iprm::CParamsSet
94 typedef ilog::CLoggerComponentBase BaseClass;
97 I_REGISTER_INTERFACE(iprm::IParamsSet);
98 I_ASSIGN(m_deviceSelectionCompPtr,
"DeviceSelection",
"ID of the selected device",
false,
"DeviceSelection");
99 I_ASSIGN(m_controllerCompPtr,
"DeviceController",
"Device controller",
false,
"DeviceController");
100 I_ASSIGN(m_configurationManagerCompPtr,
"DeviceConfigurationManager",
"Configuration manager of the devices",
false,
"DeviceConfigurationManager");
101 I_ASSIGN(m_stateProviderCompPtr,
"DeviceStateProvider",
"Device state provider",
false,
"DeviceStateProvider");
108 void OnComponentCreated()
override;
109 void OnComponentDestroyed()
override;
112 DeviceInstancePtr GetDeviceInstance(
const QByteArray& deviceId)
const;
115 void OnSelectionChanged(
const istd::IChangeable::ChangeSet& changeSet,
const imtbase::ISelection* objectPtr);
116 void OnConfigurationChanged(
const istd::IChangeable::ChangeSet& changeSet,
const iprm::IParamsSet* objectPtr);
117 void OnDeviceStateChanged(
const istd::IChangeable::ChangeSet& changeSet,
const IDeviceStateProvider* objectPtr);
125 m_controlAllowed(
false)
129 FlagLocker(
bool &flag)
132 m_controlAllowed = !flag;
139 if (m_controlAllowed){
146 bool m_controlAllowed;
159 bool m_isConfigurationStoreBlocked =
false;
Selection-based device configuration component.
Interface for managing device-specific configurations.
Common interface for controlling devices.
Interface for tracking device connection states.