Dm3Ch

scheduler.cpp

Mar 30th, 2015
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.46 KB | None | 0 0
  1. #include "scheduler.hpp"
  2.  
  3. using namespace schelduler;
  4. using namespace boost::posix_time;
  5.  
  6. task_timepoint::task_timepoint(ptime run_time, std::function<void(void)> task_function)
  7. {
  8.     task_timepoint::run_time = run_time;
  9.     task_timepoint::task_function = task_function;
  10. }
  11.  
  12. task_period::task_period(time_duration run_period, std::function<void(void)> task_function)
  13. {
  14.     this->run_period = run_period;
  15.     //task_period::task_function = task_function;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment