ubuntu-location-service  0.0.2
Classes | Public Types | Public Member Functions | Protected Member Functions | List of all members
com::ubuntu::location::service::session::Interface Class Referenceabstract
Collaboration diagram for com::ubuntu::location::service::session::Interface:
Collaboration graph

Classes

struct  Errors
 
struct  StartHeadingUpdates
 
struct  StartPositionUpdates
 
struct  StartVelocityUpdates
 
struct  StopHeadingUpdates
 
struct  StopPositionUpdates
 
struct  StopVelocityUpdates
 
struct  UpdateHeading
 
struct  UpdatePosition
 
struct  UpdateVelocity
 

Public Types

typedef std::shared_ptr
< Interface
Ptr
 

Public Member Functions

 Interface (const Interface &)=delete
 
Interfaceoperator= (const Interface &)=delete
 
virtual const
org::freedesktop::dbus::types::ObjectPath & 
path () const =0
 
ChannelConnection install_position_updates_handler (std::function< void(const Update< Position > &)> handler)
 
ChannelConnection install_velocity_updates_handler (std::function< void(const Update< Velocity > &)> handler)
 
ChannelConnection install_heading_updates_handler (std::function< void(const Update< Heading > &)> handler)
 
virtual void start_position_updates ()=0
 
virtual void stop_position_updates () noexcept=0
 
virtual void start_velocity_updates ()=0
 
virtual void stop_velocity_updates () noexcept=0
 
virtual void start_heading_updates ()=0
 
virtual void stop_heading_updates () noexcept=0
 

Protected Member Functions

Channel< Update< Position > > & access_position_updates_channel ()
 
Channel< Update< Heading > > & access_heading_updates_channel ()
 
Channel< Update< Velocity > > & access_velocity_updates_channel ()
 

Detailed Description

Definition at line 42 of file interface.h.


The documentation for this class was generated from the following file: