Helios++
Helios software for LiDAR simulations
pyhelios::PySimulationCycleCallback Class Reference

Python callback for each simulation cycle that has been completed. More...

#include <PySimulationCycleCallback.h>

Inheritance diagram for pyhelios::PySimulationCycleCallback:
Collaboration diagram for pyhelios::PySimulationCycleCallback:

Public Member Functions

 PySimulationCycleCallback (PyObject *pyCallback)
 
void operator() (std::vector< Measurement > &measurements, std::vector< Trajectory > &trajectories, std::string const &outpath)
 Callback functor which operates over vector of measurements. More...
 
- Public Member Functions inherited from SimulationCycleCallback
 SimulationCycleCallback ()
 Simulation cycle callback default constructor.
 

Public Attributes

PyObject * pyCallback
 

Detailed Description

Python callback for each simulation cycle that has been completed.

Author
Alberto M. Esmoris Pena
Version
1.0
See also
PyHeliosOutputWrapper

Member Function Documentation

◆ operator()()

void pyhelios::PySimulationCycleCallback::operator() ( std::vector< Measurement > &  measurements,
std::vector< Trajectory > &  trajectories,
std::string const &  outpath 
)
inlinevirtual

Callback functor which operates over vector of measurements.

Parameters
measurementsVector of measurements to operate over
trajectoriesVector of trajectories to operate over
outpathString representing the path to output file
See also
Measurement
Trajectory

Implements SimulationCycleCallback.


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