Orxonox  0.0.5 Codename: Arcturus
Classes | Namespaces | Functions | Variables
TclThreadManager.cc File Reference

Implementation of TclThreadManager. More...

#include "TclThreadManager.h"
#include <functional>
#include <boost/thread/thread.hpp>
#include <boost/thread/locks.hpp>
#include <boost/thread/shared_mutex.hpp>
#include <OgreTimer.h>
#include <cpptcl/cpptcl.h>
#include "util/Clock.h"
#include "util/Convert.h"
#include "util/Exception.h"
#include "util/StringUtils.h"
#include "core/CoreIncludes.h"
#include "CommandExecutor.h"
#include "ConsoleCommandIncludes.h"
#include "TclBind.h"
#include "TclThreadList.h"

Classes

struct  orxonox::TclInterpreterBundle
 A struct containing all information about a Tcl-interpreter. More...
 

Namespaces

 orxonox
 Die Wagnis Klasse hat die folgenden Aufgaben:
 

Functions

 orxonox::SetConsoleCommand ("TclThreadManager","create",&TclThreadManager::create)
 
 orxonox::SetConsoleCommand ("TclThreadManager","destroy",&TclThreadManager::destroy).argumentCompleter(0
 
 orxonox::SetConsoleCommand ("TclThreadManager","execute",&TclThreadManager::execute).argumentCompleter(0
 
 orxonox::SetConsoleCommand ("TclThreadManager","query",&TclThreadManager::query).argumentCompleter(0
 
 orxonox::SetConsoleCommand ("TclThreadManager","source",&TclThreadManager::source).argumentCompleter(0
 
void orxonox::sourceThread (const std::string &file)
 The main function of a non-interactive source thread. More...
 
int orxonox::Tcl_OrxonoxAppInit (Tcl_Interp *interp)
 A tcl-init hook to inject the non-interactive Tcl-interpreter into the TclThreadManager. More...
 
void orxonox::tclThread (TclInterpreterBundle *bundle, const std::string &command)
 The main function of the thread. More...
 

Variables

const float orxonox::TCLTHREADMANAGER_MAX_CPU_USAGE = 0.50f
 

Detailed Description

Implementation of TclThreadManager.