Constructors
Synopses
Declared in <balb_pipetaskmanager.h>
Create a task manager having no message handlers. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. Message handlers can be supplied using the return value of the controlManager method. If that return value is used to create other PipeTaskManager objects, this object (the owner of the internal ControlManager must outlive those other objects. The start method must be called successfully before messages will be received (on a separate thread created by start). Note that the name of the message pipe is supplied as an argument to start.
explicit
PipeTaskManager(bslma::Allocator* basicAllocator = 0);
Create a task manager that uses the handlers of the specified shared controlManager. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The start method must be called successfully before messages will be received (on a separate thread created by start). Note that the name of the message pipe is supplied as an argument to start. Also note that the handlers of controlManager can be manipulated via the return value of the controlManager method. Finally note that the allocator of controlManger need not equal basicAllocator.
explicit
PipeTaskManager(
bsl::shared_ptr<ControlManager>& controlManager,
bslma::Allocator* basicAllocator = 0);
Created with MrDocs