BeaconStatus
BeaconStatus

Represents the status of a BaseStation beacon.  See also BaseStation::beaconStatus.

Functions
BeaconStatus
BeaconStatus()

Creates a default BeaconStatus object.

BeaconStatus
BeaconStatus(
bool beaconEnabled,
const Timestamp &currentTimestamp
)

Creates a BeaconStatus object with the given parameters.

Parameters
beaconEnabled
bool

Whether the beacon is enabled or disabled.

currentTimestamp
const Timestamp&

The current Timestamp of the beacon.

Variables
m_enabled
bool m_enabled

Whether the beacon is enabled or disabled.

m_timestamp
Timestamp m_timestamp

The current Timestamp of the beacon.

Functions
enabled
bool enabled()

Gets whether the beacon is enabled (true) or disabled (false).

timestamp;

Gets the current Timestamp of the beacon.