
#include "Transport/BufferedFrameIstream.H"#include "Component/ModelOptionDef.H"#include "Transport/FrameIstreamFactory.H"#include "Transport/TransportOpts.H"#include "Util/SimTime.H"#include "Util/log.H"#include "rutz/time.h"
Go to the source code of this file.
Classes | |
| struct | BufferedFrameIstream::Checkpoint |
Variables | |
| static const ModelOptionDef | OPT_InputBufferSize |
| static const ModelOptionDef | OPT_UnderflowStrategy |
Frame-buffering layer on top of other FrameIstream objects
Definition in file BufferedFrameIstream.C.
const ModelOptionDef OPT_InputBufferSize [static] |
{ MODOPT_ARG(size_t), "InputBufferSize", &MOC_INPUT, OPTEXP_CORE,
"Number of frames to keep in input buffer when using --in=buf",
"input-buffer-size", '\0', "<int>", "32" }
Definition at line 51 of file BufferedFrameIstream.C.
const ModelOptionDef OPT_UnderflowStrategy [static] |
{ MODOPT_ARG(ErrorStrategy), "UnderflowStrategy", &MOC_INPUT, OPTEXP_CORE,
"What to do if the input buffer is empty when trying to read "
"a new frame when using --in=buf; ABORT=make it a fatal error, "
"RETRY=keep polling until the buffer becomes non-empty, "
"IGNORE=ignore the error and return an empty frame as if "
"end-of-stream had been reached",
"underflow-strategy", '\0', "<ABORT|RETRY|IGNORE>", "IGNORE" }
Definition at line 57 of file BufferedFrameIstream.C.
1.6.3