#include <OWBI1_ProviderBaseIFC.hpp>
Inheritance diagram for OWBI1::BI1ProviderBaseIFC:
Public Member Functions | |
BI1ProviderBaseIFC () | |
BI1ProviderBaseIFC (const BI1ProviderBaseIFC &arg) | |
virtual | ~BI1ProviderBaseIFC () |
virtual void | initialize (const ProviderEnvironmentIFCRef &env) |
Called by the CIMOM when the provider is initialized. | |
virtual void | shuttingDown (const ProviderEnvironmentIFCRef &env) |
Called by the CIMOM just before it starts shutting down services. | |
virtual BI1InstanceProviderIFC * | getInstanceProvider () |
We do the following because gcc seems to have a problem with dynamic_cast. | |
virtual BI1SecondaryInstanceProviderIFC * | getSecondaryInstanceProvider () |
virtual BI1MethodProviderIFC * | getMethodProvider () |
virtual BI1AssociatorProviderIFC * | getAssociatorProvider () |
virtual BI1IndicationExportProviderIFC * | getIndicationExportProvider () |
virtual BI1PolledProviderIFC * | getPolledProvider () |
virtual BI1IndicationProviderIFC * | getIndicationProvider () |
DateTime | getLastAccessTime () const |
void | updateAccessTime () |
virtual bool | canUnload () |
Private Attributes | |
DateTime | m_dt |
It is recommended that all type and data declarations in the provider be declared inside an anonymous namespace to prevent possible identifier collisions between providers or the openwbem libraries.
If your provider spawns a separate thread that needs access to a provider environment (for example, to get a CIMOM handle or logger), see the comment for the initialize() function.
DO NOT put inline functions in this class, they will be duplicated in every provider and cause code bloat.
Definition at line 67 of file OWBI1_ProviderBaseIFC.hpp.
|
Definition at line 43 of file OWBI1_ProviderBaseIFC.cpp. |
|
Definition at line 49 of file OWBI1_ProviderBaseIFC.cpp. |
|
Definition at line 56 of file OWBI1_ProviderBaseIFC.cpp. |
|
Reimplemented in OWBI1::BI1IndicationExportProviderIFC, and OWBI1::BI1PolledProviderIFC. Definition at line 129 of file OWBI1_ProviderBaseIFC.cpp. |
|
Reimplemented in OWBI1::BI1AssociatorProviderIFC. Definition at line 93 of file OWBI1_ProviderBaseIFC.cpp. |
|
Reimplemented in OWBI1::BI1IndicationExportProviderIFC. Definition at line 101 of file OWBI1_ProviderBaseIFC.cpp. |
|
Reimplemented in OWBI1::BI1IndicationProviderIFC. Definition at line 115 of file OWBI1_ProviderBaseIFC.cpp. |
|
We do the following because gcc seems to have a problem with dynamic_cast. If often fails, especially when compiling with optimizations. It will return a (supposedly) valid pointer, when it should return NULL. Reimplemented in OWBI1::BI1InstanceProviderIFC. Definition at line 71 of file OWBI1_ProviderBaseIFC.cpp. |
|
Definition at line 122 of file OWBI1_ProviderBaseIFC.cpp. References m_dt. |
|
Reimplemented in OWBI1::BI1MethodProviderIFC. Definition at line 85 of file OWBI1_ProviderBaseIFC.cpp. |
|
Reimplemented in OWBI1::BI1PolledProviderIFC. Definition at line 108 of file OWBI1_ProviderBaseIFC.cpp. |
|
Reimplemented in OWBI1::BI1SecondaryInstanceProviderIFC. Definition at line 78 of file OWBI1_ProviderBaseIFC.cpp. |
|
Called by the CIMOM when the provider is initialized.
Definition at line 68 of file OWBI1_ProviderBaseIFC.cpp. |
|
Called by the CIMOM just before it starts shutting down services. Providers should override this to do any portion of their shutdown process that requires access to the CIMOM. Definition at line 135 of file OWBI1_ProviderBaseIFC.cpp. |
|
Definition at line 61 of file OWBI1_ProviderBaseIFC.cpp. References m_dt, and OWBI1::DateTime::setToCurrent(). |
|
Definition at line 115 of file OWBI1_ProviderBaseIFC.hpp. Referenced by getLastAccessTime(), and updateAccessTime(). |