GeofencingClient Class Reference
Interacts with geofencing server.
#include <geofencingClient.h>
Inheritance diagram for GeofencingClient:

Public Member Functions | |
| GeofencingClient (std::string &ip, int dport, int sport) | |
| void | addGeofence (dpyGeofencing::result_handler_function handler, std::string sogid, int id, std::string name, bool enabled, std::vector< std::pair< double, double >> positionList, int radius) |
| void | deleteGeofence (dpyGeofencing::result_handler_function handler, std::string sogid, int id) |
| void | enableGeofence (dpyGeofencing::result_handler_function handler, std::string sogid, int id) |
| void | disableGeofence (dpyGeofencing::result_handler_function handler, std::string sogid, int id) |
| void | enableSog (dpyGeofencing::result_handler_function handler, std::string sogid) |
| void | disableSog (dpyGeofencing::result_handler_function handler, std::string sogid) |
| void | deleteSog (dpyGeofencing::result_handler_function handler, std::string sogid) |
| void | feedPosition (dpyGeofencing::result_handler_function handler, dpyGeofencing::FeedStatus feedStatus, std::pair< double, double > position={0, 0}) |
| void | getSOGs (dpyGeofencing::sogs_list_handler_function handler) |
| void | getGeofences (dpyGeofencing::geofences_list_handler_function handler, std::string sogid) |
| void | sogListEvents_S (dpyGeofencing::soglist_event_handler_function handler) |
| void | sogListEvents_U () |
| void | sogEvents_S (dpyGeofencing::sog_event_handler_function handler) |
| void | sogEvents_U () |
| void | geofenceEvents_S (dpyGeofencing::geofence_event_handler_function handler) |
| void | geofenceEvents_U () |
Public Member Functions inherited from DpyMwClient | |
| DpyMwClient (std::string &ip, int dport, int sport) | |
| void | start () |
| void | stop () |
| void | subscribe (int messageType, boost::any handler) |
| void | unsubscribe (int messageType) |
| bool | isAlive () |
| void | monitorServiceAvailability_S (const f_hearbeat_handler &handler) |
| void | monitorServiceAvailability_U () |
Additional Inherited Members | |
Protected Member Functions inherited from DpyMwClient | |
| void | sendRequest (int requestType, int responseType, std::string content, boost::any handler, int ms_timeout=2000) |
Protected Attributes inherited from DpyMwClient | |
| map_proto_register_client | m_register_map |
| std::mutex | m_map_mutex |

Public Member Functions inherited from