Confdump Agent
1.4.0
|
Implementation of the Guard, use ComContext::Guard instead. More...
Public Member Functions | |
~GuardImpl () | |
Private Member Functions | |
GuardImpl () | |
Private Attributes | |
boost::shared_ptr< void > | comInitGuard_ |
CoUninitialize() on destruction, if we got as far as initializing it. | |
Friends | |
ComContext::Guard | ComContext::getGuard () |
Implementation of the Guard, use ComContext::Guard instead.
There is one instance of this class ; COM is initialized on construction and uninitialized on destruction.
Definition at line 83 of file ComContext.hpp.
Definition at line 76 of file ComContext.cpp.
Confdump::System::Wmi::ComContext::GuardImpl::GuardImpl | ( | ) | [private] |
Definition at line 57 of file ComContext.cpp.
References comInitGuard_, and Confdump::System::Wmi::throwOnComError().
ComContext::Guard ComContext::getGuard | ( | ) | [friend] |
boost::shared_ptr<void> Confdump::System::Wmi::ComContext::GuardImpl::comInitGuard_ [private] |
CoUninitialize() on destruction, if we got as far as initializing it.
Definition at line 92 of file ComContext.hpp.
Referenced by GuardImpl().