rtcClient.h
Go to the documentation of this file.
95 void performDateSourceOperation(const SOURCE_OPERATION oper, const std::string& source_name, const dpyRtc::DateSources& source, dpyRtc::result_handler handler);
void asyncGetConfigValues(dpyRtc::params_handler handler)
Method to get configuration parameters coming from RTC service.
void asyncGetDateTime(dpyRtc::time_and_date_handler handler)
Method to get date and time coming from RTC service.
Definition: dateSourceTypes.h:28
void asyncSetSyncTime(std::uint32_t time_s, dpyRtc::result_handler handler)
Method to set synchronism time period in seconds.
boost::function< void(boost::system::error_code &ec, struct tm date_and_time, struct tm last_set_date_and_time, struct tm sunrise_date_and_time, struct tm sunset_date_and_time, bool is_day)> time_date_set_daylight_handler
Handler for result function callback. This type of function is called when the status callback is don...
Definition: rtcApi.h:75
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:63
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:55
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:47
void asyncGetSources(dpyRtc::sources_list_handler handler)
Method used to get a sources list.
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:40
void asyncSetDiffTime(std::uint32_t time_s, dpyRtc::result_handler handler)
Method to set maximum time in seconds allowed to RTC to be drifted from UTC valid time.
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:81
void performDateSourceOperation(const SOURCE_OPERATION oper, const std::string &source_name, const dpyRtc::DateSources &source, dpyRtc::result_handler handler)
Method used to perform different date source operations.