Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions | Data Fields
Record Struct Reference

Represent a record. More...

#include <Record.h>

Public Member Functions

 Record ()
 Construct an empty record. More...
 
 Record (RecordType type, const RecordPayload &payload, const RecordID &id, bool chunk, bool last_record)
 Construct a record from its type, payload and id. More...
 

Data Fields

RecordType type
 Type of the record. More...
 
RecordPayload payload
 Value of the payload. More...
 
RecordID id
 ID of the record. More...
 
bool chunk: 1
 If true, this record is a chunked record. More...
 
bool last_record: 1
 If true, this record is the last one of the payload containing it. More...
 

Detailed Description

Represent a record.

Definition at line 148 of file Record.h.

Constructor & Destructor Documentation

Record ( )

Construct an empty record.

Definition at line 152 of file Record.h.

Record ( RecordType  type,
const RecordPayload payload,
const RecordID id,
bool  chunk,
bool  last_record 
)

Construct a record from its type, payload and id.

The flags chunk and last_record can be added to indicate if the record is aprt of a chunk or the last one in a message.

Parameters
typeThe type of the record.
payloadThe payload of the record.
idThe id associated with the record.
chunkIf true then this record is a chunk of a bigger record.
last_recordIf true then this record is the last of the message containing it.

Definition at line 167 of file Record.h.

Field Documentation

bool chunk

If true, this record is a chunked record.

Definition at line 199 of file Record.h.

ID of the record.

Definition at line 194 of file Record.h.

bool last_record

If true, this record is the last one of the payload containing it.

Definition at line 204 of file Record.h.

RecordPayload payload

Value of the payload.

Definition at line 189 of file Record.h.

RecordType type

Type of the record.

Definition at line 184 of file Record.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.