version 1.20.10.3, 2006/03/21 19:20:25
|
version 1.23, 2006/11/03 19:53:39
|
|
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
// | // |
//============================================================================== | //============================================================================== |
// |
|
// Author: Karl Schopmeyer (k.schopmeyer@opengrooup.org) |
|
// |
|
// Modified By: |
|
// Alex Dunfey, EMC (Dunfey_alexander@emc.com) for PEP 244 |
|
// |
|
//%//////////////////////////////////////////////////////////////////////////// |
|
| |
| |
#ifndef InteropProvider_h | #ifndef InteropProvider_h |
|
|
#include <Pegasus/Provider/CIMInstanceProvider.h> | #include <Pegasus/Provider/CIMInstanceProvider.h> |
#include <Pegasus/Provider/CIMAssociationProvider.h> | #include <Pegasus/Provider/CIMAssociationProvider.h> |
| |
PEGASUS_USING_PEGASUS; |
PEGASUS_NAMESPACE_BEGIN |
| |
/** | /** |
* The InteropProvider services the Interop classes of the DMTF CIM Schema | * The InteropProvider services the Interop classes of the DMTF CIM Schema |
|
|
*/ | */ |
void initialize(CIMOMHandle& handle) | void initialize(CIMOMHandle& handle) |
{ | { |
printf("Init called on Interop provider\n"); |
|
cimomHandle = handle; | cimomHandle = handle; |
} | } |
| |
|
|
| |
private: | private: |
| |
|
void initProvider(); |
|
|
CIMInstance buildInstanceSkeleton( | CIMInstance buildInstanceSkeleton( |
const CIMNamespaceName & nameSpace, | const CIMNamespaceName & nameSpace, |
const CIMName& className, | const CIMName& className, |
|
|
| |
CIMInstance buildNamespaceInstance(const String & nameSpace); | CIMInstance buildNamespaceInstance(const String & nameSpace); |
| |
|
CIMObjectPath createNamespace(const CIMInstance & namespaceInstance); |
|
void deleteNamespace(const CIMObjectPath & instanceName); |
|
|
Array<CIMInstance> enumNamespaceInManagerInstances(); | Array<CIMInstance> enumNamespaceInManagerInstances(); |
| |
Array<CIMInstance> enumCommMechanismForManagerInstances(); | Array<CIMInstance> enumCommMechanismForManagerInstances(); |
|
|
Uint16 & revision, | Uint16 & revision, |
Uint16 & build, | Uint16 & build, |
bool & extendedVersionSupplied, | bool & extendedVersionSupplied, |
String & interfaceType); |
String & interfaceType, |
|
String & elementName, |
|
String & caption); |
| |
Array<CIMInstance> enumRegisteredProfileInstances(); | Array<CIMInstance> enumRegisteredProfileInstances(); |
Array<CIMInstance> enumRegisteredSubProfileInstances(); | Array<CIMInstance> enumRegisteredSubProfileInstances(); |
|
|
Uint16 revisionNumber, | Uint16 revisionNumber, |
Uint16 buildNumber, | Uint16 buildNumber, |
bool extendedVersionSupplied, | bool extendedVersionSupplied, |
const String & interfaceType); |
const String & interfaceType, |
|
const String & elementName, |
|
const String & caption); |
| |
Array<CIMInstance> getProfileInstances( | Array<CIMInstance> getProfileInstances( |
const CIMName & profileType, | const CIMName & profileType, |
|
|
// Repository Instance variable | // Repository Instance variable |
CIMOMHandle cimomHandle; | CIMOMHandle cimomHandle; |
CIMRepository * repository; | CIMRepository * repository; |
// local save for name of object manager |
|
String objectManagerName; | String objectManagerName; |
String hostName; | String hostName; |
CIMClass profileCapabilitiesClass; | CIMClass profileCapabilitiesClass; |
CIMClass softwareIdentityClass; | CIMClass softwareIdentityClass; |
Array<Uint16> providerClassifications; | Array<Uint16> providerClassifications; |
Mutex interopMut; | Mutex interopMut; |
bool namespacesInitialized; |
bool providerInitialized; |
| |
// Registration info to cache | // Registration info to cache |
Array<String> profileIds; | Array<String> profileIds; |
|
|
Array<CIMNamespaceArray> elementNamespaces; | Array<CIMNamespaceArray> elementNamespaces; |
}; | }; |
| |
|
PEGASUS_NAMESPACE_END |
|
|
#endif // InteropProvider_h | #endif // InteropProvider_h |