diff options
author | Andrey Oleynik (GitHub) <aoleynik@luxoft.com> | 2017-09-21 17:40:49 +0300 |
---|---|---|
committer | Andriy Byzhynar <AByzhynar@luxoft.com> | 2018-01-18 11:28:38 +0200 |
commit | 8fa4f3b498916b89552394d25f9482ce4b06de5a (patch) | |
tree | 3661ecaf592fa16571f32d32917426b6b49047a8 /src/components/transport_manager/include/transport_manager/transport_adapter/transport_adapter_impl.h | |
parent | a4af51700fe245aff66250c93f78741dc96584cb (diff) | |
download | sdl_core-8fa4f3b498916b89552394d25f9482ce4b06de5a.tar.gz |
Adds descriptions, removes unused code
Diffstat (limited to 'src/components/transport_manager/include/transport_manager/transport_adapter/transport_adapter_impl.h')
-rw-r--r-- | src/components/transport_manager/include/transport_manager/transport_adapter/transport_adapter_impl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/transport_manager/include/transport_manager/transport_adapter/transport_adapter_impl.h b/src/components/transport_manager/include/transport_manager/transport_adapter/transport_adapter_impl.h index 8d1b96bbfd..e4d70d5b07 100644 --- a/src/components/transport_manager/include/transport_manager/transport_adapter/transport_adapter_impl.h +++ b/src/components/transport_manager/include/transport_manager/transport_adapter/transport_adapter_impl.h @@ -408,8 +408,20 @@ class TransportAdapterImpl : public TransportAdapter, */ std::string DeviceName(const DeviceUID& device_id) const OVERRIDE; + /** + * @brief StopDevice looks for specific device in devices list and calls + * Stop() interface of that device + * @param device_id unique device identifier that has to be stopped. + */ void StopDevice(const DeviceUID& device_id) const FINAL; + /** + * @brief DeviceSwitched is triggered for adapter to proceed with possible + * further switching steps required on device side. E.g. to notify device + * on end of switching so it can disconnect transport being switched from. + * This is default implemenation does nothing. Must be overloaded if needed. + * @param device_handle Device id to notify on event + */ void DeviceSwitched(const DeviceUID& device_handle) FINAL; /** |