Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Public Attributes | List of all members
orxonox::TclInterpreterBundle Struct Reference

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

Public Member Functions

 TclInterpreterBundle ()
 
 ~TclInterpreterBundle ()
 

Public Attributes

bool bRunning_
 This variable stays true until destroy() gets called. More...
 
unsigned int id_
 The id of the interpreter. More...
 
Tcl::interpreter * interpreter_
 The Tcl-interpreter. More...
 
boost::unique_lock< boost::mutex > * lock_
 The corresponding lock for the mutex. More...
 
boost::mutex mutex_
 A mutex to lock the interpreter while it's being used. More...
 
TclThreadList< unsigned int > queriers_
 A list containing the id's of all other threads sending a query to this interpreter (to avoid circular queries and deadlocks) More...
 
TclThreadList< std::string > queue_
 The command queue for commands passed by execute(command) More...
 

Detailed Description

A struct containing all information about a Tcl-interpreter.

Constructor & Destructor Documentation

orxonox::TclInterpreterBundle::TclInterpreterBundle ( )
inline
orxonox::TclInterpreterBundle::~TclInterpreterBundle ( )
inline

Member Data Documentation

bool orxonox::TclInterpreterBundle::bRunning_

This variable stays true until destroy() gets called.

unsigned int orxonox::TclInterpreterBundle::id_

The id of the interpreter.

Tcl::interpreter* orxonox::TclInterpreterBundle::interpreter_

The Tcl-interpreter.

boost::unique_lock<boost::mutex>* orxonox::TclInterpreterBundle::lock_

The corresponding lock for the mutex.

boost::mutex orxonox::TclInterpreterBundle::mutex_

A mutex to lock the interpreter while it's being used.

TclThreadList<unsigned int> orxonox::TclInterpreterBundle::queriers_

A list containing the id's of all other threads sending a query to this interpreter (to avoid circular queries and deadlocks)

TclThreadList<std::string> orxonox::TclInterpreterBundle::queue_

The command queue for commands passed by execute(command)


The documentation for this struct was generated from the following file: