Fledge
An open source edge computing platform for industrial users
PythonPluginHandle Class Reference

The PythonPluginHandle class is the base class used to represent an interface to a plugin that is available as a python script. More...

#include <python_plugin_handle.h>

Inheritance diagram for PythonPluginHandle:
Collaboration diagram for PythonPluginHandle:

Public Member Functions

 PythonPluginHandle (const char *name, const char *path)
 
 ~PythonPluginHandle ()
 Base destructor. More...
 
void * ResolveSymbol (const char *sym)
 Gets function pointer from loaded python interface library that can be invoked to call 'sym' function in python plugin. More...
 
void * GetInfo ()
 Returns function pointer that can be invoked to call 'plugin_info' function in python plugin.
 
void * getHandle ()
 

Public Attributes

void * m_hndl
 
std::string m_interfaceObjName
 
std::string m_name
 
std::string m_type
 

Detailed Description

The PythonPluginHandle class is the base class used to represent an interface to a plugin that is available as a python script.

Constructor & Destructor Documentation

◆ ~PythonPluginHandle()

PythonPluginHandle::~PythonPluginHandle ( )
inline

Base destructor.

  • Call cleanup on python plugin interface
  • Close python plugin interface library handle

Member Function Documentation

◆ ResolveSymbol()

void* PythonPluginHandle::ResolveSymbol ( const char *  sym)
inlinevirtual

Gets function pointer from loaded python interface library that can be invoked to call 'sym' function in python plugin.

Parameters
symThe symbol to fetch

Implements PluginHandle.


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