OpenStudio:openstudio_lib
 All Classes Namespaces Functions Variables Enumerations Enumerator
Public Slots | Signals | Public Member Functions | Protected Attributes | List of all members
openstudio::BaseEditor Class Referenceabstract

#include <GeometryEditorView.hpp>

+ Inheritance diagram for openstudio::BaseEditor:

Public Slots

virtual void checkForUpdate ()=0
 
virtual void doExport ()=0
 
virtual void loadEditor ()=0
 
virtual void onChanged ()
 
virtual void saveExport ()=0
 
virtual void translateExport ()=0
 
virtual void updateModel (const openstudio::model::Model &model)=0
 

Signals

bool changed ()
 

Public Member Functions

 BaseEditor (bool isIP, const openstudio::model::Model &model, QWebEngineView *m_view,*t_parent=nullptr)
 
bool blockUpdateTimerSignals (bool block)
 
bool editorLoaded () const
 
model::Model exportModel () const
 
std::map< UUID, UUID > exportModelHandleMapping () const
 
bool javascriptRunning () const
 
virtual ~BaseEditor ()
 

Protected Attributes

QTimer * m_checkForUpdateTimer
 
std::shared_ptr< OSDocumentm_document
 
bool m_editorLoaded
 
QVariant m_export
 
model::Model m_exportModel
 
std::map< UUID, UUID > m_exportModelHandleMapping
 
bool m_isIP
 
bool m_javascriptRunning
 
openstudio::model::Model m_model
 
unsigned m_versionNumber
 
QWebEngineView * m_view
 

Constructor & Destructor Documentation

openstudio::BaseEditor::BaseEditor ( bool  isIP,
const openstudio::model::Model &  model,
QWebEngineView *  m_view,
t_parent = nullptr 
)
virtual openstudio::BaseEditor::~BaseEditor ( )
virtual

Member Function Documentation

bool openstudio::BaseEditor::blockUpdateTimerSignals ( bool  block)
bool openstudio::BaseEditor::changed ( )
signal
virtual void openstudio::BaseEditor::checkForUpdate ( )
pure virtualslot
virtual void openstudio::BaseEditor::doExport ( )
pure virtualslot
bool openstudio::BaseEditor::editorLoaded ( ) const
model::Model openstudio::BaseEditor::exportModel ( ) const
std::map<UUID, UUID> openstudio::BaseEditor::exportModelHandleMapping ( ) const
bool openstudio::BaseEditor::javascriptRunning ( ) const
virtual void openstudio::BaseEditor::loadEditor ( )
pure virtualslot
virtual void openstudio::BaseEditor::onChanged ( )
virtualslot
virtual void openstudio::BaseEditor::saveExport ( )
pure virtualslot
virtual void openstudio::BaseEditor::translateExport ( )
pure virtualslot
virtual void openstudio::BaseEditor::updateModel ( const openstudio::model::Model &  model)
pure virtualslot

Member Data Documentation

QTimer* openstudio::BaseEditor::m_checkForUpdateTimer
protected
std::shared_ptr<OSDocument> openstudio::BaseEditor::m_document
protected
bool openstudio::BaseEditor::m_editorLoaded
protected
QVariant openstudio::BaseEditor::m_export
protected
model::Model openstudio::BaseEditor::m_exportModel
protected
std::map<UUID, UUID> openstudio::BaseEditor::m_exportModelHandleMapping
protected
bool openstudio::BaseEditor::m_isIP
protected
bool openstudio::BaseEditor::m_javascriptRunning
protected
openstudio::model::Model openstudio::BaseEditor::m_model
protected
unsigned openstudio::BaseEditor::m_versionNumber
protected
QWebEngineView* openstudio::BaseEditor::m_view
protected