Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Static Public Member Functions
FilePersistence::FilePersistencePlugin Class Reference
Inheritance diagram for FilePersistence::FilePersistencePlugin:
Core::EnvisionPlugin

Public Member Functions

virtual bool initialize (Core::EnvisionManager &) override
 Initializes the plug-in. More...
 
virtual void selfTest (QString testArgs) override
 Syntax for tests: pluginName:testName1[>arg1,arg2,...][:testName2[>arg1,arg2,...]:...] Currently arguments don't work but multiple tests do. More...
 
virtual void unload () override
 Frees up all resources allocated by this plug-in and prepares it to be unloaded. More...
 
- Public Member Functions inherited from Core::EnvisionPlugin
virtual ~EnvisionPlugin ()=default
 

Static Public Member Functions

static Logger::Loglog ()
 

Member Function Documentation

◆ initialize()

bool FilePersistence::FilePersistencePlugin::initialize ( Core::EnvisionManager manager)
overridevirtual

Initializes the plug-in.

This function is called by the core system as soon as the plug-in is loaded. All initializatoin should happen within this function.

Parameters
managerThe EnvisionManager object that can be used to query various aspects of the Envision system.
Returns
True if the initialization was successful, false otherwise.

Implements Core::EnvisionPlugin.

◆ log()

Logger::Log & FilePersistence::FilePersistencePlugin::log ( )
static

◆ selfTest()

void FilePersistence::FilePersistencePlugin::selfTest ( QString  testArgs)
overridevirtual

Syntax for tests: pluginName:testName1[>arg1,arg2,...][:testName2[>arg1,arg2,...]:...] Currently arguments don't work but multiple tests do.

Implements Core::EnvisionPlugin.

◆ unload()

void FilePersistence::FilePersistencePlugin::unload ( )
overridevirtual

Frees up all resources allocated by this plug-in and prepares it to be unloaded.

This function is called when Envision is about to exit or when a plug-in has manually been unloaded. At the time when this function is called there will be no plug-ins dependent on this one.

Implements Core::EnvisionPlugin.