Extending Qt Creator Manual | DeviceUsedPortsGatherer

Extending Qt Creator Manual 4.7.2

# DeviceUsedPortsGatherer Class

(Debugger::ProjectExplorer::DeviceUsedPortsGatherer)

Inherits: | QObject

- List of all members, including inherited members

## Public Functions

| DeviceUsedPortsGatherer(Debugger::QObject *parent = nullptr)
virtual | ~DeviceUsedPortsGatherer() override
Utils::Port | getNextFreePort(Utils::PortList *freePorts) const
void | start(const int &device)
void | stop()
QList<Utils::Port> | usedPorts() const

- 34 public functions inherited from QObject

## Protected Functions

void | error(const Debugger::QString &errMsg)
void | portListReady()

- 9 protected functions inherited from QObject

### Additional Inherited Members

- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 2 protected variables inherited from QObject

## Member Function Documentation

### DeviceUsedPortsGatherer::DeviceUsedPortsGatherer(Debugger::QObject *parent = nullptr)

Default constructs an instance of DeviceUsedPortsGatherer.

### `[override virtual]` DeviceUsedPortsGatherer::~DeviceUsedPortsGatherer()

Destroys the instance of DeviceUsedPortsGatherer. The destructor is virtual.

### `[protected]` void DeviceUsedPortsGatherer::error(const Debugger::QString &errMsg)

### Utils::Port DeviceUsedPortsGatherer::getNextFreePort(Utils::PortList *freePorts) const

### `[protected]` void DeviceUsedPortsGatherer::portListReady()

### void DeviceUsedPortsGatherer::start(const int &device)

### void DeviceUsedPortsGatherer::stop()

### QList<Utils::Port> DeviceUsedPortsGatherer::usedPorts() const