Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9861 in orxonox.OLD for branches/new_class_id/src/lib/shell


Ignore:
Timestamp:
Oct 1, 2006, 1:37:36 PM (18 years ago)
Author:
bensch
Message:

Changed the ShellBuffer to DebugBuffer, as the dependency is only one way, and it makes no sense for the rest of Orxonox Modules to know the Shell

Location:
branches/new_class_id/src/lib/shell
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/shell/Makefile.am

    r9709 r9861  
    66libORXshell_a_SOURCES = \
    77                shell.cc \
    8                 shell_buffer.cc \
    98                shell_input.cc \
    109                shell_command.cc \
     
    1615noinst_HEADERS= \
    1716                shell.h \
    18                 shell_buffer.h \
    1917                shell_input.h \
    2018                shell_command_class.h \
  • branches/new_class_id/src/lib/shell/shell.cc

    r9715 r9861  
    1818#include "shell.h"
    1919#include "shell_command.h"
    20 #include "shell_buffer.h"
     20#include "debug_buffer.h"
    2121#include "shell_input.h"
    2222
     
    6565    this->setName("Shell");
    6666
    67     this->shellBuffer = ShellBuffer::getInstance();
     67    this->shellBuffer = DebugBuffer::getInstance();
    6868
    6969    // EVENT-Handler subscription of '`' to all States.
     
    446446  {
    447447    this->flush();
    448     ShellBuffer::addBufferLineStatic("orxonox - shell\n ==================== \n", NULL);
     448    DebugBuffer::addBufferLineStatic("orxonox - shell\n ==================== \n", NULL);
    449449  }
    450450
  • branches/new_class_id/src/lib/shell/shell.h

    r9715 r9861  
    1414
    1515#include "shell_input.h"
    16 #include "shell_buffer.h"
     16#include "debug_buffer.h"
    1717#include "material.h"
    1818
     
    9393  private:
    9494    // GENERAL
    95     ShellBuffer*                shellBuffer;            //!< The local ShellBuffer.
     95    DebugBuffer*                shellBuffer;            //!< The local ShellBuffer.
    9696
    9797    bool                        bActive;                //!< If the shell is active.
  • branches/new_class_id/src/lib/shell/shell_input.cc

    r9715 r9861  
    161161  bool ShellInput::executeCommand()
    162162  {
    163     ShellBuffer::addBufferLineStatic("Execute Command: %s\n", this->inputLine.c_str());
     163    DebugBuffer::addBufferLineStatic("Execute Command: %s\n", this->inputLine.c_str());
    164164
    165165    if (this->inputLine.empty())
Note: See TracChangeset for help on using the changeset viewer.