Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CWorkspace Class Reference

#include <CWorkspace.hpp>

Collaboration diagram for CWorkspace:
[legend]

Public Member Functions

 CWorkspace ()=delete
 
 CWorkspace (std::string id, std::string title)
 
 CWorkspace (const CWorkspace &other)=delete
 
CWorkspaceoperator= (const CWorkspace &other)=delete
 
CWorkspaceoperator= (CWorkspace &&other)=delete
 
 CWorkspace (CWorkspace &&other)=delete
 
virtual ~CWorkspace ()
 
void addView (AbstractView **view) const
 
void registerInFrame (CDialog *dialogFatherRef, const std::shared_ptr< CIndicators > &indicatorsRef, const std::shared_ptr< CMenu > &menuRef)
 
void runOption (CMenuOption *optionMenuRef, const std::shared_ptr< AbstractProgress > &progressRef, AbstractMenuOption *option, CDialog *dlgFather, const std::shared_ptr< CIndicators > &indicatorsRef, const std::shared_ptr< CMenu > &menuRef, bool &isReloadApplicationOut) const
 
void updateWorkspace (CDialog *dlgFather, const std::shared_ptr< CIndicators > &indicatorsRef, const std::shared_ptr< CMenu > &menu) const
 
void removeView (uint64_t indView) const
 
void navigateToView (AbstractView *view)
 Navigate to a view.
 
void navigateToPendentView ()
 
PanelsEditor getPanelsEditor () const
 

Private Attributes

SWorkspaceDatam_workspaceData
 
std::optional< AbstractView * > m_pendingNavigateView
 

Constructor & Destructor Documentation

◆ CWorkspace() [1/4]

CWorkspace::CWorkspace ( )
delete

◆ CWorkspace() [2/4]

CWorkspace::CWorkspace ( std::string id,
std::string title )

◆ CWorkspace() [3/4]

CWorkspace::CWorkspace ( const CWorkspace & other)
delete

◆ CWorkspace() [4/4]

CWorkspace::CWorkspace ( CWorkspace && other)
delete

◆ ~CWorkspace()

CWorkspace::~CWorkspace ( )
virtual

Member Function Documentation

◆ addView()

void CWorkspace::addView ( AbstractView ** view) const

◆ getPanelsEditor()

PanelsEditor CWorkspace::getPanelsEditor ( ) const
nodiscard

◆ navigateToPendentView()

void CWorkspace::navigateToPendentView ( )

◆ navigateToView()

void CWorkspace::navigateToView ( AbstractView * view)

Navigate to a view.

Parameters
viewThe view to navigate to.
Note
This navigation has only been tested with the Diamar application.

◆ operator=() [1/2]

CWorkspace & CWorkspace::operator= ( const CWorkspace & other)
delete

◆ operator=() [2/2]

CWorkspace & CWorkspace::operator= ( CWorkspace && other)
delete

◆ registerInFrame()

void CWorkspace::registerInFrame ( CDialog * dialogFatherRef,
const std::shared_ptr< CIndicators > & indicatorsRef,
const std::shared_ptr< CMenu > & menuRef )

◆ removeView()

void CWorkspace::removeView ( uint64_t indView) const

◆ runOption()

void CWorkspace::runOption ( CMenuOption * optionMenuRef,
const std::shared_ptr< AbstractProgress > & progressRef,
AbstractMenuOption * option,
CDialog * dlgFather,
const std::shared_ptr< CIndicators > & indicatorsRef,
const std::shared_ptr< CMenu > & menuRef,
bool & isReloadApplicationOut ) const

◆ updateWorkspace()

void CWorkspace::updateWorkspace ( CDialog * dlgFather,
const std::shared_ptr< CIndicators > & indicatorsRef,
const std::shared_ptr< CMenu > & menu ) const

Member Data Documentation

◆ m_pendingNavigateView

std::optional<AbstractView *> CWorkspace::m_pendingNavigateView
private

◆ m_workspaceData

SWorkspaceData* CWorkspace::m_workspaceData
private

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