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

The NorthPythonPluginHandle class is used to represent an interface to a South plugin that is available as a python script. More...

#include <north_python_plugin_handle.h>

Inheritance diagram for NorthPythonPluginHandle:
Collaboration diagram for NorthPythonPluginHandle:

Public Member Functions

 NorthPythonPluginHandle (const char *name, const char *path)
 Constructor for NorthPythonPluginHandle. More...
 
- Public Member Functions inherited from PythonPluginHandle
 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 ()
 

Additional Inherited Members

- Public Attributes inherited from PythonPluginHandle
void * m_hndl
 
std::string m_interfaceObjName
 
std::string m_name
 
std::string m_type
 

Detailed Description

The NorthPythonPluginHandle class is used to represent an interface to a South plugin that is available as a python script.

Constructor & Destructor Documentation

◆ NorthPythonPluginHandle()

NorthPythonPluginHandle::NorthPythonPluginHandle ( const char *  pluginName,
const char *  pluginPathName 
)

Constructor for NorthPythonPluginHandle.

  • Load python interface library and initialize the interface
Parameters
pluginNameThe Python plugin name to load
pluginPathNameThe Python plugin path

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