Changeset 972 for code/branches/core2/src/orxonox/Orxonox.cc
- Timestamp:
- Apr 3, 2008, 12:05:15 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core2/src/orxonox/Orxonox.cc
r955 r972 99 99 void listen() const 100 100 { 101 std::cout << "> -->" << this->ib_->get() << "<--"<< std::endl;101 std::cout << "> " << this->ib_->get() << std::endl; 102 102 } 103 103 void execute() const 104 104 { 105 std::cout << "### EXECUTE!" << std::endl; 106 CommandExecutor::execute(this->ib_->get()); 105 std::cout << ">> " << this->ib_->get() << std::endl; 106 if (!CommandExecutor::execute(this->ib_->get())) 107 std::cout << "Error" << std::endl; 107 108 this->ib_->clear(); 108 109 } 109 110 void hintandcomplete() const 110 111 { 111 std::cout << "### HINT!" << std::endl;112 112 std::cout << CommandExecutor::hint(this->ib_->get()) << std::endl; 113 113 this->ib_->set(CommandExecutor::complete(this->ib_->get())); … … 115 115 void clear() const 116 116 { 117 std::cout << "### CLEAR!" << std::endl;118 117 this->ib_->clear(); 119 118 } 120 119 void removeLast() const 121 120 { 122 std::cout << "### REMOVELAST!" << std::endl;123 121 this->ib_->removeLast(); 124 122 }
Note: See TracChangeset
for help on using the changeset viewer.