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 
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 
Definition: CmpiArgs.h:39
Definition: cmpift.h:1506
Definition: CmpiBroker.h:46
Definition: cmpift.h:1085
Definition: cmpift.h:1061
Definition: CmpiBaseMI.h:39
Definition: CmpiStatus.h:35
Definition: CmpiMethodMI.h:41
Definition: cmpidt.h:511
Definition: cmpift.h:2912
Definition: CmpiObjectPath.h:42
Definition: CmpiResult.h:40
Definition: cmpift.h:2065
#define CMPI_PROVIDER_LINKAGE
Definition: Linkage.h:28
Definition: CmpiContext.h:38