Go to the documentation of this file.
17 #ifndef _IOMANAGER_HH_
18 #define _IOMANAGER_HH_
20 #include <boost/thread/thread.hpp>
21 #include <boost/asio.hpp>
42 public: boost::asio::io_service &GetIO();
45 public:
void IncCount();
48 public:
void DecCount();
52 public:
unsigned int GetCount()
const;
57 private: boost::asio::io_service *io_service;
60 private: boost::asio::io_service::work *work;
61 private:
unsigned int count;
63 private: boost::thread *thread;
Forward declarations for the common classes.
Definition: Animation.hh:26
unsigned int GetCount() const
Get the event count.
void DecCount()
Decrement the event count by 1.
Manages boost::asio IO.
Definition: IOManager.hh:33
void Stop()
Stop the IO service.
void IncCount()
Increment the event count by 1.
boost::asio::io_service & GetIO()
Get handle to boost::asio IO service.