Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5634 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Nov 18, 2005, 6:09:01 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Executor works just fine.
Changed: Paramerte* to MT_*, to make things more general

Location:
trunk/src/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/Makefile.am

    r5536 r5634  
    4040                        util/helper_functions.cc \
    4141                        util/multi_type.cc \
     42                        util/executor/executor.cc \
    4243                        math/vector.cc \
    4344                        math/curve.cc
     
    5758                        util/helper_functions.h \
    5859                        util/multi_type.h \
     60                        util/executor/executor.h \
    5961                        math/vector.h \
    6062                        math/curve.h
  • trunk/src/lib/Makefile.in

    r5536 r5634  
    5858        ini_parser.$(OBJEXT) substring.$(OBJEXT) color.$(OBJEXT) \
    5959        helper_functions.$(OBJEXT) multi_type.$(OBJEXT) \
    60         vector.$(OBJEXT) curve.$(OBJEXT)
     60        executor.$(OBJEXT) vector.$(OBJEXT) curve.$(OBJEXT)
    6161libORXlibs_a_OBJECTS = $(am_libORXlibs_a_OBJECTS)
    6262DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
     
    229229                        util/helper_functions.cc \
    230230                        util/multi_type.cc \
     231                        util/executor/executor.cc \
    231232                        math/vector.cc \
    232233                        math/curve.cc
     
    246247                        util/helper_functions.h \
    247248                        util/multi_type.h \
     249                        util/executor/executor.h \
    248250                        math/vector.h \
    249251                        math/curve.h
     
    311313@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color.Po@am__quote@
    312314@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curve.Po@am__quote@
     315@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/executor.Po@am__quote@
    313316@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/helper_functions.Po@am__quote@
    314317@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ini_parser.Po@am__quote@
     
    458461@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    459462@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o multi_type.obj `if test -f 'util/multi_type.cc'; then $(CYGPATH_W) 'util/multi_type.cc'; else $(CYGPATH_W) '$(srcdir)/util/multi_type.cc'; fi`
     463
     464executor.o: util/executor/executor.cc
     465@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT executor.o -MD -MP -MF "$(DEPDIR)/executor.Tpo" -c -o executor.o `test -f 'util/executor/executor.cc' || echo '$(srcdir)/'`util/executor/executor.cc; \
     466@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/executor.Tpo" "$(DEPDIR)/executor.Po"; else rm -f "$(DEPDIR)/executor.Tpo"; exit 1; fi
     467@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='util/executor/executor.cc' object='executor.o' libtool=no @AMDEPBACKSLASH@
     468@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     469@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o executor.o `test -f 'util/executor/executor.cc' || echo '$(srcdir)/'`util/executor/executor.cc
     470
     471executor.obj: util/executor/executor.cc
     472@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT executor.obj -MD -MP -MF "$(DEPDIR)/executor.Tpo" -c -o executor.obj `if test -f 'util/executor/executor.cc'; then $(CYGPATH_W) 'util/executor/executor.cc'; else $(CYGPATH_W) '$(srcdir)/util/executor/executor.cc'; fi`; \
     473@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/executor.Tpo" "$(DEPDIR)/executor.Po"; else rm -f "$(DEPDIR)/executor.Tpo"; exit 1; fi
     474@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='util/executor/executor.cc' object='executor.obj' libtool=no @AMDEPBACKSLASH@
     475@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     476@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o executor.obj `if test -f 'util/executor/executor.cc'; then $(CYGPATH_W) 'util/executor/executor.cc'; else $(CYGPATH_W) '$(srcdir)/util/executor/executor.cc'; fi`
    460477
    461478vector.o: math/vector.cc
     
    621638
    622639distdir: $(DISTFILES)
    623         $(mkdir_p) $(distdir)/coord $(distdir)/graphics/render2D $(distdir)/lang $(distdir)/math $(distdir)/util
     640        $(mkdir_p) $(distdir)/coord $(distdir)/graphics/render2D $(distdir)/lang $(distdir)/math $(distdir)/util $(distdir)/util/executor
    624641        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    625642        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
  • trunk/src/lib/shell/shell_command.cc

    r5555 r5634  
    584584    switch (this->parameters[i])
    585585    {
    586       case ParameterBool:
     586      case MT_BOOL:
    587587        this->defaultValue[i].setInt(va_arg(defaultList, int));
    588588        break;
    589       case ParameterChar:
     589      case MT_CHAR:
    590590        this->defaultValue[i].setChar((char)va_arg(defaultList, int));
    591591        break;
    592       case ParameterString:
     592      case MT_STRING:
    593593        this->defaultValue[i].setString(va_arg(defaultList, char*));
    594594        break;
    595       case ParameterInt:
     595      case MT_INT:
    596596        this->defaultValue[i].setInt(va_arg(defaultList, int));
    597597        break;
    598       case ParameterUInt:
     598/*      case MT_UINT:
    599599        this->defaultValue[i].setInt((int)va_arg(defaultList, unsigned int));
    600         break;
    601       case ParameterFloat:
     600        break;*/
     601      case MT_FLOAT:
    602602        this->defaultValue[i].setFloat(va_arg(defaultList, double));
    603603        break;
    604       case ParameterLong:
     604/*      case MT_LONG:
    605605        this->defaultValue[i].setInt((int) va_arg(defaultList, long));
    606         break;
     606        break;*/
    607607      default:
    608608        break;
     
    654654const char* ShellCommandBase::paramToString(long parameter)
    655655{
    656   switch (parameter)
     656  return MultiType::MultiTypeToString((MT_Type)parameter);
     657// FIXME
     658  /*  switch (parameter)
    657659  {
    658660    case ParameterBool:
     
    680682      return "NULL";
    681683      break;
    682   }
    683 }
     684  }*/
     685}
Note: See TracChangeset for help on using the changeset viewer.