Deepsy Rtc namespace that includes the different enums, structs or method signatures that should be used.
|
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 &ec)> | result_handler |
| Handler for result function callback. This type of function is called when the status callback is done. More...
|
|
typedef 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 done. More...
|
|
typedef 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 done. More...
|
|
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 |
| Handler for result function callback. This type of function is called when the status callback is done. More...
|
|
typedef 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. More...
|
|
- Parameters
-
ec | error code (if any) |
ParamConfig | |
typedef boost::function<void(boost::system::error_code& ec)> result_handler |
- Parameters
-
available | true if the service is available, false otherwise |
- Parameters
-
error_code | error code (if any) |
sources | list of rtc sources |
typedef boost::function<void(boost::system::error_code& ec, struct tm date_and_time)> time_and_date_handler |
- Parameters
-
ec | error code (if any) |
date_and_time | date and time provided by the service |
- Deprecated:
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 |
- Parameters
-
ec | error code (if any) |
date_and_time | date and time provided by the service |
last_set_date_and_time | last time the RTC performed a set date |
Enumerator |
---|
GNSS |
Gnss device.
|
MODEM |
Modem device.
|
SNTP |
SNTP Server.
|
FILE |
File , containing a line with date time info in ISO 8601:2000 standard date format [FTTZ].
|