#include <recordbuilder.h>
|
| | recordbuilder (int maxEvents, int maxLength) |
| | Constructor with custom max event size and maximum record size provided by user.
|
| |
| | recordbuilder () |
| | Default constructor sets number of max events to 100000 and the buffer size to 8MB.
|
| |
| virtual | ~recordbuilder () |
| |
| bool | addEvent (std::vector< char > &vec, int start, int length) |
| | add a content of a vector to the record builder buffer.
|
| |
| bool | addEvent (hipo::event &evnt) |
| | add event object to the record builder buffer.
|
| |
| long | getUserWordOne () |
| |
| long | getUserWordTwo () |
| |
| void | setUserWordOne (long userWordOne) |
| |
| void | setUserWordTwo (long userWordTwo) |
| |
| int | getRecordSize () |
| | returns the size of the record.
|
| |
| int | getEntries () |
| | Returns number of events in the record.
|
| |
| std::vector< char > & | getRecordBuffer () |
| |
| void | reset () |
| | Resets the counters for number of events and sets the position for writing new events to the begining of the event buffer.
|
| |
| void | build () |
| |
◆ recordbuilder() [1/2]
| hipo::recordbuilder::recordbuilder |
( |
int |
maxEvents, |
|
|
int |
maxLength |
|
) |
| |
Constructor with custom max event size and maximum record size provided by user.
◆ recordbuilder() [2/2]
| hipo::recordbuilder::recordbuilder |
( |
| ) |
|
Default constructor sets number of max events to 100000 and the buffer size to 8MB.
◆ ~recordbuilder()
| virtual hipo::recordbuilder::~recordbuilder |
( |
| ) |
|
|
inlinevirtual |
◆ addEvent() [1/2]
| bool hipo::recordbuilder::addEvent |
( |
std::vector< char > & |
vec, |
|
|
int |
start, |
|
|
int |
length |
|
) |
| |
add a content of a vector to the record builder buffer.
offset in the buffer and number of bytes to add provided by user.
◆ addEvent() [2/2]
| bool hipo::recordbuilder::addEvent |
( |
hipo::event & |
evnt | ) |
|
add event object to the record builder buffer.
◆ getUserWordOne()
| long hipo::recordbuilder::getUserWordOne |
( |
| ) |
|
◆ getUserWordTwo()
| long hipo::recordbuilder::getUserWordTwo |
( |
| ) |
|
◆ setUserWordOne()
| void hipo::recordbuilder::setUserWordOne |
( |
long |
userWordOne | ) |
|
◆ setUserWordTwo()
| void hipo::recordbuilder::setUserWordTwo |
( |
long |
userWordTwo | ) |
|
◆ getRecordSize()
| int hipo::recordbuilder::getRecordSize |
( |
| ) |
|
returns the size of the record.
◆ getEntries()
| int hipo::recordbuilder::getEntries |
( |
| ) |
|
Returns number of events in the record.
◆ getRecordBuffer()
| std::vector< char > & hipo::recordbuilder::getRecordBuffer |
( |
| ) |
|
|
inline |
◆ reset()
| void hipo::recordbuilder::reset |
( |
| ) |
|
Resets the counters for number of events and sets the position for writing new events to the begining of the event buffer.
◆ build()
| void hipo::recordbuilder::build |
( |
| ) |
|
The documentation for this class was generated from the following files: