ChimeraTK-DeviceAccess  03.18.00
CountingDecorator< T > Struct Template Reference
+ Inheritance diagram for CountingDecorator< T >:
+ Collaboration diagram for CountingDecorator< T >:

Public Member Functions

 CountingDecorator (const boost::shared_ptr< ChimeraTK::TransferElement > &target, bool _fakeLowLevel=false)
 
void doPreRead (TransferType type) override
 
void doPostRead (TransferType type, bool hasNewData) override
 
void doPreWrite (TransferType type, VersionNumber versionNumber) override
 
void doPostWrite (TransferType type, VersionNumber versionNumber) override
 
void doReadTransferSynchronously () override
 
bool doWriteTransfer (ChimeraTK::VersionNumber versionNumber) override
 
std::vector< boost::shared_ptr< ChimeraTK::TransferElement > > getHardwareAccessingElements () override
 
void replaceTransferElement (boost::shared_ptr< TransferElement > newElement) override
 
std::list< boost::shared_ptr< TransferElement > > getInternalElements () override
 
bool mayReplaceOther (const boost::shared_ptr< TransferElement const > &other) const override
 
void resetCounters ()
 
- Public Member Functions inherited from ChimeraTK::NDRegisterAccessorDecorator< T >
 NDRegisterAccessorDecorator (const boost::shared_ptr< ChimeraTK::NDRegisterAccessor< T >> &target)
 
bool doWriteTransfer (ChimeraTK::VersionNumber versionNumber) override
 
bool doWriteTransferDestructively (ChimeraTK::VersionNumber versionNumber) override
 
void doReadTransferSynchronously () override
 
void doPreRead (TransferType type) override
 
bool isReadOnly () const override
 
bool isReadable () const override
 
bool isWriteable () const override
 
std::vector< boost::shared_ptr< ChimeraTK::TransferElement > > getHardwareAccessingElements () override
 
std::list< boost::shared_ptr< TransferElement > > getInternalElements () override
 
void setPersistentDataStorage (boost::shared_ptr< ChimeraTK::PersistentDataStorage > storage) override
 
void replaceTransferElement (boost::shared_ptr< ChimeraTK::TransferElement > newElement) override
 
void setExceptionBackend (boost::shared_ptr< DeviceBackend > exceptionBackend) override
 
void interrupt () override
 

Public Attributes

bool fakeLowLevel
 
size_t nPreRead {0}
 
size_t nPostRead {0}
 
size_t nPreWrite {0}
 
size_t nPostWrite {0}
 
size_t nRead {0}
 
size_t nReadNonBlocking {0}
 
size_t nReadLatest {0}
 
size_t nWrite {0}
 

Detailed Description

template<typename T>
struct CountingDecorator< T >

Definition at line 728 of file testTransferGroup.cpp.

Constructor & Destructor Documentation

◆ CountingDecorator()

template<typename T >
CountingDecorator< T >::CountingDecorator ( const boost::shared_ptr< ChimeraTK::TransferElement > &  target,
bool  _fakeLowLevel = false 
)
inline

Definition at line 731 of file testTransferGroup.cpp.

Member Function Documentation

◆ doPostRead()

template<typename T >
void CountingDecorator< T >::doPostRead ( TransferType  type,
bool  hasNewData 
)
inlineoverride

Definition at line 744 of file testTransferGroup.cpp.

◆ doPostWrite()

template<typename T >
void CountingDecorator< T >::doPostWrite ( TransferType  type,
VersionNumber  versionNumber 
)
inlineoverride

Definition at line 754 of file testTransferGroup.cpp.

◆ doPreRead()

template<typename T >
void CountingDecorator< T >::doPreRead ( TransferType  type)
inlineoverride

Definition at line 739 of file testTransferGroup.cpp.

◆ doPreWrite()

template<typename T >
void CountingDecorator< T >::doPreWrite ( TransferType  type,
VersionNumber  versionNumber 
)
inlineoverride

Definition at line 749 of file testTransferGroup.cpp.

◆ doReadTransferSynchronously()

template<typename T >
void CountingDecorator< T >::doReadTransferSynchronously ( )
inlineoverride

Definition at line 759 of file testTransferGroup.cpp.

◆ doWriteTransfer()

template<typename T >
bool CountingDecorator< T >::doWriteTransfer ( ChimeraTK::VersionNumber  versionNumber)
inlineoverride

Definition at line 764 of file testTransferGroup.cpp.

◆ getHardwareAccessingElements()

template<typename T >
std::vector<boost::shared_ptr<ChimeraTK::TransferElement> > CountingDecorator< T >::getHardwareAccessingElements ( )
inlineoverride

Definition at line 769 of file testTransferGroup.cpp.

◆ getInternalElements()

template<typename T >
std::list<boost::shared_ptr<TransferElement> > CountingDecorator< T >::getInternalElements ( )
inlineoverride

Definition at line 788 of file testTransferGroup.cpp.

◆ mayReplaceOther()

template<typename T >
bool CountingDecorator< T >::mayReplaceOther ( const boost::shared_ptr< TransferElement const > &  other) const
inlineoverride

Definition at line 797 of file testTransferGroup.cpp.

◆ replaceTransferElement()

template<typename T >
void CountingDecorator< T >::replaceTransferElement ( boost::shared_ptr< TransferElement newElement)
inlineoverride

Definition at line 778 of file testTransferGroup.cpp.

◆ resetCounters()

template<typename T >
void CountingDecorator< T >::resetCounters ( )
inline

Definition at line 805 of file testTransferGroup.cpp.

Member Data Documentation

◆ fakeLowLevel

template<typename T >
bool CountingDecorator< T >::fakeLowLevel

Definition at line 816 of file testTransferGroup.cpp.

◆ nPostRead

template<typename T >
size_t CountingDecorator< T >::nPostRead {0}

Definition at line 818 of file testTransferGroup.cpp.

◆ nPostWrite

template<typename T >
size_t CountingDecorator< T >::nPostWrite {0}

Definition at line 820 of file testTransferGroup.cpp.

◆ nPreRead

template<typename T >
size_t CountingDecorator< T >::nPreRead {0}

Definition at line 817 of file testTransferGroup.cpp.

◆ nPreWrite

template<typename T >
size_t CountingDecorator< T >::nPreWrite {0}

Definition at line 819 of file testTransferGroup.cpp.

◆ nRead

template<typename T >
size_t CountingDecorator< T >::nRead {0}

Definition at line 821 of file testTransferGroup.cpp.

◆ nReadLatest

template<typename T >
size_t CountingDecorator< T >::nReadLatest {0}

Definition at line 823 of file testTransferGroup.cpp.

◆ nReadNonBlocking

template<typename T >
size_t CountingDecorator< T >::nReadNonBlocking {0}

Definition at line 822 of file testTransferGroup.cpp.

◆ nWrite

template<typename T >
size_t CountingDecorator< T >::nWrite {0}

Definition at line 824 of file testTransferGroup.cpp.


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