Crypto++ 8.7
Free C++ class library of cryptographic schemes
|
Interface for custom flush signals. More...
#include <simple.h>
Public Member Functions | |
virtual void | Initialize (const NameValuePairs ¶meters=g_nullNameValuePairs, int propagation=-1)=0 |
Initialize or reinitialize this object, with signal propagation. More... | |
Public Member Functions inherited from CustomFlushPropagation< T > | |
virtual bool | Flush (bool hardFlush, int propagation=-1, bool blocking=true)=0 |
Flush buffered input and/or output, with signal propagation. More... | |
Interface for custom flush signals.
T | BufferedTransformation derived class |
|
pure virtual |
Initialize or reinitialize this object, with signal propagation.
parameters | a set of NameValuePairs to initialize or reinitialize this object |
propagation | the number of attached transformations the Initialize() signal should be passed |
Initialize() is used to initialize or reinitialize an object using a variable number of arbitrarily typed arguments. The function avoids the need for multiple constructors providing all possible combintations of configurable parameters.
propagation count includes this object. Setting propagation to 1
means this object only. Setting propagation to -1
means unlimited propagation.
Implemented in Redirector, and OutputProxy.