| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

Defines
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/libspl/spl.h File Reference

SPL's main header. More...

`#include "include/spl_platform.h"`
`#include "include/spl_typedefs.h"`
`#include "include/spl_pluginargs.h"`
`#include "include/spl_plugininfo.h"`
`#include "include/spl_pluginserver.h"`
`#include <string>`
`#include "include/spl_pluginserver_win32.h"`

Go to the source code of this file.

## Defines

#define | SPL_PLUGIN_API
| Macro for exporting SPL functions.
#define | SPL_DEFINE_PLUGIN_DLLMAIN()
| Macro for exporting SPL's default functions.
#define | SPL_DEFINE_PLUGIN_EXPORTS()
#define | SPL_DEFINE_PLUGIN_INFO(a_lBuildNumber,a_lMajorVersion,a_lMinorVersion,a_bPublicArgInfos,a_strName,a_strVendor,a_strDescription,a_strInfo,a_strHomepage,a_strEmail,a_strUUID)
| Macro for exporting SPL's default functions.
#define | SPL_SET_PLUGIN_INIT_ARGUMENT(a_strArgumentName, a_strArgumentDescription)
| Macro for setting the plugin-side arguments for the "splInitialize" function.
#define | SPL_SET_PLUGIN_RUN_ARGUMENT(a_strArgumentName, a_strArgumentDescription)
| Macro for setting the plugin-side arguments for the "splRun" function.
#define | SPL_SET_PLUGIN_SHUTDOWN_ARGUMENT(a_strArgumentName, a_strArgumentDescription)
| Macro for setting the plugin-side arguments for the "splShutdown" function.
#define | SPL_IMPLEMENT_PLUGIN_GETINFO()
| Macro for implementing a default "splGetInfo" function.
#define | SPL_IMPLEMENT_PLUGIN_INITIALIZE()
| Macro for implementing a default "splInitialize" function.
#define | SPL_IMPLEMENT_PLUGIN_SHUTDOWN()
| Macro for implementing a default "splShutdown" function.

## Detailed Description

SPL's main header.

## Terms of Use

libspl - the simple plugin layer library. Copyright (C) 2004 Andreas Loeffler and René Stuhr (www.unitedbytes.de).

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

## Author

Andreas Loeffler (www.unitedbytes.de)

Version:
  1.0

Author:
  Andreas Loeffler

## Define Documentation

#define SPL_DEFINE_PLUGIN_DLLMAIN | ( |  | ) |

Macro for exporting SPL's default functions.

#define SPL_DEFINE_PLUGIN_EXPORTS | ( |  | ) |

#define SPL_DEFINE_PLUGIN_INFO | ( |  | a_lBuildNumber,
|  |  | a_lMajorVersion,
|  |  | a_lMinorVersion,
|  |  | a_bPublicArgInfos,
|  |  | a_strName,
|  |  | a_strVendor,
|  |  | a_strDescription,
|  |  | a_strInfo,
|  |  | a_strHomepage,
|  |  | a_strEmail,
|  |  | a_strUUID
| ) |  |

Macro for exporting SPL's default functions.

#define SPL_IMPLEMENT_PLUGIN_GETINFO | ( |  | ) |

Value:

    \
               SPL_PLUGIN_API slcPluginInfo* SPL_GETINFO_NAME_CODE( void )                  \
               {                                                                                                                                                                               \
                          return &g_pluginInfo;                                                                                                    \
               }

Macro for implementing a default "splGetInfo" function.

#define SPL_IMPLEMENT_PLUGIN_INITIALIZE | ( |  | ) |

Value:

    \
               SPL_PLUGIN_API bool SPL_INIT_NAME_CODE( slcPluginArgs* a_pPluginArgs )       \
               {                                                                                                                                                                                                     \
                          return true;                                                                                                                                                         \
               }

Macro for implementing a default "splInitialize" function.

#define SPL_IMPLEMENT_PLUGIN_SHUTDOWN | ( |  | ) |

Value:

    \
               SPL_PLUGIN_API bool SPL_SHUTDOWN_NAME_CODE( slcPluginArgs* a_pPluginArgs )   \
               {                                                                                                                                                                                                                \
                          return true;                                                                                                                                                                    \
               }

Macro for implementing a default "splShutdown" function.

#define SPL_PLUGIN_API

Macro for exporting SPL functions.

#define SPL_SET_PLUGIN_INIT_ARGUMENT | ( |  | a_strArgumentName,
|  |  | a_strArgumentDescription
| ) |  |

Value:

    \
               g_pluginInfo.SetArgument( slcPluginInfo::sleFunction_Init, a_strArgumentName, a_strArgumentDescription );

Macro for setting the plugin-side arguments for the "splInitialize" function.

#define SPL_SET_PLUGIN_RUN_ARGUMENT | ( |  | a_strArgumentName,
|  |  | a_strArgumentDescription
| ) |  |

Value:

    \
               g_pluginInfo.SetArgument( slcPluginInfo::sleFunction_Run, a_strArgumentName, a_strArgumentDescription );

Macro for setting the plugin-side arguments for the "splRun" function.

#define SPL_SET_PLUGIN_SHUTDOWN_ARGUMENT | ( |  | a_strArgumentName,
|  |  | a_strArgumentDescription
| ) |  |

Value:

    \
               g_pluginInfo.SetArgument( slcPluginInfo::sleFunction_Shutdown, a_strArgumentName, a_strArgumentDescription );

Macro for setting the plugin-side arguments for the "splShutdown" function.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines