12 #ifndef ECL_TIME_SNOOZE_POS_HPP_ 13 #define ECL_TIME_SNOOZE_POS_HPP_ 19 #include <ecl/config.hpp> 20 #if defined(ECL_IS_POSIX) 26 #include "duration.hpp" 27 #include <ecl/config/macros.hpp> 28 #include <ecl/time_lite/types.hpp> 118 Snooze (
const Duration &time,
const bool& validate =
false );
137 void period(
const Duration &time,
const bool& validate =
false);
145 Duration period() {
return Duration(time_period.tv_sec,time_period.tv_nsec); }
188 TimeStructure time_value;
189 TimeStructure time_period;
ROSCPP_DECL bool validate(const std::string &name, std::string &error)