#include <pyRunner.hpp>
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
◆ PyRunner() [1/2]
| hlcc::lsvsim::PyRunner::PyRunner |
( |
const PyRunner & | | ) |
|
|
delete |
◆ PyRunner() [2/2]
| hlcc::lsvsim::PyRunner::PyRunner |
( |
const ConfigPack & | config_pack | ) |
|
|
explicit |
Disable assignment operator.
Constructor
◆ ~PyRunner()
| hlcc::lsvsim::PyRunner::~PyRunner |
( |
| ) |
|
|
virtual |
◆ GetExecutionStatistics()
Gets the statistics from the C++ and python sides for the python state variables that just terminated.
◆ GetNumberModulesLoaded()
| int hlcc::lsvsim::PyRunner::GetNumberModulesLoaded |
( |
| ) |
|
Gets the total number of modules loaded successfully
◆ operator=()
Disable copy constructor.
◆ ReloadPythonModules()
| void hlcc::lsvsim::PyRunner::ReloadPythonModules |
( |
| ) |
|
Reloads all the python modules
◆ RunPythonExecuteFunctions()
| void hlcc::lsvsim::PyRunner::RunPythonExecuteFunctions |
( |
int64_t | iteration_timestamp_ms | ) |
|
Runs the 'py_execute_method_name' from all modules
- Parameters
-
| iteration_timestamp_ms | timestamp current iteration started. because we are running multiple python scripts sequentially this parameter will inform all of timestamp in milliseconds that the current iteration started. It will be needed to correctly compute the period for the SV publishing |
◆ RunPythonTerminateFunctions()
| void hlcc::lsvsim::PyRunner::RunPythonTerminateFunctions |
( |
| ) |
|
Runs the 'py_terminate_method_name' from all modules
◆ UpdateConfiguration()
| void hlcc::lsvsim::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:
- /home/abuild/rpmbuild/BUILD/hlcc-v2.2.0/software/lsvsim/app/src/include/lsvsim/pyRunner.hpp
- /home/abuild/rpmbuild/BUILD/hlcc-v2.2.0/software/lsvsim/app/src/pyRunner.cpp