Version: 8.3.0
CalciumCouplingPolicy Class Reference

#include <CalciumCouplingPolicy.hxx>

Inheritance diagram for CalciumCouplingPolicy:

Data Structures

struct  BoundedDataIdProcessor
 
struct  BoundedDataIdProcessor< DataManipulator, typename boost::enable_if< boost::is_float< typename DataManipulator::InnerType > >::type >
 
struct  DisconnectProcessor
 
struct  EraseDataIdBeforeOrAfterTagProcessor
 
struct  EraseDataIdProcessor
 
struct  InternalDataIdContainer
 

Public Types

typedef
CalciumTypes::DependencyType 
DependencyType
 
typedef CalciumTypes::DateCalSchem DateCalSchem
 
typedef
CalciumTypes::InterpolationSchem 
InterpolationSchem
 
typedef
CalciumTypes::ExtrapolationSchem 
ExtrapolationSchem
 
typedef
CalciumTypes::DisconnectDirective 
DisconnectDirective
 
typedef double TimeType
 
typedef long TagType
 
typedef std::pair< TimeType,
TagType
DataId
 
typedef
InternalDataIdContainer
< TimeType, TagType
DataIdContainer
 
typedef std::vector< DataId >
::iterator 
iterator
 

Public Member Functions

 CalciumCouplingPolicy ()
 
void setDependencyType (DependencyType dependencyType)
 
DependencyType getDependencyType () const
 
void setStorageLevel (size_t storageLevel)
 
size_t getStorageLevel () const
 
void setDateCalSchem (DateCalSchem dateCalSchem)
 
DateCalSchem getDateCalSchem () const
 
void setAlpha (double alpha)
 
double getAlpha () const
 
void setDeltaT (double deltaT)
 
double getDeltaT () const
 
void setInterpolationSchem (InterpolationSchem interpolationSchem)
 
void setExtrapolationSchem (ExtrapolationSchem extrapolationSchem)
 
InterpolationSchem getInterpolationSchem () const
 
ExtrapolationSchem getExtrapolationSchem () const
 
TimeType getTime (const DataId &dataId) const
 
TagType getTag (const DataId &dataId) const
 
template<typename AssocContainer >
bool isDataIdConveniant (AssocContainer &storedDatas, const typename AssocContainer::key_type &expectedDataId, bool &isEqual, bool &isBounded, typename AssocContainer::iterator &wDataIt1) const
 
TimeType getEffectiveTime (TimeType ti, TimeType tf)
 
void disconnect (bool provideLastGivenValue)
 
template<typename Container >
bool isDataIdConveniant (Container &storedDatas, const typename Container::key_type &expectedDataId, bool &isEqual, bool &isBounded, typename Container::iterator &wDataIt1) const
 
virtual void wakeupWaiting ()
 

Private Attributes

DependencyType _dependencyType
 
size_t _storageLevel
 
DateCalSchem _dateCalSchem
 
InterpolationSchem _interpolationSchem
 
ExtrapolationSchem _extrapolationSchem
 
double _alpha
 
double _deltaT
 
DisconnectDirective _disconnectDirective
 

Friends

template<typename T_TIME , typename T_TAG >
class InternalDataIdContainer
 
template<typename DataManipulator , class EnableIf >
class BoundedDataIdProcessor
 
template<typename DataManipulator >
class EraseDataIdProcessor
 
template<typename DataManipulator >
class EraseDataIdBeforeOrAfterTagProcessor
 
template<typename DataManipulator >
class DisconnectProcessor
 

Member Typedef Documentation

Constructor & Destructor Documentation

CalciumCouplingPolicy::CalciumCouplingPolicy ( )

Member Function Documentation

void CalciumCouplingPolicy::disconnect ( bool  provideLastGivenValue)
double CalciumCouplingPolicy::getAlpha ( ) const

References _alpha.

CalciumTypes::DateCalSchem CalciumCouplingPolicy::getDateCalSchem ( ) const

References _dateCalSchem.

double CalciumCouplingPolicy::getDeltaT ( ) const

References _deltaT.

CalciumTypes::DependencyType CalciumCouplingPolicy::getDependencyType ( ) const

References _dependencyType.

CalciumTypes::ExtrapolationSchem CalciumCouplingPolicy::getExtrapolationSchem ( ) const

References _extrapolationSchem.

CalciumTypes::InterpolationSchem CalciumCouplingPolicy::getInterpolationSchem ( ) const

References _interpolationSchem.

size_t CalciumCouplingPolicy::getStorageLevel ( ) const

References _storageLevel.

TagType CalciumCouplingPolicy::getTag ( const DataId dataId) const
TimeType CalciumCouplingPolicy::getTime ( const DataId dataId) const
template<typename Container >
bool CouplingPolicy::isDataIdConveniant ( Container &  storedDatas,
const typename Container::key_type &  expectedDataId,
bool isEqual,
bool isBounded,
typename Container::iterator &  wDataIt1 
) const
inherited
template<typename AssocContainer >
bool CalciumCouplingPolicy::isDataIdConveniant ( AssocContainer &  storedDatas,
const typename AssocContainer::key_type &  expectedDataId,
bool isEqual,
bool isBounded,
typename AssocContainer::iterator &  wDataIt1 
) const
void CalciumCouplingPolicy::setAlpha ( double  alpha)
void CalciumCouplingPolicy::setDateCalSchem ( CalciumTypes::DateCalSchem  dateCalSchem)
void CalciumCouplingPolicy::setDeltaT ( double  deltaT)
void CalciumCouplingPolicy::setDependencyType ( CalciumTypes::DependencyType  dependencyType)

References _dependencyType, and dependencyType.

void CalciumCouplingPolicy::setExtrapolationSchem ( CalciumTypes::ExtrapolationSchem  extrapolationSchem)
void CalciumCouplingPolicy::setInterpolationSchem ( CalciumTypes::InterpolationSchem  interpolationSchem)
void CalciumCouplingPolicy::setStorageLevel ( size_t  storageLevel)

Friends And Related Function Documentation

template<typename DataManipulator , class EnableIf >
friend class BoundedDataIdProcessor
friend
template<typename DataManipulator >
friend class DisconnectProcessor
friend
template<typename DataManipulator >
friend class EraseDataIdBeforeOrAfterTagProcessor
friend
template<typename DataManipulator >
friend class EraseDataIdProcessor
friend
template<typename T_TIME , typename T_TAG >
friend class InternalDataIdContainer
friend

Field Documentation

double CalciumCouplingPolicy::_alpha
private
DateCalSchem CalciumCouplingPolicy::_dateCalSchem
private
double CalciumCouplingPolicy::_deltaT
private
DisconnectDirective CalciumCouplingPolicy::_disconnectDirective
private
ExtrapolationSchem CalciumCouplingPolicy::_extrapolationSchem
private
InterpolationSchem CalciumCouplingPolicy::_interpolationSchem
private
size_t CalciumCouplingPolicy::_storageLevel
private