![]() |
Orfeo Toolbox
3.16
|
#include <itkVersion.h>#include <itksys/SystemTools.hxx>#include <itkMultiThreader.h>#include <signal.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <string>#include "lua.h"#include "lualib.h"#include "lauxlib.h"
Include dependency graph for otbApplicationLuaMain.cxx:Go to the source code of this file.
Classes | |
| struct | Smain |
Macros | |
| #define | lua_c |
| #define | LUA_USE_POSIX |
Functions | |
| static int | collectargs (char **argv, int *pi, int *pv, int *pe) |
| static int | docall (lua_State *L, int narg, int clear) |
| static int | dofile (lua_State *L, const char *name) |
| static int | dolibrary (lua_State *L, const char *name) |
| static int | dostring (lua_State *L, const char *s, const char *name) |
| static void | dotty (lua_State *L) |
| static const char * | get_prompt (lua_State *L, int firstline) |
| static int | getargs (lua_State *L, char **argv, int n) |
| static int | handle_luainit (lua_State *L) |
| static int | handle_script (lua_State *L, char **argv, int n) |
| static int | incomplete (lua_State *L, int status) |
| static void | l_message (const char *pname, const char *msg) |
| static void | laction (int i) |
| static int | loadline (lua_State *L) |
| std::string | LogConfigFilename ("") |
| static void | lstop (lua_State *L, lua_Debug *ar) |
| int | luaopen_otbApplication (lua_State *L) |
| int | main (int argc, char **argv) |
| static int | pmain (lua_State *L) |
| static void | print_usage (void) |
| static void | print_version (void) |
| static int | pushline (lua_State *L, int firstline) |
| static int | report (lua_State *L, int status) |
| static int | runargs (lua_State *L, char **argv, int n) |
| static int | traceback (lua_State *L) |
Variables | |
| static lua_State * | globalL = NULL |
| static const char * | progname = LUA_PROGNAME |
| #define lua_c |
Definition at line 17 of file otbApplicationLuaMain.cxx.
| #define LUA_USE_POSIX |
Definition at line 20 of file otbApplicationLuaMain.cxx.
|
static |
|
static |
Definition at line 101 of file otbApplicationLuaMain.cxx.
References laction(), and traceback().
Referenced by dofile(), dostring(), dotty(), and handle_script().
|
static |
Definition at line 139 of file otbApplicationLuaMain.cxx.
References docall(), and report().
Referenced by handle_luainit(), and pmain().
|
static |
Definition at line 151 of file otbApplicationLuaMain.cxx.
References report().
Referenced by runargs().
|
static |
Definition at line 145 of file otbApplicationLuaMain.cxx.
References docall(), and report().
Referenced by handle_luainit(), and runargs().
|
static |
Definition at line 221 of file otbApplicationLuaMain.cxx.
References docall(), l_message(), loadline(), NULL, progname, and report().
Referenced by pmain().
|
static |
Definition at line 158 of file otbApplicationLuaMain.cxx.
References NULL.
Referenced by pushline().
|
static |
Definition at line 121 of file otbApplicationLuaMain.cxx.
Referenced by handle_script().
|
static |
Definition at line 325 of file otbApplicationLuaMain.cxx.
References dofile(), dostring(), and NULL.
Referenced by pmain().
|
static |
|
static |
Definition at line 168 of file otbApplicationLuaMain.cxx.
Referenced by loadline().
|
static |
Definition at line 65 of file otbApplicationLuaMain.cxx.
|
static |
Definition at line 41 of file otbApplicationLuaMain.cxx.
References globalL, and lstop().
Referenced by docall().
|
static |
Definition at line 201 of file otbApplicationLuaMain.cxx.
References incomplete(), and pushline().
Referenced by dotty().
| std::string LogConfigFilename | ( | "" | ) |
Referenced by runargs().
|
static |
| int luaopen_otbApplication | ( | lua_State * | L | ) |
Referenced by pmain().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 394 of file otbApplicationLuaMain.cxx.
References Smain::argc, Smain::argv, l_message(), NULL, pmain(), report(), and Smain::status.
|
static |
Definition at line 346 of file otbApplicationLuaMain.cxx.
References Smain::argc, Smain::argv, collectargs(), dofile(), dotty(), globalL, handle_luainit(), handle_script(), luaopen_otbApplication(), NULL, print_usage(), print_version(), progname, runargs(), itk::MultiThreader::SetGlobalDefaultNumberOfThreads(), and Smain::status.
Referenced by main().
|
static |
Definition at line 48 of file otbApplicationLuaMain.cxx.
References progname.
Referenced by pmain().
|
static |
Definition at line 115 of file otbApplicationLuaMain.cxx.
References itk::Version::GetITKVersion().
Referenced by pmain().
|
static |
Definition at line 182 of file otbApplicationLuaMain.cxx.
References get_prompt().
Referenced by loadline().
|
static |
Definition at line 72 of file otbApplicationLuaMain.cxx.
References l_message(), NULL, and progname.
Referenced by dofile(), dolibrary(), dostring(), dotty(), handle_script(), and main().
|
static |
Definition at line 289 of file otbApplicationLuaMain.cxx.
References dolibrary(), dostring(), LogConfigFilename(), and NULL.
Referenced by pmain().
|
static |
Definition at line 83 of file otbApplicationLuaMain.cxx.
Referenced by docall().
|
static |
Definition at line 30 of file otbApplicationLuaMain.cxx.
|
static |
Definition at line 32 of file otbApplicationLuaMain.cxx.
Referenced by dotty(), pmain(), print_usage(), and report().