#include <hotplugmanager.h>
Definition at line 39 of file hotplugmanager.h.
◆ HotPlugManager()
◆ getDeviceName()
| static const char * INDI::HotPlugManager::getDeviceName |
( |
| ) |
|
|
inlinestatic |
◆ getInstance()
◆ operator=()
◆ registerHandler()
◆ setInitialPollingDuration()
| void INDI::HotPlugManager::setInitialPollingDuration |
( |
int |
seconds | ) |
|
Set the maximum initial polling duration for systems with udev.
- Parameters
-
| seconds | Maximum duration in seconds. Must be between 1 and MAX_NON_UDEV_POLL_DURATION_SECONDS. -1 = use default (5 seconds). |
- Note
- This only affects the initial polling period on systems with udev. After initial polling, event-driven monitoring is used.
Definition at line 278 of file hotplugmanager.cpp.
◆ setNonUdevPollingDuration()
| void INDI::HotPlugManager::setNonUdevPollingDuration |
( |
int |
seconds | ) |
|
Set the maximum polling duration for non-udev systems (macOS, Windows).
- Parameters
-
| seconds | Maximum duration in seconds. 0 = unlimited polling, -1 = use default (60 seconds). |
- Note
- This only affects systems without udev. Linux with udev uses event-driven monitoring with no time limit.
Definition at line 260 of file hotplugmanager.cpp.
◆ start()
| void INDI::HotPlugManager::start |
( |
uint32_t |
intervalMs, |
|
|
bool |
oneShot = false |
|
) |
| |
Starts the hot-plugging timer.
- Parameters
-
| intervalMs | The interval in milliseconds for periodic checks. |
| oneShot | If true, hotplugging will stop after initial device check. |
Definition at line 121 of file hotplugmanager.cpp.
◆ stop()
| void INDI::HotPlugManager::stop |
( |
| ) |
|
◆ unregisterHandler()
The documentation for this class was generated from the following files: