#include <orea/engine/bufferedsensitivitystream.hpp>
Public Member Functions | |
BufferedSensitivityStream (const QuantLib::ext::shared_ptr< SensitivityStream > &stream) | |
SensitivityRecord | next () override |
Returns the next SensitivityRecord in the stream. More... | |
void | reset () override |
Resets the stream so that SensitivityRecord objects can be streamed again. More... | |
Public Member Functions inherited from SensitivityStream | |
virtual | ~SensitivityStream () |
Destructor. More... | |
virtual SensitivityRecord | next ()=0 |
Returns the next SensitivityRecord in the stream. More... | |
virtual void | reset ()=0 |
Resets the stream so that SensitivityRecord objects can be streamed again. More... | |
Private Attributes | |
QuantLib::ext::shared_ptr< SensitivityStream > | stream_ |
std::vector< SensitivityRecord > | buffer_ |
QuantLib::Size | index_ = QuantLib::Null<QuantLib::Size>() |
Definition at line 30 of file bufferedsensitivitystream.hpp.
|
explicit |
Definition at line 24 of file bufferedsensitivitystream.cpp.
|
overridevirtual |
Returns the next SensitivityRecord in the stream.
Implements SensitivityStream.
Definition at line 27 of file bufferedsensitivitystream.cpp.
|
overridevirtual |
Resets the stream so that SensitivityRecord objects can be streamed again.
Implements SensitivityStream.
Definition at line 38 of file bufferedsensitivitystream.cpp.
|
private |
Definition at line 37 of file bufferedsensitivitystream.hpp.
|
private |
Definition at line 38 of file bufferedsensitivitystream.hpp.
|
private |
Definition at line 39 of file bufferedsensitivitystream.hpp.