geofencingApi.h File Reference
#include <boost/function.hpp>
#include <boost/system/error_code.hpp>
#include <boost/shared_ptr.hpp>
#include <list>
Include dependency graph for geofencingApi.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | Geofence |
class | IgeofencingObserver |
Geofencing Observer base class. More... | |
class | Geofencing |
Allows to interact with geofencing server. More... | |
Namespaces | |
dpyGeofencing | |
Deepsy Geofencing namespace that includes the different enums, structs or method signatures that should be used. | |
Typedefs | |
typedef boost::function< void(const bool &available)> | service_availability_handler |
Prototype of the handler function used to monitor service availability. More... | |
typedef boost::function< void(boost::system::error_code error_code)> | result_handler_function |
Handler for command function callback. More... | |
typedef boost::function< void(boost::system::error_code error_code, std::map< int, Geofence > &geofencesMap)> | geofences_list_handler_function |
Handler for get geofences requests. More... | |
typedef boost::function< void(boost::system::error_code error_code, std::list< std::string > &sogsList)> | sogs_list_handler_function |
Handler for get "sets of geofences" request. More... | |
typedef boost::function< void(boost::system::error_code error_code, GeofenceEvent event, std::string sogid, int id, Geofence geofence, double angle)> | geofence_event_handler_function |
Handler for command function callback. More... | |
typedef boost::function< void(boost::system::error_code error_code, SogEvent event, std::string sogid, int id, Geofence geofence)> | sog_event_handler_function |
Handler for command function callback. More... | |
typedef boost::function< void(boost::system::error_code error_code, SogListEvent event, std::string sogid)> | soglist_event_handler_function |
Handler for command function callback. More... | |
Enumerations | |
enum | SogListEvent { SOG_ADDED = 0, SOG_REMOVED = 1 } |
enum | SogEvent { GEOFENCE_ADDED = 0, GEOFENCE_REMOVED = 1 } |
enum | GeofenceEvent { ENTER = 0, EXIT = 1, ENTER_ENABLED = 2, EXIT_DISABLED = 3, ENABLED = 4, DISABLED = 5 } |
enum | FeedStatus { FEED_DISABLED = 0, FEED_ENABLED = 1 } |