walberla::gui::GUI Class Reference

#include <Gui.h>

Public Member Functions

 GUI (timeloop::ITimeloop &timeloop, const shared_ptr< StructuredBlockForest > &blockForest, int &argc, char **argv)
 
 ~GUI ()
 
Interface to GUI
void createAdaptors (std::vector< DisplayAdaptor * > &out) const
 
const std::vector< shared_ptr< PropertyTree > > & getPropertyTrees () const
 

Private Member Functions

DisplayAdaptorfindDisplayAdaptorForBlockID (ConstBlockDataID bdId) const
 

Private Attributes

std::vector< DisplayAdaptorCreatorFuncdisplayAdaptorCreatorFuncs_
 
timeloop::ITimelooptimeloop_
 
StructuredBlockForest & blockForest_
 
GuiImpl * pImpl
 

Static Private Attributes

static GUIlastInstance_ = nullptr
 

Interface to User

typedef std::function< DisplayAdaptor *(const IBlock &, ConstBlockDataID) > DisplayAdaptorCreatorFunc
 
void run ()
 
void registerPropertyTree (const shared_ptr< PropertyTree > &propertyTree)
 
void registerDisplayAdaptorCreator (const DisplayAdaptorCreatorFunc &creatorFunc)
 
static void breakpoint (const std::string &comment, const std::string &file, int line)
 

Member Typedef Documentation

typedef std::function< DisplayAdaptor * ( const IBlock &, ConstBlockDataID ) > walberla::gui::GUI::DisplayAdaptorCreatorFunc

Constructor & Destructor Documentation

walberla::gui::GUI::GUI ( timeloop::ITimeloop timeloop,
const shared_ptr< StructuredBlockForest > &  blockForest,
int &  argc,
char **  argv 
)
walberla::gui::GUI::~GUI ( )
default

Member Function Documentation

static void walberla::gui::GUI::breakpoint ( const std::string &  comment,
const std::string &  file,
int  line 
)
static
void walberla::gui::GUI::createAdaptors ( std::vector< DisplayAdaptor * > &  out) const
DisplayAdaptor* walberla::gui::GUI::findDisplayAdaptorForBlockID ( ConstBlockDataID  bdId) const
private
const std::vector< shared_ptr< PropertyTree > > & walberla::gui::GUI::getPropertyTrees ( ) const
void walberla::gui::GUI::registerDisplayAdaptorCreator ( const DisplayAdaptorCreatorFunc creatorFunc)
void walberla::gui::GUI::registerPropertyTree ( const shared_ptr< PropertyTree > &  propertyTree)
void walberla::gui::GUI::run ( )

Member Data Documentation

StructuredBlockForest& walberla::gui::GUI::blockForest_
private
std::vector<DisplayAdaptorCreatorFunc> walberla::gui::GUI::displayAdaptorCreatorFuncs_
private
GUI * walberla::gui::GUI::lastInstance_ = nullptr
staticprivate
GuiImpl* walberla::gui::GUI::pImpl
private
timeloop::ITimeloop& walberla::gui::GUI::timeloop_
private

The documentation for this class was generated from the following files: