Class scheduler_base
poet::scheduler_base — Base class for schedulers.
Synopsis
class scheduler_base { public: // construct/copy/destruct virtual ~scheduler_base(); // public member functions virtual void post_method_request(const boost::shared_ptr<method_request_base> &) ; virtual void kill() ; virtual void join() ; };
Description
A scheduler creates its own thread and executes method requests which are passed to it through its activation queue.
scheduler_base
public member functions
-
virtual void post_method_request(const boost::shared_ptr<method_request_base> & request) ;
Adds
request
to the scheduler's activation queue. -
virtual void kill() ;
Tells scheduler thread to exit as soon as possible. The scheduler thread may still be running after this function returns.
-
virtual void join() ;
Blocks until the scheduler thread exits.