MIDAS
|
#include <tmfe.h>
Public Member Functions | |
TMEventBuffer (TMFE *mfe) | |
~TMEventBuffer () | |
TMFeResult | OpenBuffer (const char *bufname, size_t bufsize=0) |
TMFeResult | CloseBuffer () |
TMFeResult | SetCacheSize (size_t read_cache_size, size_t write_cache_size) |
TMFeResult | AddRequest (int event_id, int trigger_mask, const char *sampling_type_string) |
TMFeResult | ReceiveEvent (std::vector< char > *e, int timeout_msec=0) |
TMFeResult | SendEvent (const char *e) |
TMFeResult | SendEvent (const std::vector< char > &e) |
TMFeResult | SendEvent (const std::vector< std::vector< char > > &e) |
TMFeResult | SendEvent (int sg_n, const char *const sg_ptr[], const size_t sg_len[]) |
TMFeResult | FlushCache (bool wait=true) |
Public Attributes | |
TMFE * | fMfe = NULL |
std::string | fBufName |
size_t | fBufSize = 0 |
size_t | fBufMaxEventSize = 0 |
int | fBufHandle = 0 |
size_t | fBufReadCacheSize = 0 |
size_t | fBufWriteCacheSize = 0 |
std::vector< int > | fBufRequests |
TMEventBuffer::TMEventBuffer | ( | TMFE * | mfe | ) |
Definition at line 169 of file tmfe.cxx.
TMEventBuffer::~TMEventBuffer | ( | ) |
Definition at line 175 of file tmfe.cxx.
TMFeResult TMEventBuffer::AddRequest | ( | int | event_id, |
int | trigger_mask, | ||
const char * | sampling_type_string | ||
) |
Definition at line 272 of file tmfe.cxx.
TMFeResult TMEventBuffer::CloseBuffer | ( | ) |
Definition at line 235 of file tmfe.cxx.
TMFeResult TMEventBuffer::FlushCache | ( | bool | wait = true | ) |
Definition at line 374 of file tmfe.cxx.
TMFeResult TMEventBuffer::OpenBuffer | ( | const char * | bufname, |
size_t | bufsize = 0 |
||
) |
Definition at line 183 of file tmfe.cxx.
TMFeResult TMEventBuffer::ReceiveEvent | ( | std::vector< char > * | e, |
int | timeout_msec = 0 |
||
) |
Definition at line 303 of file tmfe.cxx.
TMFeResult TMEventBuffer::SendEvent | ( | const char * | e | ) |
Definition at line 326 of file tmfe.cxx.
TMFeResult TMEventBuffer::SendEvent | ( | const std::vector< char > & | e | ) |
Definition at line 334 of file tmfe.cxx.
TMFeResult TMEventBuffer::SendEvent | ( | const std::vector< std::vector< char > > & | e | ) |
Definition at line 358 of file tmfe.cxx.
TMFeResult TMEventBuffer::SetCacheSize | ( | size_t | read_cache_size, |
size_t | write_cache_size | ||
) |
Definition at line 258 of file tmfe.cxx.