eVaf
eVaf::ScosTime::Module Class Reference

Graphical User Interface for the ScosTime application. More...

#include </var/tmp/work/evaf/src/apps/ScosTime/gui.h>

Public Member Functions

virtual void done ()
 Finalizes the module. More...
 
virtual bool init (const QString &args)
 Initializes the module that implements the iPlugin interface. More...
 
virtual bool isReady () const
 Ready flag. More...
 
 Module ()
 
virtual ~Module ()
 
- Public Member Functions inherited from eVaf::Plugins::iPlugin
 iPlugin ()
 Empty constructor. More...
 
virtual ~iPlugin ()
 Empty virtual destructor. More...
 

Detailed Description

Graphical User Interface for the ScosTime application.

This module adds a GUI window to the ScosTime application using the SdiWindow module.

Definition at line 176 of file gui.h.

Constructor & Destructor Documentation

eVaf::ScosTime::Module::Module ( )
virtual eVaf::ScosTime::Module::~Module ( )
virtual

Member Function Documentation

virtual void eVaf::ScosTime::Module::done ( )
virtual

Finalizes the module.

The plugin manager calls the done() function for every eVaf module during the finalization of the application. Modules implementing the iPlugin interface shall finalize and release all the resources in the done() function.

Implements eVaf::Plugins::iPlugin.

virtual bool eVaf::ScosTime::Module::init ( const QString &  args)
virtual

Initializes the module that implements the iPlugin interface.

Parameters
argsArguments for the initialization
Returns
True if ok; false if initialization failed

The plugin manager calls the init() function for every eVaf module during the initialization of the application. Modules implementing the iPlugin interface shall allocate and initialize all the required resources in the init() function.

Modules can assume that the init() function is always called once after loading the module and creating the interface object. Every init() function call is followed by a done() function call during the finalization of the application. Modules can be initialized multiple times without destroying the interface object, but init() function calls are always followed by a done() function call.

When the init() function returns true, then the initialization of the module shall be completed and all the interfaces and other resources published by the module safe to use.

Implements eVaf::Plugins::iPlugin.

virtual bool eVaf::ScosTime::Module::isReady ( ) const
inlinevirtual

Ready flag.

Returns
True if the module is ready.

The ready flag indicates that the module is initialized and all the published interfaces and resources safe to use.

Implements eVaf::Plugins::iPlugin.

Definition at line 199 of file gui.h.


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