Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "scheduler.hpp"
- using namespace schelduler;
- using namespace boost::posix_time;
- task_timepoint::task_timepoint(ptime run_time, std::function<void(void)> task_function)
- {
- task_timepoint::run_time = run_time;
- task_timepoint::task_function = task_function;
- }
- task_period::task_period(time_duration run_period, std::function<void(void)> task_function)
- {
- this->run_period = run_period;
- //task_period::task_function = task_function;
- }
Advertisement
Add Comment
Please, Sign In to add comment