libFAUDES

Sections

Index

libluafaudes.h

Go to the documentation of this file.
00001 /** @file libluafaudes.h Includes all libluafaudes headers, incl lua  */
00002 
00003 /* FAU Discrete Event Systems Library (libfaudes)
00004 
00005    Copyright (C) 2008 Thomas Moor
00006    Exclusive copyright is granted to Klaus Schmidt
00007 
00008    This library is free software; you can redistribute it and/or
00009    modify it under the terms of the GNU Lesser General Public
00010    License as published by the Free Software Foundation; either
00011    version 2.1 of the License, or (at your option) any later version.
00012 
00013    This library is distributed in the hope that it will be useful,
00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016    Lesser General Public License for more details.
00017 
00018    You should have received a copy of the GNU Lesser General Public
00019    License along with this library; if not, write to the Free Software
00020    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
00021 
00022 
00023 #ifndef FAUDES_LIBLUAFAUDES_H
00024 #define FAUDES_LIBLUAFAUDES_H
00025 
00026 
00027 // lua essentials
00028 #define lua_c
00029 
00030 // lua essentials
00031 extern "C" {
00032 #include "lua.h"
00033 #include "lauxlib.h"
00034 #include "lualib.h"
00035 }
00036 
00037 
00038 // std streams for console logging
00039 #include <iostream>
00040 #include <fstream>
00041 #include <sstream>
00042 #include <string>
00043 
00044 // luafaudes: include faudes
00045 #include "corefaudes.h"
00046 
00047 // include declarations for SWIG generated module loaders 
00048 #include "lbp_load.h"
00049 
00050 // luafaudes: logging externals, defined in commonfaudes.i
00051 extern std::ofstream* luafaudes_logstream;
00052 extern std::string luafaudes_lastline;
00053 extern void luafaudes_logwrite(const char* str);
00054 extern void luafaudes_logwrite(const std::string& str);
00055 
00056 // luafaudes: dot test external, see commonfaudes.i
00057 extern bool luafaudes_dotready(void); 
00058 
00059 #endif

libFAUDES 2.14g --- 2009-12-3 --- c++ source docu by doxygen 1.5.6