OW_NAMESPACE::CppSecondaryInstanceProviderIFC Class Reference

#include <OW_CppSecondaryInstanceProviderIFC.hpp>

Inheritance diagram for OW_NAMESPACE::CppSecondaryInstanceProviderIFC:

Inheritance graph
[legend]
Collaboration diagram for OW_NAMESPACE::CppSecondaryInstanceProviderIFC:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~CppSecondaryInstanceProviderIFC ()
virtual void getSecondaryInstanceProviderInfoWithEnv (const ProviderRegistrationEnvironmentIFCRef &env, SecondaryInstanceProviderInfo &info)
 A provider should override this method to report which classes in which namespaces it instruments.
virtual void getSecondaryInstanceProviderInfo (SecondaryInstanceProviderInfo &info)=0
 A provider should override this method to report which classes in which namespaces it instruments.
virtual void filterInstances (const ProviderEnvironmentIFCRef &env, const String &ns, const String &className, CIMInstanceArray &instances, WBEMFlags::ELocalOnlyFlag localOnly, WBEMFlags::EDeepFlag deep, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, const CIMClass &requestedClass, const CIMClass &cimClass)
 This method allows the provider to modify instances generated by the enumInstances() or getInstance() member functions of an instance provider.
virtual void createInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMInstance &cimInstance)
 This method is called when the instance specified by cimInstance is created.
virtual void modifyInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMInstance &modifiedInstance, const CIMInstance &previousInstance, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, const StringArray *propertyList, const CIMClass &theClass)
 This method is called when the instance specified by previousInstance is modified.
virtual void deleteInstance (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMObjectPath &cop)
 This method is called when the instance specified by cop is deleted.
virtual CppSecondaryInstanceProviderIFCgetSecondaryInstanceProvider ()

Detailed Description

Definition at line 46 of file OW_CppSecondaryInstanceProviderIFC.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::CppSecondaryInstanceProviderIFC::~CppSecondaryInstanceProviderIFC  )  [virtual]
 

Definition at line 42 of file OW_CppSecondaryInstanceProviderIFC.cpp.


Member Function Documentation

void OW_NAMESPACE::CppSecondaryInstanceProviderIFC::createInstance const ProviderEnvironmentIFCRef env,
const String ns,
const CIMInstance cimInstance
[virtual]
 

This method is called when the instance specified by cimInstance is created.

The provider cannot override this operation, since it will have been already processed by the primary instance provider. Throwing an exception will cause the error to be returned to the CIM Client, but the work that other providers may have done will not be undone.

Parameters:
env The provider's interface to it's environment.
ns The namespace
cimInstance The instance to be set.

Definition at line 74 of file OW_CppSecondaryInstanceProviderIFC.cpp.

void OW_NAMESPACE::CppSecondaryInstanceProviderIFC::deleteInstance const ProviderEnvironmentIFCRef env,
const String ns,
const CIMObjectPath cop
[virtual]
 

This method is called when the instance specified by cop is deleted.

The provider cannot override this operation, since it will have been already processed by the primary instance provider. Throwing an exception will cause the error to be returned to the CIM Client, but the work that other providers may have done will not be undone.

Parameters:
env The provider's interface to it's environment.
ns The namespace
cop The instance to be deleted

Definition at line 96 of file OW_CppSecondaryInstanceProviderIFC.cpp.

void OW_NAMESPACE::CppSecondaryInstanceProviderIFC::filterInstances const ProviderEnvironmentIFCRef env,
const String ns,
const String className,
CIMInstanceArray instances,
WBEMFlags::ELocalOnlyFlag  localOnly,
WBEMFlags::EDeepFlag  deep,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList,
const CIMClass requestedClass,
const CIMClass cimClass
[virtual]
 

This method allows the provider to modify instances generated by the enumInstances() or getInstance() member functions of an instance provider.

Parameters:
env The provider's interface to it's environment.
ns The namespace
className The name of the requested class.
instances The instances the primary instance provider produced. This is an in/out parameter. The provider can modify instances to change what is returned to the CIM Client.
localOnly The value the CIM Client specified in the request. See CIM Operations over HTTP for a description of this parameter.
deep The value the CIM Client specified in the request. See CIM Operations over HTTP for a description of this parameter.
includeQualifiers The value the CIM Client specified in the request. See CIM Operations over HTTP for a description of this parameter.
includeClassOrigin The value the CIM Client specified in the request. See CIM Operations over HTTP for a description of this parameter.
propertyList The value the CIM Client specified in the request. See CIM Operations over HTTP for a description of this parameter.
requestedClass The class the client specified when calling EnumerateInstances. For GetInstance(), requestedClass == cimClass.
cimClass The class the provider is responsible for.
Exceptions:
CIMException to indicate error. The error will be returned to the CIM Client.

Definition at line 56 of file OW_CppSecondaryInstanceProviderIFC.cpp.

CppSecondaryInstanceProviderIFC * OW_NAMESPACE::CppSecondaryInstanceProviderIFC::getSecondaryInstanceProvider  )  [virtual]
 

Reimplemented from OW_NAMESPACE::CppProviderBaseIFC.

Definition at line 107 of file OW_CppSecondaryInstanceProviderIFC.cpp.

virtual void OW_NAMESPACE::CppSecondaryInstanceProviderIFC::getSecondaryInstanceProviderInfo SecondaryInstanceProviderInfo info  )  [pure virtual]
 

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.

Referenced by getSecondaryInstanceProviderInfoWithEnv().

void OW_NAMESPACE::CppSecondaryInstanceProviderIFC::getSecondaryInstanceProviderInfoWithEnv const ProviderRegistrationEnvironmentIFCRef env,
SecondaryInstanceProviderInfo info
[virtual]
 

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.

Definition at line 47 of file OW_CppSecondaryInstanceProviderIFC.cpp.

References getSecondaryInstanceProviderInfo().

void OW_NAMESPACE::CppSecondaryInstanceProviderIFC::modifyInstance const ProviderEnvironmentIFCRef env,
const String ns,
const CIMInstance modifiedInstance,
const CIMInstance previousInstance,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
const StringArray propertyList,
const CIMClass theClass
[virtual]
 

This method is called when the instance specified by previousInstance is modified.

The provider cannot override this operation, since it will have been already processed by the primary instance provider. Throwing an exception will cause the error to be returned to the CIM Client, but the work that other providers may have done will not be undone.

Parameters:
env The provider's interface to it's environment.
ns The namespace

Definition at line 83 of file OW_CppSecondaryInstanceProviderIFC.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:16:00 2006 for openwbem by  doxygen 1.4.6