dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
MyPlugin::MyPluginImpl Class Reference

#include <testplugin.h>

Inheritance diagram for MyPlugin::MyPluginImpl:
ExtensionSystem::IPlugin

Public Member Functions

 MyPluginImpl ()
 
bool initialize (const QStringList &arguments, QString *errorString)
 
void extensionsInitialized ()
 
bool isInitialized ()
 
bool isExtensionsInitialized ()
 
- Public Member Functions inherited from ExtensionSystem::IPlugin
 IPlugin ()
 
virtual ~IPlugin ()
 
virtual void shutdown ()
 
PluginSpecpluginSpec () const
 
void addObject (QObject *obj)
 
void addAutoReleasedObject (QObject *obj)
 
void removeObject (QObject *obj)
 

Detailed Description

Definition at line 38 of file testplugin.h.

Constructor & Destructor Documentation

MyPluginImpl::MyPluginImpl ( )

Definition at line 34 of file testplugin.cpp.

Member Function Documentation

void MyPluginImpl::extensionsInitialized ( )
virtual

Called after the IPlugin::initialize() method has been called, and after both the IPlugin::initialize() and IPlugin::extensionsInitialized() methods of plugins that depend on this plugin have been called. In this method, the plugin can assume that plugins that depend on this plugin are fully 'up and running'. It is a good place to look in the plugin manager's object pool for objects that have been provided by dependent plugins.

See Also
initialize()

Implements ExtensionSystem::IPlugin.

Definition at line 45 of file testplugin.cpp.

bool MyPluginImpl::initialize ( const QStringList &  arguments,
QString *  errorString 
)
virtual

Called after the plugin has been loaded and the IPlugin instance has been created. The initialize methods of plugins that depend on this plugin are called after the initialize method of this plugin has been called. Plugins should initialize their internal state in this method. Returns if initialization of successful. If it wasn't successful, the errorString should be set to a user-readable message describing the reason.

See Also
extensionsInitialized()

Implements ExtensionSystem::IPlugin.

Definition at line 39 of file testplugin.cpp.

bool MyPlugin::MyPluginImpl::isExtensionsInitialized ( )
inline

Definition at line 49 of file testplugin.h.

bool MyPlugin::MyPluginImpl::isInitialized ( )
inline

Definition at line 48 of file testplugin.h.


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