rtcApi.h
Go to the documentation of this file.
46 typedef boost::function<void(boost::system::error_code& ec, dpyRtc::ParamConfig &)> params_handler;
54 typedef boost::function<void(boost::system::error_code& ec, struct tm date_and_time)> time_and_date_handler;
62 typedef boost::function<void(boost::system::error_code& ec, struct tm date_and_time,struct tm last_set_date_and_time)> time_date_set_handler;
69 typedef boost::function<void(boost::system::error_code& ec, std::map<std::string, dpyRtc::DateSources> sourceList)> sources_list_handler;
159 boost::system::error_code getDateTime(struct tm & date_and_time,struct tm &last_set_date_and_time );
167 void asyncAddNewSourceDate(const std::string& source_name, const dpyRtc::DateSources& source, dpyRtc::result_handler handler);
182 boost::system::error_code addNewSourceDate(const std::string& source_name, const dpyRtc::DateSources& source);
Definition: dateSourceTypes.h:28
std::uint32_t max_diff_time_seconds
Maximum time in seconds allowed to RTC to be drifted from UTC valid time.
Definition: rtcApi.h:26
boost::function< void(const bool &available)> service_availability_handler
Prototype of the handler function used to monitor service availability.
Definition: rtcApi.h:33
boost::function< void(boost::system::error_code &ec, struct tm date_and_time)> time_and_date_handler
Handler for result function callback. This type of function is called when the status callback is don...
Definition: rtcApi.h:54
boost::function< void(boost::system::error_code &ec, struct tm date_and_time, struct tm last_set_date_and_time)> time_date_set_handler
Handler for result function callback. This type of function is called when the status callback is don...
Definition: rtcApi.h:62
boost::function< void(boost::system::error_code &ec, dpyRtc::ParamConfig &)> params_handler
Handler for result function callback. This type of function is called when the status callback is don...
Definition: rtcApi.h:46
std::uint32_t sync_time_seconds
Synchronism time period in seconds.
Definition: rtcApi.h:25
Parameters struct which contains the response received from the service.
Definition: rtcApi.h:23
boost::function< void(boost::system::error_code &ec)> result_handler
Handler for result function callback. This type of function is called when the status callback is don...
Definition: rtcApi.h:39
boost::function< void(boost::system::error_code &ec, std::map< std::string, dpyRtc::DateSources > sourceList)> sources_list_handler
Prototype of the handler function for getting sources list.
Definition: rtcApi.h:69
Deepsy Rtc namespace that includes the different enums, structs or method signatures that should be u...
Definition: rtcApi.h:14