All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IDLLoad.cpp File Reference
#include "IDLLoad.h"
#include "rp/Segmenter.h"
#include "Functions.h"
#include <terralib/common/TerraLib.h>

Go to the source code of this file.

Macros

#define TERRALIB_IDL_FUNCTIONS_NUMBER   1
 

Functions

void IDL_ExitHandler (void)
 IDL exit handler. More...
 
int IDL_Load (void)
 IDL module entry point. More...
 

Macro Definition Documentation

#define TERRALIB_IDL_FUNCTIONS_NUMBER   1

Definition at line 33 of file IDLLoad.cpp.

Referenced by IDL_Load().

Function Documentation

void IDL_ExitHandler ( void  )

IDL exit handler.

IDL maintains a list of exit handler functions that it calls as part of its shutdown operations. These handlers perform actions such as closing files, wrapping up graphics output, and restoring the user environment to its initial state.

Definition at line 58 of file IDLLoad.cpp.

References TerraLib::finalize(), and te::common::Singleton< TerraLib >::getInstance().

Referenced by IDL_Load().

int IDL_Load ( void  )

IDL module entry point.

Every loadable module sharable library must export a single symbol called IDL_Load(). This function is called when IDL loads the module, and is expected to do all the work required to load real definitions for the routines supplied by the function and prepare the module for use.

Returns
It is expected to return True (non-zero) if it was successful, and False (0) if some initialization step failed.

Definition at line 35 of file IDLLoad.cpp.

References te::common::Singleton< TerraLib >::getInstance(), IDL_ExitHandler(), TerraLib::initialize(), te::idl::loadTerralibModules(), te::idl::rp::RegionGrowingSegmenter(), and TERRALIB_IDL_FUNCTIONS_NUMBER.