thread safe dispatcher reference that can be passed around.
More...
#include <shared_dispatchable.h>
Data Structures |
class | DispatcherPtr |
| behaves like a dispatcher pointer, ensures threadsafe access to the dispatcher reference. More...
|
Detailed Description
thread safe dispatcher reference that can be passed around.
A shared dispatchable holds either a copy of another dispatchable or the dispatcher itself is only accessible by constructing a shared_dispatchable::DispatcherPtr.
- Note
- Multiple reads of the same object are threadsafe, multiple writes not:
Constructor & Destructor Documentation
sigx::shared_dispatchable::shared_dispatchable |
( |
| ) |
|
- Exceptions
-
Might | throw a std::bad_alloc exception (from dispatchable's ctor) |
sigx::shared_dispatchable::shared_dispatchable |
( |
const dispatchable & |
d | ) |
throw () |
Copy construct from any dispatchable.
Member Function Documentation
Friends And Related Function Documentation
The documentation for this class was generated from the following files: