00001
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
00037
00038 #include "rutz/prof.h"
00039 #include "tcl/scriptapp.h"
00040
00041
00042
00043 #include "tcl-gfx/tclpkg-canvas.h"
00044 #include "tcl-gfx/tclpkg-gx.h"
00045 #include "tcl-gfx/tclpkg-toglet.h"
00046 #include "tcl-io/tclpkg-io.h"
00047 #include "tcl/tclpkg-dlist.h"
00048 #include "tcl/tclpkg-gtrace.h"
00049 #include "tcl/tclpkg-log.h"
00050 #include "tcl/tclpkg-misc.h"
00051 #include "tcl/tclpkg-obj.h"
00052 #include "tk/tclpkg-widget.h"
00053 #include "visx/tclpkg-block.h"
00054 #include "visx/tclpkg-element.h"
00055 #include "visx/tclpkg-elementcontainer.h"
00056 #include "visx/tclpkg-expt.h"
00057 #include "visx/tclpkg-face.h"
00058 #include "visx/tclpkg-fish.h"
00059 #include "visx/tclpkg-fixpt.h"
00060 #include "visx/tclpkg-gabor.h"
00061 #include "visx/tclpkg-gl.h"
00062 #include "visx/tclpkg-hook.h"
00063 #include "visx/tclpkg-house.h"
00064 #include "visx/tclpkg-jitter.h"
00065 #include "visx/tclpkg-mask.h"
00066 #include "visx/tclpkg-morphyface.h"
00067 #include "visx/tclpkg-rh.h"
00068 #include "visx/tclpkg-sound.h"
00069 #include "visx/tclpkg-th.h"
00070 #include "visx/tclpkg-tlist.h"
00071 #include "visx/tclpkg-trial.h"
00072 #include "visx/tclpkg-trialevent.h"
00073
00074
00075
00076
00077
00078 static tcl::package_info GROOVX_PKGS[] =
00079 {
00080 { "Block", Block_Init, "4.0", false },
00081 { "Canvas", Canvas_Init, "4.0", false },
00082 { "Cloneface", Cloneface_Init, "4.0", false },
00083 { "Dlist", Dlist_Init, "4.0", false },
00084 { "Element", Element_Init, "4.0", false },
00085 { "Elementcontainer", Elementcontainer_Init, "4.0", false },
00086 { "Eventresponsehdlr", Eventresponsehdlr_Init, "4.0", false },
00087 { "Exptdriver", Exptdriver_Init, "4.0", false },
00088 { "Face", Face_Init, "4.0", false },
00089 { "Filewriteevent", Filewriteevent_Init, "4.0", false },
00090 { "Fish", Fish_Init, "4.0", false },
00091 { "Fixpt", Fixpt_Init, "4.0", false },
00092 { "Gabor", Gabor_Init, "4.0", false },
00093 { "Gaborarray", Gaborarray_Init, "4.0", false },
00094 { "Genericevent", Genericevent_Init, "4.0", false },
00095 { "Gl", Gl_Init, "4.0", false },
00096 { "Glcanvas", Glcanvas_Init, "4.0", false },
00097 { "Gtrace", Gtrace_Init, "4.0", false },
00098 { "Gx", Gx_Init, "4.0", false },
00099 { "Gxcolor", Gxcolor_Init, "4.0", false },
00100 { "Gxcylinder", Gxcylinder_Init, "4.0", false },
00101 { "Gxdisk", Gxdisk_Init, "4.0", false },
00102 { "Gxdrawstyle", Gxdrawstyle_Init, "4.0", false },
00103 { "Gxemptynode", Gxemptynode_Init, "4.0", false },
00104 { "Gxfixedscalecamera", Gxfixedscalecamera_Init, "4.0", false },
00105 { "Gxlighting", Gxlighting_Init, "4.0", false },
00106 { "Gxline", Gxline_Init, "4.0", false },
00107 { "Gxmaterial", Gxmaterial_Init, "4.0", false },
00108 { "Gxnode", Gxnode_Init, "4.0", false },
00109 { "Gxperspectivecamera", Gxperspectivecamera_Init, "4.0", false },
00110 { "Gxpixmap", Gxpixmap_Init, "4.0", false },
00111 { "Gxpointset", Gxpointset_Init, "4.0", false },
00112 { "Gxpsyphycamera", Gxpsyphycamera_Init, "4.0", false },
00113 { "Gxscaler", Gxscaler_Init, "4.0", false },
00114 { "Gxseparator", Gxseparator_Init, "4.0", false },
00115 { "Gxshapekit", Gxshapekit_Init, "4.0", false },
00116 { "Gxsphere", Gxsphere_Init, "4.0", false },
00117 { "Gxtext", Gxtext_Init, "4.0", false },
00118 { "Gxtransform", Gxtransform_Init, "4.0", false },
00119 { "Hook", Hook_Init, "4.0", false },
00120 { "House", House_Init, "4.0", false },
00121 { "Io", Io_Init, "4.0", false },
00122 { "Jitter", Jitter_Init, "4.0", false },
00123 { "Log", Log_Init, "4.0", false },
00124 { "Kbdresponsehdlr", Kbdresponsehdlr_Init, "4.0", false },
00125 { "Maskhatch", Maskhatch_Init, "4.0", false },
00126 { "Misc", Misc_Init, "4.0", false },
00127 { "Morphyface", Morphyface_Init, "4.0", false },
00128 { "Multievent", Multievent_Init, "4.0", false },
00129 { "Nullresponsehdlr", Nullresponsehdlr_Init, "4.0", false },
00130 { "Nulltrialevent", Nulltrialevent_Init, "4.0", false },
00131 { "Obj", Obj_Init, "4.0", false },
00132 { "Objectdb", Objectdb_Init, "4.0", false },
00133 { "Outputfile", Outputfile_Init, "4.0", false },
00134 { "Prof", Prof_Init, "4.0", false },
00135 { "Responsehandler", Responsehandler_Init, "4.0", false },
00136 { "Serialrh", Serialrh_Init, "4.0", false },
00137 { "Sound", Sound_Init, "4.0", false },
00138 { "Timinghandler", Timinghandler_Init, "4.0", false },
00139 { "Timinghdlr", Timinghdlr_Init, "4.0", false },
00140 { "Tkwidget", Tkwidget_Init, "4.0", false },
00141 { "Tlist", Tlist_Init, "4.0", false },
00142 { "Toglet", Toglet_Init, "4.0", true },
00143 { "Trial", Trial_Init, "4.0", false },
00144 { "Trialevent", Trialevent_Init, "4.0", false },
00145
00146 { 0, 0, 0, 0 }
00147 };
00148
00150
00151
00152
00154
00155 int main(int argc, char** argv)
00156 {
00157 GVX_SCRIPT_PROG_BEGIN(app, "GroovX", argc, argv);
00158
00159 rutz::prof::print_at_exit(true);
00160
00161 app.pkg_dir(GVX_PKG_LIB_DIR);
00162
00163 app.splash(PACKAGE_STRING " (" __DATE__ ")\n"
00164 "\n"
00165 "Copyright (c) 1998-2004 California Institute of Technology\n"
00166 "Copyright (c) 2004-2007 University of Southern California\n"
00167 "<http://ilab.usc.edu/rjpeters/groovx/>\n"
00168 PACKAGE_NAME " is free software, covered by "
00169 "the GNU General Public License, and you are "
00170 "welcome to change it and/or distribute copies "
00171 "of it under certain conditions.\n");
00172
00173 app.packages(GROOVX_PKGS);
00174
00175 app.run();
00176
00177 GVX_SCRIPT_PROG_END(app);
00178 }
00179
00180 static const char __attribute__((used)) vcid_groovx_groovx_groovx_cc_utc20050626084019[] = "$Id: groovx.cc 10066 2007-04-12 17:49:13Z rjpeters $ $HeadURL: file: