MEPP2 Project
Public Types | Public Member Functions | Protected Attributes | List of all members
FEVV::BaseWindow Class Referenceabstract

#include <BaseWindow.h>

Inheritance diagram for FEVV::BaseWindow:
Inheritance graph
Collaboration diagram for FEVV::BaseWindow:
Collaboration graph

Public Types

using Adapter = BaseAdapterVisu
 
using Plugin = BasePlugin
 

Public Member Functions

 BaseWindow ()
 
virtual ~BaseWindow ()
 
virtual void attach (Adapter *_adapter)=0
 
virtual void attachPlugin (Plugin *_plugin)=0
 
virtual void setParam (std::string _name, int *_value, std::string _pluginName, Plugin *_plugin)=0
 
virtual void setParam (std::string _name, double *_value, std::string _pluginName, Plugin *_plugin)=0
 
virtual void setParam (std::string _name, float *_value, std::string _pluginName, Plugin *_plugin)=0
 
virtual void setParam (std::string _name, bool *_value, std::string _pluginName, Plugin *_plugin)=0
 
virtual void setParam (std::string _name, std::string *_value, std::string _pluginName, Plugin *_plugin)=0
 
virtual void init ()=0
 
virtual bool isInit () const
 
virtual bool isValid () const
 
virtual void notify ()=0
 
virtual std::vector< Adapter * > * getAdapters ()
 
virtual AdaptergetAdapter (unsigned int _pos)
 
virtual std::vector< Adapter * > getSelectedAdapters ()=0
 
virtual std::vector< Adapter::Viewer * > getSelectedViewers ()=0
 

Protected Attributes

std::vector< Adapter * > adapters
 
std::map< std::string, Plugin * > stackPlugins
 
bool bIsInit = false
 

Detailed Description

Definition at line 24 of file BaseWindow.h.

Member Typedef Documentation

◆ Adapter

Definition at line 27 of file BaseWindow.h.

◆ Plugin

Definition at line 28 of file BaseWindow.h.

Constructor & Destructor Documentation

◆ BaseWindow()

FEVV::BaseWindow::BaseWindow ( )
inline

Constructor.

Parameters
[in]_parentPointer to the QWidget parent of this QWidget (used by Qt) (Default value = 0).
[in]_flagsWindows flags (used by Qt) (Default value = 0).

Definition at line 38 of file BaseWindow.h.

◆ ~BaseWindow()

virtual FEVV::BaseWindow::~BaseWindow ( )
inlinevirtual

Destructor.

Definition at line 52 of file BaseWindow.h.

Member Function Documentation

◆ attach()

virtual void FEVV::BaseWindow::attach ( Adapter _adapter)
pure virtual

Attach a Visualization Adapter to the current Window.

Parameters
[in]_adapterPointer to a visualization adapter (with the scene, see BaseAdapterVisu).

Implemented in FEVV::SimpleWindow.

◆ attachPlugin()

virtual void FEVV::BaseWindow::attachPlugin ( Plugin _plugin)
pure virtual

Implemented in FEVV::SimpleWindow.

◆ getAdapter()

virtual Adapter* FEVV::BaseWindow::getAdapter ( unsigned int  _pos)
inlinevirtual

Definition at line 115 of file BaseWindow.h.

Here is the call graph for this function:

◆ getAdapters()

virtual std::vector< Adapter * >* FEVV::BaseWindow::getAdapters ( )
inlinevirtual

Get all visualization adapters.

Returns
the pointer of the vector of adapters.

Definition at line 113 of file BaseWindow.h.

◆ getSelectedAdapters()

virtual std::vector< Adapter * > FEVV::BaseWindow::getSelectedAdapters ( )
pure virtual

Implemented in FEVV::SimpleWindow.

◆ getSelectedViewers()

virtual std::vector< Adapter::Viewer * > FEVV::BaseWindow::getSelectedViewers ( )
pure virtual

Implemented in FEVV::SimpleWindow.

◆ init()

virtual void FEVV::BaseWindow::init ( )
pure virtual

initialize the window.

Implemented in FEVV::SimpleWindow.

◆ isInit()

virtual bool FEVV::BaseWindow::isInit ( ) const
inlinevirtual

Definition at line 103 of file BaseWindow.h.

Here is the caller graph for this function:

◆ isValid()

virtual bool FEVV::BaseWindow::isValid ( ) const
inlinevirtual

Definition at line 105 of file BaseWindow.h.

◆ notify()

virtual void FEVV::BaseWindow::notify ( )
pure virtual

Implemented in FEVV::SimpleWindow.

◆ setParam() [1/5]

virtual void FEVV::BaseWindow::setParam ( std::string  _name,
bool *  _value,
std::string  _pluginName,
Plugin _plugin 
)
pure virtual

Implemented in FEVV::SimpleWindow.

◆ setParam() [2/5]

virtual void FEVV::BaseWindow::setParam ( std::string  _name,
double *  _value,
std::string  _pluginName,
Plugin _plugin 
)
pure virtual

Implemented in FEVV::SimpleWindow.

◆ setParam() [3/5]

virtual void FEVV::BaseWindow::setParam ( std::string  _name,
float *  _value,
std::string  _pluginName,
Plugin _plugin 
)
pure virtual

Implemented in FEVV::SimpleWindow.

◆ setParam() [4/5]

virtual void FEVV::BaseWindow::setParam ( std::string  _name,
int *  _value,
std::string  _pluginName,
Plugin _plugin 
)
pure virtual

Implemented in FEVV::SimpleWindow.

◆ setParam() [5/5]

virtual void FEVV::BaseWindow::setParam ( std::string  _name,
std::string *  _value,
std::string  _pluginName,
Plugin _plugin 
)
pure virtual

Implemented in FEVV::SimpleWindow.

Member Data Documentation

◆ adapters

std::vector< Adapter * > FEVV::BaseWindow::adapters
protected

Definition at line 127 of file BaseWindow.h.

◆ bIsInit

bool FEVV::BaseWindow::bIsInit = false
protected

Definition at line 129 of file BaseWindow.h.

◆ stackPlugins

std::map< std::string, Plugin * > FEVV::BaseWindow::stackPlugins
protected

Definition at line 128 of file BaseWindow.h.


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