HLCC Documentation 2.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
hlcc::telmon::PyRunner Class Reference

#include <pyRunner.hpp>

Public Member Functions

 PyRunner (const PyRunner &)=delete
 
PyRunneroperator= (const PyRunner &)=delete
 Disable copy constructor.
 
 PyRunner (const ConfigPack &config_pack)
 Disable assignment operator.
 
virtual ~PyRunner ()
 
void ReloadPythonModules ()
 
void RunPythonExecuteFunctions ()
 
void RunPythonTerminateFunctions ()
 
void UpdateConfiguration (const ConfigPack &config_pack)
 
int GetNumberModulesLoaded ()
 

Detailed Description

This pragma will provide the needed visibility for pybind11 code The other approach whould be to use a compiler flag '-fvisibility=hidden' but it is causing problems with other parts of the program, like oldb publishing. Check the link below to read more about it: https://pybind11.readthedocs.io/en/stable/faq.html#someclass-declared-with-greater-visibility-than-the-type-of-its-field-someclass-member-wattributes

Constructor & Destructor Documentation

◆ PyRunner() [1/2]

hlcc::telmon::PyRunner::PyRunner ( const PyRunner & )
delete

◆ PyRunner() [2/2]

hlcc::telmon::PyRunner::PyRunner ( const ConfigPack & config_pack)
explicit

Disable assignment operator.

Constructor

◆ ~PyRunner()

hlcc::telmon::PyRunner::~PyRunner ( )
virtual

Destructor

Member Function Documentation

◆ GetNumberModulesLoaded()

int hlcc::telmon::PyRunner::GetNumberModulesLoaded ( )

Gets the total number of modules loaded successfully

◆ operator=()

PyRunner & hlcc::telmon::PyRunner::operator= ( const PyRunner & )
delete

Disable copy constructor.

◆ ReloadPythonModules()

void hlcc::telmon::PyRunner::ReloadPythonModules ( )

Reloads all the python modules

◆ RunPythonExecuteFunctions()

void hlcc::telmon::PyRunner::RunPythonExecuteFunctions ( )

Runs the 'py_execute_method_name' from all modules

◆ RunPythonTerminateFunctions()

void hlcc::telmon::PyRunner::RunPythonTerminateFunctions ( )

Runs the 'py_terminate_method_name' from all modules

◆ UpdateConfiguration()

void hlcc::telmon::PyRunner::UpdateConfiguration ( const ConfigPack & config_pack)

Updates the current configuration on the local configuration


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