• WirelessNetworkDevice
  • WirelessNetworkDevice Class

    (nymeaserver::WirelessNetworkDevice)

    Represents a wireless device (adapter) in the networkmanager. More...

    Header: #include <WirelessNetworkDevice>
    Inherits: NetworkDevice

    Public Functions

    WirelessNetworkDevice(const QDBusObjectPath & objectPath, QObject * parent = 0)
    QList<WirelessAccessPoint *> accessPoints()
    WirelessAccessPoint * activeAccessPoint()
    int bitRate() const
    WirelessAccessPoint * getAccessPoint(const QString & ssid)
    WirelessAccessPoint * getAccessPoint(const QDBusObjectPath & objectPath)
    QString macAddress() const
    void scanWirelessNetworks()

    Signals

    void bitRateChanged(const bool & bitRate)
    void stateChanged(const NetworkDeviceState & state)

    Additional Inherited Members

    Detailed Description

    Represents a wireless device (adapter) in the networkmanager.

    Member Function Documentation

    WirelessNetworkDevice::WirelessNetworkDevice(const QDBusObjectPath & objectPath, QObject * parent = 0)

    Constructs a new WirelessNetworkDevice with the given dbus objectPath and parent.

    QList<WirelessAccessPoint *> WirelessNetworkDevice::accessPoints()

    Returns the list of all WirelessAccessPoints of this WirelessNetworkDevice.

    WirelessAccessPoint * WirelessNetworkDevice::activeAccessPoint()

    Returns the current active WirelessAccessPoint of this WirelessNetworkDevice.

    int WirelessNetworkDevice::bitRate() const

    Returns the bit rate [Mb/s] of this WirelessNetworkDevice.

    [signal] void WirelessNetworkDevice::bitRateChanged(const bool & bitRate)

    This signal will be emitted when the bitRate of this WirelessNetworkDevice has changed.

    WirelessAccessPoint * WirelessNetworkDevice::getAccessPoint(const QString & ssid)

    Returns the WirelessAccessPoint with the given ssid. If the WirelessAccessPoint could not be found, return Q_NULLPTR.

    WirelessAccessPoint * WirelessNetworkDevice::getAccessPoint(const QDBusObjectPath & objectPath)

    Returns the WirelessAccessPoint with the given objectPath. If the WirelessAccessPoint could not be found, return Q_NULLPTR.

    QString WirelessNetworkDevice::macAddress() const

    Returns the mac address of this WirelessNetworkDevice.

    void WirelessNetworkDevice::scanWirelessNetworks()

    Perform a wireless network scan on this WirelessNetworkDevice.

    [signal] void WirelessNetworkDevice::stateChanged(const NetworkDeviceState & state)

    This signal will be emitted when the current state of this WirelessNetworkDevice has changed.

    See also NetworkDeviceState.