rtcClient.h
Go to the documentation of this file.
89 void performDateSourceOperation(const SOURCE_OPERATION oper, const std::string& source_name, const dpyRtc::DateSources& source, dpyRtc::result_handler handler);
Definition: dateSourceTypes.h:28
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
void asyncSetSyncTime(std::uint32_t time_s, dpyRtc::result_handler handler)
Method to set synchronism time period in seconds.
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...
void asyncGetSources(dpyRtc::sources_list_handler handler)
Method used to get a sources list.
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.
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
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.