00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef SCRIPT_INVT_C_DEFINED
00039 #define SCRIPT_INVT_C_DEFINED
00040
00041 #include "rutz/prof.h"
00042 #include "tcl/scriptapp.h"
00043
00044
00045
00046
00047
00048 #include "Script/ImageScript.H"
00049 #include "Script/ImageTkScript.H"
00050 #include "Script/MediaScript.H"
00051 #include "Script/ModelScript.H"
00052 #include "Script/NeuroScript.H"
00053 #include "tcl/tclpkg-dlist.h"
00054 #include "tcl/tclpkg-gtrace.h"
00055 #include "tcl/tclpkg-log.h"
00056 #include "tcl/tclpkg-misc.h"
00057 #include "tcl/tclpkg-obj.h"
00058
00059 const tcl::package_info INVT_PKGS[] =
00060 {
00061
00062 { "Bimage", Bimage_Init, "4.1", false },
00063 { "Brain", Brain_Init, "4.1", false },
00064 { "Cbimage", Cbimage_Init, "4.1", false },
00065 { "Cfimage", Cfimage_Init, "4.1", false },
00066 { "Dlist", Dlist_Init, "4.11876", false },
00067 { "Fimage", Fimage_Init, "4.1", false },
00068 { "Frameseries", Frameseries_Init, "4.1", false },
00069 { "Gtrace", Gtrace_Init, "4.11876", false },
00070 { "Imagetk", Imagetk_Init, "4.1", true },
00071 { "Inputframeseries", Inputframeseries_Init, "4.1", false },
00072 { "Log", Log_Init, "4.11876", false },
00073 { "Misc", Misc_Init, "4.11876", false },
00074 { "Modelcomponent", Modelcomponent_Init, "4.1", false },
00075 { "Modelmanager", Modelmanager_Init, "4.1", false },
00076 { "Obj", Obj_Init, "4.11876", false },
00077 { "Objectdb", Objectdb_Init, "4.11876", false },
00078 { "Outputframeseries", Outputframeseries_Init, "4.1", false },
00079 { "Prof", Prof_Init, "4.11876", false },
00080 { "Raster", Raster_Init, "4.1", false },
00081 { "Simeventqueue", Simeventqueue_Init, "4.1", false },
00082 { "Siminputframeseries", Siminputframeseries_Init, "4.1", false },
00083 { "Simmodule", Simmodule_Init, "4.1", false },
00084 { "Simoutputframeseries",Simoutputframeseries_Init,"4.1", false },
00085 { "Stdbrain", Stdbrain_Init, "4.1", false },
00086 { "Winnertakeall", Winnertakeall_Init, "4.1", false },
00087 { "Winnertakeallstd", Winnertakeallstd_Init, "4.1", false },
00088
00089
00090 { 0, 0, 0, 0 }
00091 };
00092
00093
00094
00095
00096
00097
00098
00099 int main(int argc, char** argv)
00100 {
00101 GVX_SCRIPT_PROG_BEGIN(app, "iNVT", argc, argv);
00102
00103
00104
00105
00106 LOG_FLAGS &= (~LFATAL_XTRA_NOISY);
00107
00108
00109
00110
00111 LOG_FLAGS &= (~LFATAL_PRINTS_ABORT);
00112
00113 rutz::prof::print_at_exit(true);
00114
00115 app.splash(PACKAGE_STRING " (" __DATE__ ")\n"
00116 "\n"
00117 "Copyright (c) 2001-2005 iLab and the Univ. of Southern California\n"
00118 "<http://ilab.usc.edu>\n"
00119 "Copyright (c) 1998-2004 Rob Peters and Caltech\n"
00120 "<http://ilab.usc.edu/rjpeters/groovx/>\n"
00121 PACKAGE_NAME " is free software, "
00122 "covered by the GNU General Public "
00123 "License, and you are welcome to "
00124 "change it and/or distribute copies "
00125 "of it under certain conditions.");
00126
00127 app.packages(INVT_PKGS);
00128
00129 app.run();
00130
00131 GVX_SCRIPT_PROG_END(app);
00132 }
00133
00134
00135
00136
00137
00138
00139
00140 #endif // SCRIPT_INVT_C_DEFINED