Documentation for OpenFLUID 2.2.1
openfluid::tools::SimpleDistributionBindings< DataType, TV > Class Template Reference

#include <tools/DistributionBindings.hpp>

Public Types

typedef std::map< openfluid::core::UnitID_t, ReaderNextValue< DataType > * > UnitIDReader_t
 
- Public Types inherited from openfluid::tools::GenericDistributionBindings< double >
typedef std::list< ReaderNextValue< double > > ReadersNextValues_t
 

Public Member Functions

 SimpleDistributionBindings (const DistributionTables &DistriTables)
 
bool getValue (const openfluid::core::UnitID_t &UnitID, const openfluid::core::DateTime &DT, TV &Value)
 
void displayBindings ()
 
- Public Member Functions inherited from openfluid::tools::GenericDistributionBindings< double >
 GenericDistributionBindings ()=default
 
 ~GenericDistributionBindings ()
 
void advanceToTime (const openfluid::core::DateTime &DT)
 
bool advanceToNextTimeAfter (const openfluid::core::DateTime &DT, openfluid::core::DateTime &NextDT)
 

Protected Attributes

UnitIDReader_t m_UnitIDReaders
 
- Protected Attributes inherited from openfluid::tools::GenericDistributionBindings< double >
ReadersNextValues_t m_ReadersNextValues
 
Inheritance diagram for openfluid::tools::SimpleDistributionBindings< DataType, TV >:
Collaboration diagram for openfluid::tools::SimpleDistributionBindings< DataType, TV >:

Member Typedef Documentation

◆ UnitIDReader_t

template<typename DataType = double, typename TV = openfluid::core::DoubleValue>
typedef std::map<openfluid::core::UnitID_t,ReaderNextValue<DataType>*> openfluid::tools::SimpleDistributionBindings< DataType, TV >::UnitIDReader_t

Constructor & Destructor Documentation

◆ SimpleDistributionBindings()

template<typename DataType = double, typename TV = openfluid::core::DoubleValue>
openfluid::tools::SimpleDistributionBindings< DataType, TV >::SimpleDistributionBindings ( const DistributionTables DistriTables)
inline

Member Function Documentation

◆ displayBindings()

template<typename DataType = double, typename TV = openfluid::core::DoubleValue>
void openfluid::tools::SimpleDistributionBindings< DataType, TV >::displayBindings ( )
inline

◆ getValue()

template<typename DataType = double, typename TV = openfluid::core::DoubleValue>
bool openfluid::tools::SimpleDistributionBindings< DataType, TV >::getValue ( const openfluid::core::UnitID_t UnitID,
const openfluid::core::DateTime DT,
TV &  Value 
)
inline

Member Data Documentation

◆ m_UnitIDReaders

template<typename DataType = double, typename TV = openfluid::core::DoubleValue>
UnitIDReader_t openfluid::tools::SimpleDistributionBindings< DataType, TV >::m_UnitIDReaders
protected

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