#include <OWBI1_InstanceProviderIFC.hpp>
Inheritance diagram for OWBI1::BI1InstanceProviderIFC:
Public Member Functions | |
BI1InstanceProviderIFC () | |
virtual | ~BI1InstanceProviderIFC () |
virtual void | getInstanceProviderInfo (InstanceProviderInfo &info) |
A provider should override this method to report which classes in which namespaces it instruments. | |
virtual void | enumInstanceNames (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMName &className, CIMObjectPathResultHandlerIFC &result, const CIMClass &cimClass)=0 |
This method enumerates all names of instances of the class which is specified in cop. | |
virtual void | enumInstances (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMName &className, CIMInstanceResultHandlerIFC &result, const CIMPropertyList &propertyList, const CIMClass &requestedClass, const CIMClass &cimClass) |
This method enumerates all instances of the class which is specified in className. | |
virtual CIMInstance | getInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMObjectPath &instanceName, const CIMPropertyList &propertyList, const CIMClass &cimClass)=0 |
This method retrieves the instance specified in the object path. | |
virtual CIMObjectPath | createInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMInstance &cimInstance)=0 |
This method creates the instance specified in the object path. | |
virtual void | modifyInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMInstance &modifiedInstance, const CIMInstance &previousInstance, const CIMPropertyList &propertyList, const CIMClass &theClass)=0 |
This method sets the instance specified in the object path. | |
virtual void | deleteInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMObjectPath &cop)=0 |
This method deletes the instance specified in the object path. | |
virtual BI1InstanceProviderIFC * | getInstanceProvider () |
We do the following because gcc seems to have a problem with dynamic_cast. |
Definition at line 50 of file OWBI1_InstanceProviderIFC.hpp.
|
Definition at line 104 of file OWBI1_InstanceProviderIFC.cpp. |
|
Definition at line 109 of file OWBI1_InstanceProviderIFC.cpp. |
|
This method creates the instance specified in the object path. If the instance does exist an CIMException with ID CIM_ERR_ALREADY_EXISTS must be thrown. The parameter should be the instance name.
Implemented in OWBI1::BI1ReadOnlyInstanceProviderIFC. |
|
This method deletes the instance specified in the object path.
Implemented in OWBI1::BI1ReadOnlyInstanceProviderIFC. |
|
This method enumerates all names of instances of the class which is specified in cop.
Implemented in OWBI1::BI1SimpleInstanceProviderIFC. Referenced by enumInstances(). |
|
This method enumerates all instances of the class which is specified in className. The entire instances and not just the names are returned. If you don't override this method, the default implementation will be used which utilizes enumInstanceNames() and getInstance()
Reimplemented in OWBI1::BI1SimpleInstanceProviderIFC. Definition at line 77 of file OWBI1_InstanceProviderIFC.cpp. References cimClass, className, enumInstanceNames(), env, ns, propertyList, and result. |
|
This method retrieves the instance specified in the object path.
Implemented in OWBI1::BI1SimpleInstanceProviderIFC. Referenced by OWBI1::_RHEnumInstances::doHandle(). |
|
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 from OWBI1::BI1ProviderBaseIFC. Definition at line 98 of file OWBI1_InstanceProviderIFC.cpp. |
|
A provider should override this method to report which classes in which namespaces it instruments. It should insert an entry for each class it is responsible for. The entry consists of the class name and an optional list of namespaces. If the namespace list is empty, all namespaces are implied. If the method does nothing, then the provider's class must have a provider qualifier that identifies the provider. This old behavior is deprecated and will be removed sometime in the future. This method has a default implementation that does nothing, to allow old providers to be migrated forward with little or no change, but once the old provider location method is removed, this member function will be pure virtual. Definition at line 92 of file OWBI1_InstanceProviderIFC.cpp. Referenced by OWBI1::BI1ProviderIFC::loadProviders(). |
|
This method sets the instance specified in the object path. If the instance does not exist an CIMException with ID CIM_ERR_NOT_FOUND must be thrown. The parameter should be the instance name.
Implemented in OWBI1::BI1ReadOnlyInstanceProviderIFC. |