cmpi
cmpi
CmpiMethodMI.h
Go to the documentation of this file.
1
/*
2
*
3
* $Id: CmpiMethodMI.h,v 1.4 2008/07/09 19:36:59 tyreld Exp $
4
*
5
* (C) Copyright IBM Corp. 2003, 2005, 2008
6
*
7
* THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
8
* ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
9
* CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
10
*
11
* You can obtain a current copy of the Eclipse Public License from
12
* http://www.opensource.org/licenses/eclipse-1.0.txt
13
*
14
* Author: Adrian Schuur <schuur@de.ibm.com>
15
* Contributors: Heidi Neumann, heidineu@de.ibm.com
16
* Angel Nunez Mencias, anunez@de.ibm.com
17
* Viktor Mihajlovski, mihajlov@de.ibm.com
18
*
19
* Description: CMPI Method MI Definitions
20
*
21
*/
22
23
#ifndef _CmpiMethodMI_h_
24
#define _CmpiMethodMI_h_
25
26
#include <iostream>
27
28
#include "
cmpidt.h
"
29
#include "
cmpift.h
"
30
31
#include "
Linkage.h
"
32
#include "
CmpiBaseMI.h
"
33
#include "
CmpiStatus.h
"
34
#include "
CmpiObjectPath.h
"
35
#include "
CmpiResult.h
"
36
#include "
CmpiContext.h
"
37
#include "
CmpiBroker.h
"
38
#include "
CmpiArgs.h
"
39
40
41
class
CMPI_PROVIDER_LINKAGE
CmpiMethodMI
:
virtual
public
CmpiBaseMI
{
42
public
:
43
CmpiMethodMI
(
const
CmpiBroker
&mbp,
const
CmpiContext
& ctx);
44
45
static
CMPIStatus
driveInvokeMethod
46
(
CMPIMethodMI
* mi,
const
CMPIContext
* eCtx,
const
CMPIResult
* eRslt,
47
const
CMPIObjectPath
* eCop,
const
char
* methodName,
48
const
CMPIArgs
* eIn,
CMPIArgs
* eOut);
49
50
virtual
CmpiStatus
invokeMethod
51
(
const
CmpiContext
& ctx,
CmpiResult
& rslt,
52
const
CmpiObjectPath
& ref,
const
char
* methodName,
53
const
CmpiArgs
& in,
CmpiArgs
& out);
54
};
55
56
#endif
57
CmpiArgs.h
CmpiArgs
Definition:
CmpiArgs.h:39
_CMPIObjectPath
Definition:
cmpift.h:1506
cmpift.h
CmpiBroker.h
CmpiObjectPath.h
CmpiBroker
Definition:
CmpiBroker.h:46
_CMPIResult
Definition:
cmpift.h:1085
Linkage.h
_CMPIContext
Definition:
cmpift.h:1061
CmpiBaseMI
Definition:
CmpiBaseMI.h:39
CmpiStatus
Definition:
CmpiStatus.h:35
CmpiMethodMI
Definition:
CmpiMethodMI.h:41
CmpiResult.h
CmpiStatus.h
CmpiBaseMI.h
_CMPIStatus
Definition:
cmpidt.h:511
CmpiContext.h
_CMPIMethodMI
Definition:
cmpift.h:2912
CmpiObjectPath
Definition:
CmpiObjectPath.h:42
CmpiResult
Definition:
CmpiResult.h:40
_CMPIArgs
Definition:
cmpift.h:2065
CMPI_PROVIDER_LINKAGE
#define CMPI_PROVIDER_LINKAGE
Definition:
Linkage.h:28
cmpidt.h
CmpiContext
Definition:
CmpiContext.h:38
Generated by
1.8.14