16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_TIMING_SAFECTIMEACCESS_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_TIMING_SAFECTIMEACCESS_H_ 40 static std::shared_ptr<SafeCTimeAccess>
instance();
49 bool getGmtime(
const std::time_t& time, std::tm* calendarTime);
59 bool getLocaltime(
const std::time_t& time, std::tm* calendarTime);
73 std::tm* (*timeAccessFunction)(
const std::time_t* time),
74 const std::time_t& time,
75 std::tm* calendarTime);
78 std::mutex m_timeLock;
86 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_TIMING_SAFECTIMEACCESS_H_ Definition: SafeCTimeAccess.h:32
bool getGmtime(const std::time_t &time, std::tm *calendarTime)
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
bool getLocaltime(const std::time_t &time, std::tm *calendarTime)
static std::shared_ptr< SafeCTimeAccess > instance()