Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
comet::cp_throw Struct Reference
#include <comet/cptraits.h>
Public Member Functions | |
| cp_throw () | |
| Constructor - called before iterating over the connection-points. | |
| ~cp_throw () | |
| Destructor - called after iterating over all the connection-points. | |
| bool | check_fail (HRESULT hr) |
Static Public Member Functions | |
| template<typename CONNECTIONS> bool | on_fail (CONNECTIONS &par_connects, const typename CONNECTIONS::iterator &par_it) |
Protected Attributes | |
| HRESULT | _hr_ |
Detailed Description
Default 'throw' traits for connection-points. Usage
connection_point_for<IMySourceInterface>::connection_point.Fire_MyEvent( arg1, comet::cp_throw());
Member Function Documentation
|
|
Called when a connection point fails. Can also be used to remember the hresult for the destructor.
|
|
||||||||||||||||
|
Called when check_fail returns true.
|
The documentation for this struct was generated from the following file: