TransFlow  0.1.0
A transient pipeline flow simulation library
details::PropertyToSample Struct Reference

The PropertyToSample struct contains information about a single property from Pipeline that we are going to sample. More...

#include <sampler.hpp>

Public Member Functions

 PropertyToSample (const std::string &label, PropertyGetter function)
 Construct from label and a Pipeline member function pointer. More...
 

Public Attributes

std::string label
 Label.
 
PropertyGetter function
 Pipeline member function (getter) pointer.
 

Detailed Description

The PropertyToSample struct contains information about a single property from Pipeline that we are going to sample.

PropertyGetter is a typedef for a member function pointer of Pipeline, and the label is an identifier that is also used to determine the file name.

Constructor & Destructor Documentation

◆ PropertyToSample()

details::PropertyToSample::PropertyToSample ( const std::string &  label,
PropertyGetter  function 
)
inline

Construct from label and a Pipeline member function pointer.

Parameters
labelLabel
functionPipeline fember function (getter) pointer

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