april  1.0.0
...
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
AprilPluginInterf Class Reference

Interface for plugins used with April. More...

#include <aprilplugininterf.h>

Public Member Functions

 AprilPluginInterf (void)
 constructor;
virtual ~AprilPluginInterf (void)
 destructor;
virtual QString name (void)=0
 identify yourself;

Protected Member Functions

virtual bool initialised (void)
 called after the plug-in is loaded
virtual void unloading (void)
 called before the plug-in is unloaded

Friends

class april::AprilLibrary

Detailed Description

Interface for plugins used with April.

Member Function Documentation

virtual bool AprilPluginInterf::initialised ( void  )
inlineprotectedvirtual

called after the plug-in is loaded

The plug-in system allows initialisation after the plug-in is succesfully loaded. The plug-in may initialise itself and, if certain errors occur it may return false to indicate to the system that it failed and should be unloaded.

Returns
true to keep the plug-in, false to unload
virtual void AprilPluginInterf::unloading ( void  )
inlineprotectedvirtual

called before the plug-in is unloaded

This method is called only if initialised() returned true.


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