|
ubuntu-location-service
..
An aggregating location service providing positioning and geocoding capabilities to applications.
|
Classes | |
| class | BoundedInteger |
| A helper class to handle bounded integer values, with an optional domain for tagging domain-specific types. More... | |
| class | Manager |
| The Manager class encapsulates access to network/radio information. More... | |
| struct | RadioCell |
| Models a radio cell that one of the modems in the system is connected to. More... | |
| struct | WirelessNetwork |
Enumerations | |
| enum class | State { unknown = 0 , asleep = 10 , disconnected = 20 , disconnecting = 30 , connecting = 40 , connected_local = 50 , connected_site = 60 , connected_global = 70 } |
| Enumerates all known system connectivity states. More... | |
| enum class | Characteristics : std::uint32_t { none = 0 , connection_goes_via_wifi = 1 << 0 , connection_goes_via_wwan = 1 << 1 , connection_is_roaming = 1 << 2 , connection_has_monetary_costs = 1 << 3 , connection_is_volume_limited = 1 << 4 , connection_is_bandwith_limited = 1 << 5 } |
| Summarizes characteristics of network connections. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &out, State state) |
| Pretty prints the given state to the given output stream. More... | |
| Characteristics | operator| (Characteristics l, Characteristics r) |
| Bitwise or operator for Characteristics flags. More... | |
| Characteristics | operator& (Characteristics l, Characteristics r) |
| Bitwise and operator for Characteristics flags. More... | |
| std::ostream & | operator<< (std::ostream &out, Characteristics characteristics) |
| Pretty prints the given charateristics to the given output stream. More... | |
| const std::shared_ptr< Manager > & | platform_default_manager () |
| Provides access to a platform-specific implementation/instance of a connectivity manager. More... | |
| bool | operator== (const RadioCell::Gsm &lhs, const RadioCell::Gsm &rhs) |
| Returns true iff lhs equals rhs. More... | |
| std::ostream & | operator<< (std::ostream &out, const RadioCell::Gsm &gsm) |
| Pretty-prints the given gsm details to the given output stream. More... | |
| bool | operator== (const RadioCell::Umts &lhs, const RadioCell::Umts &rhs) |
| Returns true iff lhs equals rhs. More... | |
| std::ostream & | operator<< (std::ostream &out, const RadioCell::Umts &umts) |
| Pretty-prints the given umts details to the given output stream. More... | |
| bool | operator== (const RadioCell::Lte &lhs, const RadioCell::Lte &rhs) |
| Returns true iff lhs equals rhs. More... | |
| std::ostream & | operator<< (std::ostream &out, const RadioCell::Lte <e) |
| Pretty-prints the given gsm details to the given output stream. More... | |
| bool | operator== (const RadioCell &lhs, const RadioCell &rhs) |
| Returns true iff lhs equals rhs. More... | |
| std::ostream & | operator<< (std::ostream &out, const RadioCell &cell) |
| Pretty-prints the given cell to the given output stream. More... | |
| std::ostream & | operator<< (std::ostream &out, WirelessNetwork::Mode mode) |
| Pretty-prints the given mode to the given output stream. More... | |
| std::ostream & | operator<< (std::ostream &out, const WirelessNetwork &wifi) |
| Pretty-prints the given wireless network to the given output stream. More... | |
|
strong |
Summarizes characteristics of network connections.
|
strong |
Enumerates all known system connectivity states.
| Characteristics com::ubuntu::location::connectivity::operator& | ( | Characteristics | l, |
| Characteristics | r | ||
| ) |
Bitwise and operator for Characteristics flags.
| std::ostream& com::ubuntu::location::connectivity::operator<< | ( | std::ostream & | out, |
| Characteristics | characteristics | ||
| ) |
Pretty prints the given charateristics to the given output stream.
| std::ostream& com::ubuntu::location::connectivity::operator<< | ( | std::ostream & | out, |
| const RadioCell & | cell | ||
| ) |
Pretty-prints the given cell to the given output stream.
| std::ostream& com::ubuntu::location::connectivity::operator<< | ( | std::ostream & | out, |
| const RadioCell::Gsm & | gsm | ||
| ) |
Pretty-prints the given gsm details to the given output stream.
| std::ostream& com::ubuntu::location::connectivity::operator<< | ( | std::ostream & | out, |
| const RadioCell::Lte & | lte | ||
| ) |
Pretty-prints the given gsm details to the given output stream.
| std::ostream& com::ubuntu::location::connectivity::operator<< | ( | std::ostream & | out, |
| const RadioCell::Umts & | umts | ||
| ) |
Pretty-prints the given umts details to the given output stream.
| std::ostream& com::ubuntu::location::connectivity::operator<< | ( | std::ostream & | out, |
| const WirelessNetwork & | wifi | ||
| ) |
Pretty-prints the given wireless network to the given output stream.
| std::ostream& com::ubuntu::location::connectivity::operator<< | ( | std::ostream & | out, |
| State | state | ||
| ) |
Pretty prints the given state to the given output stream.
| std::ostream& com::ubuntu::location::connectivity::operator<< | ( | std::ostream & | out, |
| WirelessNetwork::Mode | mode | ||
| ) |
Pretty-prints the given mode to the given output stream.
| bool com::ubuntu::location::connectivity::operator== | ( | const RadioCell & | lhs, |
| const RadioCell & | rhs | ||
| ) |
Returns true iff lhs equals rhs.
| bool com::ubuntu::location::connectivity::operator== | ( | const RadioCell::Gsm & | lhs, |
| const RadioCell::Gsm & | rhs | ||
| ) |
Returns true iff lhs equals rhs.
| bool com::ubuntu::location::connectivity::operator== | ( | const RadioCell::Lte & | lhs, |
| const RadioCell::Lte & | rhs | ||
| ) |
Returns true iff lhs equals rhs.
| bool com::ubuntu::location::connectivity::operator== | ( | const RadioCell::Umts & | lhs, |
| const RadioCell::Umts & | rhs | ||
| ) |
Returns true iff lhs equals rhs.
| Characteristics com::ubuntu::location::connectivity::operator| | ( | Characteristics | l, |
| Characteristics | r | ||
| ) |
Bitwise or operator for Characteristics flags.
| const std::shared_ptr<Manager>& com::ubuntu::location::connectivity::platform_default_manager | ( | ) |
Provides access to a platform-specific implementation/instance of a connectivity manager.
| Manager::Errors::ConnectivityManagementNotSupported. |