Changeset 8840 for code/branches/output/src
- Timestamp:
- Aug 13, 2011, 11:58:07 PM (13 years ago)
- Location:
- code/branches/output/src/libraries
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/core/CMakeLists.txt
r8729 r8840 86 86 input/KeyBinder.h 87 87 input/KeyBinderManager.h 88 ../util/output/OutputDefinitions.h 88 89 PCH_FILE 89 90 CorePrecompiledHeaders.h -
code/branches/output/src/libraries/core/LuaState.cc
r8806 r8840 36 36 } 37 37 #include <loki/ScopeGuard.h> 38 #include <boost/preprocessor/stringize.hpp>39 38 40 39 #include "util/Output.h" … … 237 236 } 238 237 239 void LuaState::luaLog(unsigned int level, const std::string& message) 240 { 241 #pragma message(__FILE__ "("BOOST_PP_STRINGIZE(__LINE__)") : Warning: TODO: use correct level, inspect lua support (and remove boost include)") 242 orxout(debug_output, context::lua) << "luaLog (level: " << level << "): " << message << endl; 238 void LuaState::luaOutput(OutputLevel level, const std::string& context, const std::string& message) 239 { 240 orxout(level, registerContext(context)) << message << endl; 241 } 242 243 void LuaState::luaOutput(OutputLevel level, const std::string& message) 244 { 245 orxout(level, context::lua) << message << endl; 246 } 247 248 void LuaState::luaOutput(const std::string& message) 249 { 250 orxout(debug_output, context::lua) << message << endl; 243 251 } 244 252 -
code/branches/output/src/libraries/core/LuaState.h
r8729 r8840 83 83 84 84 void luaPrint(const std::string& str); // tolua_export 85 void luaLog(unsigned int level, const std::string& message); // tolua_export 85 void luaOutput(orxonox::level::OutputLevel level, const std::string& context, const std::string& message); // tolua_export 86 void luaOutput(orxonox::level::OutputLevel level, const std::string& message); // tolua_export 87 void luaOutput(const std::string& message); // tolua_export 86 88 bool fileExists(const std::string& filename); // tolua_export 87 89 std::string getSourceCode(const std::string& filename); // tolua_export -
code/branches/output/src/libraries/core/command/Shell.cc
r8837 r8840 33 33 34 34 #include "Shell.h" 35 36 #include <boost/preprocessor/stringize.hpp>37 35 38 36 #include "util/Math.h" -
code/branches/output/src/libraries/util/output/OutputDefinitions.h
r8835 r8840 39 39 const OutputContextContainer& subname() { static const OutputContextContainer& context = registerContext(#name, #subname); return context; } 40 40 41 // tolua_begin 41 42 namespace orxonox 42 43 { … … 63 64 }; 64 65 } 66 // tolua_end 65 67 66 68 using namespace level; … … 128 130 } 129 131 } 130 } 132 } // tolua_export 131 133 132 134 #endif /* _OutputDefinitions_H__ */
Note: See TracChangeset
for help on using the changeset viewer.