DABC (Data Acquisition Backbone Core)
2.9.9
|
Input for LMD files (lmd:) More...
#include <mbs/LmdInput.h>
Public Member Functions | |
LmdInput (const dabc::Url &url) | |
virtual unsigned | Read_Complete (dabc::Buffer &buf) |
Complete reading of the buffer from source,. More... | |
virtual bool | Read_Init (const dabc::WorkerRef &wrk, const dabc::Command &cmd) |
Initialize data input, using port and command. More... | |
virtual unsigned | Read_Size () |
Defines required buffer size for next operation. More... | |
virtual | ~LmdInput () |
Public Member Functions inherited from dabc::FileInput | |
virtual bool | Read_Stat (dabc::Command cmd) |
Provide timeout value. More... | |
void | SetIO (dabc::FileInterface *io) |
virtual | ~FileInput () |
Public Member Functions inherited from dabc::DataInput | |
virtual unsigned | Read_Start (Buffer &buf) |
Prepare buffer for reading (if required) More... | |
virtual double | Read_Timeout () |
Provide timeout value. More... | |
Buffer | ReadBuffer () |
Reads complete buffer. More... | |
virtual | ~DataInput () |
Protected Member Functions | |
bool | CloseFile () |
bool | OpenNextFile () |
Protected Member Functions inherited from dabc::FileInput | |
void | ClearCurrentFileName () |
const std::string & | CurrentFileName () const |
FileInput (const dabc::Url &url) | |
bool | InitFilesList () |
bool | TakeNextFileName () |
Protected Member Functions inherited from dabc::DataInput | |
virtual WorkerAddon * | Read_GetAddon () |
Returns addon, provided by data input If specified, supposed that I/O object is double-deriver from DataInput and Addon. More... | |
Protected Attributes | |
mbs::LmdFile | fFile |
Protected Attributes inherited from dabc::FileInput | |
std::string | fCurrentName |
std::string | fFileName |
dabc::Reference | fFilesList |
dabc::FileInterface * | fIO |
bool | fLoop |
read file(s) in endless loop More... | |
double | fReduce |
factor to reduce buffer size when reading More... | |
Input for LMD files (lmd:)
Definition at line 31 of file LmdInput.h.
mbs::LmdInput::LmdInput | ( | const dabc::Url & | url | ) |
Definition at line 25 of file LmdInput.cxx.
|
virtual |
Definition at line 36 of file LmdInput.cxx.
|
protected |
Definition at line 65 of file LmdInput.cxx.
|
protected |
Definition at line 48 of file LmdInput.cxx.
|
virtual |
Initialize data input, using port and command.
This is generic virtual method to initialize input, using configurations from Port and (or) from the Command
[in] | wrk | reference on input port |
[in] | cmd | reference on command object |
Reimplemented from dabc::FileInput.
Definition at line 41 of file LmdInput.cxx.
|
virtual |
Defines required buffer size for next operation.
Reimplemented from dabc::DataInput.
Definition at line 72 of file LmdInput.cxx.
|
virtual |
Complete reading of the buffer from source,.
Reimplemented from dabc::DataInput.
Definition at line 82 of file LmdInput.cxx.
|
protected |
Definition at line 34 of file LmdInput.h.