00001 /** @file GATLoader.h 00002 * Header file for the GATLoader class. 00003 * 00004 * A GATLoader is responsible for loading and maintaining a list of 00005 * adaptors. 00006 * 00007 * @date Thu Sep 18 2003 00008 * 00009 * @version $Header: /export/cvs-gridlab/wp-1/Codes/GATEngine/C-reference/src/GATLoader.h,v 1.9 2004/04/09 12:29:18 hartmutkaiser Exp $ 00010 * 00011 * Copyright (C) Tom Goodale 00012 * This file is part of the GAT Engine. 00013 * Contributed by Tom Goodale <goodale@aei.mpg.de>. 00014 * 00015 * Use, modification and distribution is subject to the Gridlab Software 00016 * License. (See accompanying file GLlicense.txt or copy at 00017 * http://www.gridlab.org/GLlicense.txt) 00018 */ 00019 00020 #ifndef _GATLOADER_H_ 00021 #define _GATLOADER_H_ 1 00022 00023 typedef struct GATLoader_S *GATLoader; 00024 00025 #include "GATRegistry.h" 00026 #include "GATTable.h" 00027 00028 #ifdef __cplusplus 00029 extern "C" { 00030 #endif 00031 00032 GATLoader GATLoader_Create(void); 00033 00034 void GATLoader_Destroy(GATLoader *this); 00035 00036 GATResult 00037 GATLoader_LoadAdaptor(GATLoader this, GATContext error_context, 00038 GATRegistry registry, 00039 GATTable_const system_config, GATTable_const instance_config, 00040 const char *path, const char *name, const char *nickname); 00041 00042 #ifdef __cplusplus 00043 } 00044 #endif 00045 00046 #endif /* _GATLOADER_H_ */