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

#include <ModelSubTabController.hpp>

+ Inheritance diagram for openstudio::ModelSubTabController:

Signals

void dropZoneItemClicked (OSItem *item)
 
void dropZoneItemSelected (OSItem *item, bool readOnly)
 
void modelObjectSelected (model::OptionalModelObject &modelObject, bool readOnly)
 
void toggleUnitsClicked (bool displayIP)
 
- Signals inherited from openstudio::SubTabController
void downloadComponentsClicked ()
 
void openLibDlgClicked ()
 

Public Member Functions

 ModelSubTabController (ModelSubTabView *subTabView, const model::Model &model)
 
virtual ~ModelSubTabController ()
 
- Public Member Functions inherited from openstudio::SubTabController
 SubTabController (SubTabView *subTabView)
 
SubTabViewsubTabView ()
 
const SubTabViewsubTabView () const
 
virtual ~SubTabController ()
 

Protected Member Functions

bool fromComponentLibrary (const OSItemId &itemId) const
 
bool fromModel (const OSItemId &itemId) const
 
boost::optional< model::Component > getComponent (const OSItemId &itemId) const
 
boost::optional
< model::ModelObject > 
getModelObject (const OSItemId &itemId) const
 
openstudio::model::Model model () const
 
virtual void onAddItem () override
 
virtual void onAddObject (const openstudio::IddObjectType &iddObjectType)=0
 
virtual void onAddObject (const openstudio::model::ModelObject &modelObject)
 
virtual void onCopyItem () override
 
virtual void onCopyObject (const openstudio::model::ModelObject &modelObject)=0
 
virtual void onDrop (const OSItemId &itemId) override=0
 
virtual void onPurgeItems () override
 
virtual void onPurgeObjects (const openstudio::IddObjectType &iddObjectType)=0
 
virtual void onRemoveItem (OSItem *item) override
 
virtual void onRemoveObject (openstudio::model::ModelObject modelObject)=0
 
virtual void onReplaceItem (OSItem *item, const OSItemId &replacementItemId) override
 
virtual void onReplaceObject (openstudio::model::ModelObject modelObject, const OSItemId &replacementItemId)=0
 
- Protected Member Functions inherited from openstudio::SubTabController
virtual void onClearSelection ()
 
virtual void onInspectItem (OSItem *item)=0
 
virtual void onSelectItem (OSItem *item)
 

Additional Inherited Members

- Public Slots inherited from openstudio::SubTabController
void removeItem (OSItem *item)
 
- Protected Slots inherited from openstudio::SubTabController
void selectItem (OSItem *item)
 
- Protected Attributes inherited from openstudio::SubTabController
SubTabViewm_subTabView
 

Constructor & Destructor Documentation

openstudio::ModelSubTabController::ModelSubTabController ( ModelSubTabView subTabView,
const model::Model &  model 
)
virtual openstudio::ModelSubTabController::~ModelSubTabController ( )
inlinevirtual

Member Function Documentation

void openstudio::ModelSubTabController::dropZoneItemClicked ( OSItem item)
signal
void openstudio::ModelSubTabController::dropZoneItemSelected ( OSItem item,
bool  readOnly 
)
signal
bool openstudio::ModelSubTabController::fromComponentLibrary ( const OSItemId itemId) const
protected
bool openstudio::ModelSubTabController::fromModel ( const OSItemId itemId) const
protected
boost::optional<model::Component> openstudio::ModelSubTabController::getComponent ( const OSItemId itemId) const
protected
boost::optional<model::ModelObject> openstudio::ModelSubTabController::getModelObject ( const OSItemId itemId) const
protected
openstudio::model::Model openstudio::ModelSubTabController::model ( ) const
protected
void openstudio::ModelSubTabController::modelObjectSelected ( model::OptionalModelObject &  modelObject,
bool  readOnly 
)
signal
virtual void openstudio::ModelSubTabController::onAddItem ( )
overrideprotectedvirtual
virtual void openstudio::ModelSubTabController::onAddObject ( const openstudio::IddObjectType &  iddObjectType)
protectedpure virtual
virtual void openstudio::ModelSubTabController::onAddObject ( const openstudio::model::ModelObject &  modelObject)
inlineprotectedvirtual
virtual void openstudio::ModelSubTabController::onCopyItem ( )
overrideprotectedvirtual
virtual void openstudio::ModelSubTabController::onCopyObject ( const openstudio::model::ModelObject &  modelObject)
protectedpure virtual
virtual void openstudio::ModelSubTabController::onDrop ( const OSItemId itemId)
overrideprotectedpure virtual
virtual void openstudio::ModelSubTabController::onPurgeItems ( )
overrideprotectedvirtual
virtual void openstudio::ModelSubTabController::onPurgeObjects ( const openstudio::IddObjectType &  iddObjectType)
protectedpure virtual
virtual void openstudio::ModelSubTabController::onRemoveItem ( OSItem item)
overrideprotectedvirtual
virtual void openstudio::ModelSubTabController::onRemoveObject ( openstudio::model::ModelObject  modelObject)
protectedpure virtual
virtual void openstudio::ModelSubTabController::onReplaceItem ( OSItem item,
const OSItemId replacementItemId 
)
overrideprotectedvirtual
virtual void openstudio::ModelSubTabController::onReplaceObject ( openstudio::model::ModelObject  modelObject,
const OSItemId replacementItemId 
)
protectedpure virtual
void openstudio::ModelSubTabController::toggleUnitsClicked ( bool  displayIP)
signal