(file) Return to PresidentProvider.h CVS log (file) (dir) Up to [Pegasus] / pegasus_unsupported / utils / cimreg / PresidentProvider

 1 mike  1.1 //%2003////////////////////////////////////////////////////////////////////////
 2           //
 3           // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development
 4           // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.
 5           // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
 6           // IBM Corp.; EMC Corporation, The Open Group.
 7           //
 8           // Permission is hereby granted, free of charge, to any person obtaining a copy
 9           // of this software and associated documentation files (the "Software"), to
10           // deal in the Software without restriction, including without limitation the
11           // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
12           // sell copies of the Software, and to permit persons to whom the Software is
13           // furnished to do so, subject to the following conditions:
14           // 
15           // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
16           // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
17           // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
18           // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
19           // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20           // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21           // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 mike  1.1 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23           //
24           //==============================================================================
25           //
26           //%/////////////////////////////////////////////////////////////////////////////
27           
28           #ifndef Pegasus_PresidentProvider_h
29           #define Pegasus_PresidentProvider_h
30           
31           #include <Pegasus/Common/Config.h>
32           #include <Pegasus/Provider/CIMInstanceProvider.h>
33           
34           PEGASUS_NAMESPACE_BEGIN 
35           
36           class PresidentProvider: public CIMInstanceProvider
37           {
38           public:
39           
40               PresidentProvider();
41           
42               virtual ~ PresidentProvider();
43 mike  1.1 
44               virtual void initialize(CIMOMHandle& cimom);
45           
46               virtual void terminate();
47           
48               virtual void getInstance(
49                   const OperationContext& context,
50                   const CIMObjectPath& ref,
51                   const Boolean includeQualifiers,
52                   const Boolean includeClassOrigin,
53                   const CIMPropertyList& propertyList,
54                   InstanceResponseHandler& handler);
55           
56               virtual void enumerateInstances(
57                   const OperationContext& context,
58                   const CIMObjectPath& ref,
59                   const Boolean includeQualifiers,
60                   const Boolean includeClassOrigin,
61                   const CIMPropertyList& propertyList,
62                   InstanceResponseHandler& handler);
63           
64 mike  1.1     virtual void enumerateInstanceNames(
65                   const OperationContext& context,
66                   const CIMObjectPath& ref,
67                   ObjectPathResponseHandler& handler);
68           
69               virtual void modifyInstance(
70                   const OperationContext& context,
71                   const CIMObjectPath& ref,
72                   const CIMInstance& obj,
73                   const Boolean includeQualifiers,
74                   const CIMPropertyList& propertyList,
75                   ResponseHandler& handler);
76           
77               virtual void createInstance(
78                   const OperationContext& context,
79                   const CIMObjectPath& ref,
80                   const CIMInstance& obj,
81                   ObjectPathResponseHandler& handler);
82           
83               virtual void deleteInstance(
84                   const OperationContext& context,
85 mike  1.1         const CIMObjectPath& ref,
86                   ResponseHandler& handler);
87           
88           protected:
89               Array <CIMInstance> _instances;
90           };
91           
92           PEGASUS_NAMESPACE_END
93           
94           #endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2