Main Page Alphabetical List Compound List File List Compound Members File Members
GATSelfCPI.h File ReferenceHeader file for the GATSelfCPI class.
More...
#include "GATContext.h"
#include "GATPreferences.h"
Include dependency graph for GATSelfCPI.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Compounds |
| struct | GATSelfCPI_Instance |
| | The #GATSelfCPI_Instance structure holds all data items supplied by the client during the construction of the corresponding GAT object. More...
|
| struct | GATSelfCPI_Data |
Defines |
| #define | _GATSELFCPI_H_ |
| #define | GATSELFCPI_VERSION1 1 |
| #define | GATSELFCPI_VERSION GATSELFCPI_VERSION1 |
Typedefs |
| typedef void(* | GATSelfCPI_Adaptor_Destroy )(void *) |
| typedef GATResult(* | GATSelfCPI_Adaptor_ServiceActions )(void *, GATSelfCPI_Instance *, GATTimePeriod_const) |
| typedef GATResult(* | GATSelfCPI_Adaptor_CreateInstance )(void *, GATSelfCPI_Instance *) |
| typedef void(* | GATSelfCPI_Adaptor_DestroyInstance )(void *, GATSelfCPI_Instance *) |
| typedef GATResult(* | GATSelfCPI_Adaptor_GetJob )(void *, GATSelfCPI_Instance *, GATContext, GATJob *) |
| typedef GATResult(* | GATSelfCPI_Adaptor_CreateRequestForListener )(void *, GATSelfCPI_Instance *, GATContext, GATRequestListener, void *, GATRequestType, GATTable_const, const char *, GATRequest *) |
| typedef GATResult(* | GATSelfCPI_Adaptor_DestroyRequestForListener )(void *, GATSelfCPI_Instance *, GATContext, GATRequest *) |
Functions |
| GATSelfCPI | GATSelfCPI_Create (unsigned long int version, GATSelfCPI_Data *data) |
| | GATSelfCPI_Create The GATSelfCPI constructor.
|
| void | GATSelfCPI_Destroy (GATSelfCPI *cpi) |
| | GATSelfCPI_Destroy The GATSelfCPI destructor.
|
| GATResult | GATSelfCPI_CreateInstance (GATSelfCPI cpi, GATSelfCPI_Instance *instance_data) |
| | GATSelfCPI_CreateInstance Create a new CPI object instance.
|
| void | GATSelfCPI_DestroyInstance (GATSelfCPI cpi, GATSelfCPI_Instance *instance_data) |
| | GATSelfCPI_DestroyInstance Create a new CPI object instance.
|
| GATResult | GATSelfCPI_GetJob (GATSelfCPI cpi, GATSelfCPI_Instance *instance_data, GATContext context, GATJob *job) |
| | GATSelfCPI_GetJob.
|
| GATResult | GATSelfCPI_CreateRequestForListener (GATSelfCPI cpi, GATSelfCPI_Instance *instance_data, GATContext context, GATRequestListener listener, void *data, GATRequestType type, GATTable_const parameters, const char *name, GATRequest *request) |
| | GATSelfCPI_CreateRequestForListener.
|
| GATResult | GATSelfCPI_DestroyRequestForListener (GATSelfCPI cpi, GATSelfCPI_Instance *instance_data, GATContext context, GATRequest *request) |
| | GATSelfCPI_DestroyRequestForListener.
|
Detailed Description
Header file for the GATSelfCPI class.
- Date:
-
Fri Jan 23 2004
- Version:
-
- Header:
-
/export/cvs-gridlab/wp-1/Codes/GATEngine/C-reference/src/GATSelfCPI.h,v 1.8 2004/04/01 17:21:28 hartmutkaiser Exp
Copyright (C) Hartmut Kaiser This file is part of the GAT Engine. Contributed by Hartmut Kaiser <hartmutkaiser [at] t-online [dot] de>.
Use, modification and distribution is subject to the Gridlab Software License. (See accompanying file GLlicense.txt or copy at http://www.gridlab.org/GLlicense.txt)
Definition in file GATSelfCPI.h.
Define Documentation
| #define GATSELFCPI_VERSION1 1
|
|
| #define GATSELFCPI_VERSION GATSELFCPI_VERSION1
|
|
Typedef Documentation
| typedef void(* GATSelfCPI_Adaptor_Destroy)(void *)
|
|
Function Documentation
|
|
GATSelfCPI_Create The GATSelfCPI constructor.
new_cpi is the constructor for GATSelfCPI objects. - Parameters:
-
| version |
Version of the GATSelfCPI_Data structure |
| data |
Pointer to adaptor CPI instance data structure. |
- Returns:
-
A new GATSelfCPI
Definition at line 64 of file GATSelfCPI.c.
References GATSelfCPI_Data::create_instance, GATSelfCPI_S::create_instance, GATSelfCPI_Data::create_requestforlistener, GATSelfCPI_S::create_requestforlistener, GATSelfCPI_Data::data, GATSelfCPI_S::data, data, GATSelfCPI_Data::destroy, GATSelfCPI_S::destroy, GATSelfCPI_Data::destroy_instance, GATSelfCPI_S::destroy_instance, GATSelfCPI_Data::destroy_requestforlistener, GATSelfCPI_S::destroy_requestforlistener, GATSelfCPI_IsValidData_V1(), GATSELFCPI_VERSION, GATTrue, GATSelfCPI_Data::get_selfjob, GATSelfCPI_S::get_selfjob, GATSelfCPI_Data::service_actions, and GATSelfCPI_S::service_actions.
Referenced by resourcebroker_adaptor_Register_GATSelfCPI(). |
|