RobotTestingFramework  2.0.1
Robot Testing Framework
Public Member Functions | Private Attributes | List of all members
robottestingframework::plugin::DllPluginLoader Class Reference

The DllPluginLoader loads an test case plug-in and gives the direct access to the TestCase. More...

#include <robottestingframework/dll/DllPluginLoader.h>

+ Inheritance diagram for robottestingframework::plugin::DllPluginLoader:

Public Member Functions

 DllPluginLoader ()
 DllPluginLoader constructor. More...
 
 ~DllPluginLoader () override
 DllPluginLoader destructor. More...
 
TestCaseopen (const std::string filename) override
 open Loads a test case plugin More...
 
void close () override
 close Unloads the plugin and deletes any allocated memory. More...
 
std::string getLastError () override
 getLastError gets the last error if any. More...
 
- Public Member Functions inherited from robottestingframework::plugin::PluginLoader
 PluginLoader ()=default
 PluginLoader constructor. More...
 
virtual ~PluginLoader ()=default
 PluginLoader destructor. More...
 

Private Attributes

void * implementation
 

Detailed Description

The DllPluginLoader loads an test case plug-in and gives the direct access to the TestCase.

Definition at line 37 of file DllPluginLoader.h.

Constructor & Destructor Documentation

◆ DllPluginLoader()

robottestingframework::plugin::DllPluginLoader::DllPluginLoader ( )

DllPluginLoader constructor.

◆ ~DllPluginLoader()

robottestingframework::plugin::DllPluginLoader::~DllPluginLoader ( )
override

DllPluginLoader destructor.

Member Function Documentation

◆ close()

void robottestingframework::plugin::DllPluginLoader::close ( )
overridevirtual

close Unloads the plugin and deletes any allocated memory.

Implements robottestingframework::plugin::PluginLoader.

◆ getLastError()

std::string robottestingframework::plugin::DllPluginLoader::getLastError ( )
overridevirtual

getLastError gets the last error if any.

Returns
returns the last error string.

Implements robottestingframework::plugin::PluginLoader.

◆ open()

TestCase* robottestingframework::plugin::DllPluginLoader::open ( const std::string  filename)
overridevirtual

open Loads a test case plugin

Parameters
filenamethe plugin filename
Returns
A pointer to the test case loaded from the plugin or a null pointer in case of failure.

Implements robottestingframework::plugin::PluginLoader.

Member Data Documentation

◆ implementation

void* robottestingframework::plugin::DllPluginLoader::implementation
private

Definition at line 72 of file DllPluginLoader.h.


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