COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Private Attributes | List of all members
TreeThread Class Reference

Manages the client root node. More...

#include <TreeThread.hpp>

Inherits QThread.

Public Member Functions

 TreeThread (QObject *parent=nullptr)
 
 ~TreeThread ()
 
void run ()
 
const common::UUCountget_uuid ()
 Gives the root UuiD. More...
 
template<typename TYPE >
Handle< TYPE > root_child (const std::string &name) const
 
Handle< NRootroot () const
 
Handle< NRootroot ()
 
void new_signal (common::SignalArgs &doc)
 
void set_mutex (QMutex *mutex)
 

Private Attributes

boost::shared_ptr< NRootm_root
 
QMutex * m_mutex
 

Detailed Description

Manages the client root node.

This class ensures that the root node is available from anywhere, at anytime.

Author
Quentin Gasper.

Definition at line 37 of file TreeThread.hpp.

Constructor & Destructor Documentation

TreeThread ( QObject *  parent = nullptr)

Definition at line 48 of file TreeThread.cpp.

~TreeThread ( )

Definition at line 55 of file TreeThread.cpp.

Member Function Documentation

const common::UUCount& get_uuid ( )
inline

Gives the root UuiD.

Returns
Returns the root UuiD.

Definition at line 51 of file TreeThread.hpp.

void new_signal ( common::SignalArgs doc)

Definition at line 130 of file TreeThread.cpp.

Handle< NRoot > root ( ) const
inline

Definition at line 59 of file TreeThread.hpp.

Handle< NRoot > root ( )
inline

Definition at line 67 of file TreeThread.hpp.

Handle< TYPE > root_child ( const std::string &  name) const
inline

Definition at line 54 of file TreeThread.hpp.

void run ( )

Definition at line 73 of file TreeThread.cpp.

void set_mutex ( QMutex *  mutex)

Definition at line 67 of file TreeThread.cpp.

Member Data Documentation

QMutex* m_mutex
private

Definition at line 83 of file TreeThread.hpp.

boost::shared_ptr< NRoot > m_root
private

Definition at line 81 of file TreeThread.hpp.


The documentation for this class was generated from the following files:
Send comments to:
COOLFluiD Web Admin