All Classes Functions Variables Typedefs Enumerations Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
blub::async::updater Class Reference
Inheritance diagram for blub::async::updater:
blub::async::dispatcher blub::noncopyable

Public Types

typedef blub::signal< void(real)> t_sigFrameListener
- Public Types inherited from blub::async::dispatcher
typedef std::function< void()> t_toCallFunction

Public Member Functions

 updater (const blub::string &threadName)
void stop ()
t_sigFrameListenersignalFrame ()
void run (const real &frames=60.0, const bool &threaded=false)
- Public Member Functions inherited from blub::async::dispatcher
 dispatcher (const uint16 &numThreads=0, const bool &endThreadsAfterAllDone=true, const string &threadName="")
void join ()
void start ()
void run ()
void reset ()
void stop ()
void dispatch (const t_toCallFunction &handler)
void post (const t_toCallFunction &handler)
void waitForQueueDone (void)
 waitForQueueDone will work only if one thread
int32 getThreadCount (void)
boost::asio::io_service * _getIoService (void)

Protected Member Functions

bool runOneFrame (const real &delta)
void frame ()
- Protected Member Functions inherited from blub::async::dispatcher
void nameThread (const int32 &indThread)

Additional Inherited Members

- Protected Attributes inherited from blub::async::dispatcher
const string m_threadName

The documentation for this class was generated from the following files: