Public Types | Public Member Functions | Protected Attributes
openfluid::builderext::PluggableBuilderExtension Class Reference
Inheritance diagram for openfluid::builderext::PluggableBuilderExtension:
Inheritance graph
[legend]

List of all members.

Public Types

enum  ExtensionType {
  WorkspaceTab, ModelessWindow, ModalWindow, SpatialgraphImporter,
  InputdataImporter, EventsImporter, ExtraImporter, MixedImporter,
  SimulationListener, HomeLauncher
}

Public Member Functions

 PluggableBuilderExtension ()
virtual ~PluggableBuilderExtension ()
void setSimulationBlobAndModel (openfluid::machine::SimulationBlob *Blob, openfluid::machine::ModelInstance *Model)
sigc::signal< void > signal_ChangedOccurs ()
void setDefaultConfiguration (std::set< std::string > DefaultConfig)
virtual ExtensionType getType () const =0
virtual bool isConfigurable ()
ExtensionConfig_t getConfiguration () const
void setConfiguration (const ExtensionConfig_t &Config)
virtual Gtk::Widget * getExtensionAsWidget ()=0
virtual void show ()=0
virtual bool isReadyForShowtime () const

Protected Attributes

ExtensionConfig_t m_Config
sigc::signal< void > m_signal_ChangedOccurs
openfluid::machine::SimulationBlobmp_SimulationBlob
openfluid::machine::ModelInstancemp_ModelInstance

Member Enumeration Documentation

Enumerator:
WorkspaceTab 
ModelessWindow 
ModalWindow 
SpatialgraphImporter 
InputdataImporter 
EventsImporter 
ExtraImporter 
MixedImporter 
SimulationListener 
HomeLauncher 

Constructor & Destructor Documentation


Member Function Documentation

Retrieves the configuration information from the extension.

Returns:
the configuration information

Returns the main widget of the extension. The kind of widget depends on the extension type. This must be overridden in derived extensions

Returns:
a pointer to the main widget

Returns true if the extension is configurable, false otherwise.

Returns:
true if the extension is configurable

Returns true if the extension is currently ready to use (showtime!). Default is false, but this should be overridden in derived extensions

Returns:
a boolean giving the state of the extension

Reimplemented in openfluid::builderext::HomeLauncher, openfluid::builderext::SimulationListener, and openfluid::builderext::DataImporter.

Gives the configuration information to the extension.

Parameters:
[in]Configthe configuration information
void openfluid::builderext::PluggableBuilderExtension::setDefaultConfiguration ( std::set< std::string >  DefaultConfig) [inline]

Member Data Documentation


Generated using Doxygen 1.7.6.1
Creative Commons License Creative Commons By-NC-ND license