ubuntu-location-service  ..
An aggregating location service providing positioning and geocoding capabilities to applications.
com::ubuntu::location::service Namespace Reference

Namespaces

 session
 

Classes

class  Configuration
 
struct  Credentials
 Credentials of a remote session. More...
 
class  DefaultPermissionManager
 
class  Interface
 The Interface class models the primary interface to the location service. More...
 
class  PermissionManager
 The PermissionManager class is an interface to check whether an application is allowed to access the location services. More...
 
class  Skeleton
 
class  Stub
 

Enumerations

enum  State {
  State::disabled,
  State::enabled,
  State::active
}
 State enumerates the known states of the service. More...
 

Functions

bool operator== (State lhs, State rhs)
 operator== returns true if lhs == rhs. More...
 
bool operator!= (State lhs, State rhs)
 operator != returns true if !(lhs == rhs). More...
 
std::ostream & operator<< (std::ostream &out, State state)
 operator<< inserts state into the out. More...
 
std::istream & operator>> (std::istream &in, State &state)
 operator>> extracts state from in. More...
 

Enumeration Type Documentation

State enumerates the known states of the service.

Enumerator
disabled 

The service has been disabled by the user.

enabled 

The service is enabled but not actively carrying out positioning.

active 

The service is actively trying to determine the position of the device.

Definition at line 26 of file state.h.

Function Documentation

bool com::ubuntu::location::service::operator!= ( State  lhs,
State  rhs 
)

operator != returns true if !(lhs == rhs).

std::ostream& com::ubuntu::location::service::operator<< ( std::ostream &  out,
State  state 
)

operator<< inserts state into the out.

bool com::ubuntu::location::service::operator== ( State  lhs,
State  rhs 
)

operator== returns true if lhs == rhs.

std::istream& com::ubuntu::location::service::operator>> ( std::istream &  in,
State state 
)

operator>> extracts state from in.