cumbia 1.x
general purpose multi threaded library
|
interface for a factory to create a bridge binding a thread to an event loop More...
#include <cuthreadseventbridgefactory_i.h>
Public Member Functions | |
virtual | ~CuThreadsEventBridgeFactory_I () |
class destructor More... | |
virtual CuThreadsEventBridge_I * | createEventBridge (const CuServiceProvider *sp) const =0 |
return an implementation of the CuThreadsEventBridge_I interface More... | |
interface for a factory to create a bridge binding a thread to an event loop
The implementations will have to return a CuThreadsEventBridge_I instance in the createEventBridge method.
|
inlinevirtual |
|
pure virtual |
return an implementation of the CuThreadsEventBridge_I interface
sp | a pointer to the CuServiceProvider |
For example CuThreadsEventBridgeFactory::createEventBridge returns an instance of a new CuThreadsEventBridge. See also CuThreadsEventBridge::CuThreadsEventBridge to understand why CuServiceProvider is needed as input argument to the method.
Implemented in CuThreadsEventBridgeFactory.
Referenced by CuThreadService::getThread().