VECTOR_BLF_SERIALEVENT(3)
β¨ Vector::BLF::SerialEvent(3) β¨
Hii bestie! You're in the Library Functions Manual, and this is the page for Vector::BLF::SerialEvent. It's giving serial-event realness, no cap. π
π NAME π
Vector::BLF::SerialEvent β SERIAL_EVENT.
πΈ SYNOPSIS πΈ
#include <SerialEvent.h>
Inherits Vector::BLF::ObjectHeader.
π Public Types
enum Flags : uint32_t { KLineEvent = 0x00000001, DiagRequest = 0x00000002, SingleByte = 0x00000004, CompactByte = 0x00000008 }
π¦ Public Types inherited from Vector::BLF::ObjectHeader
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }
π Public Member Functions
SerialEvent (const SerialEvent &)=default
SerialEvent & operator= (const SerialEvent &)=default
SerialEvent (SerialEvent &&)=default
SerialEvent & operator= (SerialEvent &&)=default
void read (AbstractFile &is) override
void write (AbstractFile &os) override
uint32_t calculateObjectSize () const override
π«Ά Public Member Functions inherited from Vector::BLF::ObjectHeader
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)
uint16_t calculateHeaderSize () const override
π Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)
ObjectHeaderBase (const ObjectHeaderBase &)=default
ObjectHeaderBase & operator= (const ObjectHeaderBase &)=default
ObjectHeaderBase (ObjectHeaderBase &&)=default
ObjectHeaderBase & operator= (ObjectHeaderBase &&)=default
π Public Attributes
uint32_t flags {}uint32_t port {}β channel of eventuint32_t baudrate {}β baudrate at which this event was transmitted (optional)uint32_t reservedSerialEvent {}GeneralSerialEvent general {}SingleByteSerialEvent singleByte {}CompactSerialEvent compact {}
π Public Attributes inherited from Vector::BLF::ObjectHeader
uint32_t objectFlags {ObjectFlags::TimeOneNans}β object flagsuint16_t clientIndex {}β client index of send nodeuint16_t objectVersion {0}β object specific versionuint64_t objectTimeStamp {}β object timestamp
β¨ Public Attributes inherited from Vector::BLF::ObjectHeaderBase
uint32_t signature {ObjectSignature}β signature (ObjectSignature)uint16_t headerSize {}β sizeof object headeruint16_t headerVersion {}β header version (1)uint32_t objectSize {}β object sizeObjectType objectType {ObjectType::UNKNOWN}β object type
π Detailed Description π
SERIAL_EVENT.
serial event
π Member Enumeration Documentation π
enum Vector::BLF::SerialEvent::Flags : uint32_t
enumeration for flags
Enumerator
KLineEventβ K-Line eventDiagRequestβ diagnostic request- only valid if
KLineEventis set
- only valid if
SingleByteβ single byte- optimization for logging single bytes
CompactByteβ compact byte- optimization for logging a few bytes without additional timestamps
π₯ Member Function Documentation π₯
uint32_t Vector::BLF::SerialEvent::calculateObjectSize () const [override], [virtual]
Calculates the objectSize
Returns: object size
Reimplemented from Vector::BLF::ObjectHeader.
void Vector::BLF::SerialEvent::read (AbstractFile & is) [override], [virtual]
Read the data of this object
Parameters:
isβ input stream
Reimplemented from Vector::BLF::ObjectHeader.
void Vector::BLF::SerialEvent::write (AbstractFile & os) [override], [virtual]
Write the data of this object
Parameters:
osβ output stream
Reimplemented from Vector::BLF::ObjectHeader.
πΈ Member Data Documentation πΈ
uint32_t Vector::BLF::SerialEvent::baudrate {}β baudrate at which this event was transmitted (optional) baudrate at which this event was transmitted (optional). Yes bestie, the page says it twice: baudrate at which this event was transmitted (optional), then baudrate at which this event was transmitted (optional).CompactSerialEvent Vector::BLF::SerialEvent::compact {}β compact serial eventuint32_t Vector::BLF::SerialEvent::flags {}β flagsGeneralSerialEvent Vector::BLF::SerialEvent::general {}β general serial eventuint32_t Vector::BLF::SerialEvent::port {}β channel of event channel of event. Again, it doubles up: channel of event, then channel of event.uint32_t Vector::BLF::SerialEvent::reservedSerialEvent {}β reservedSingleByteSerialEvent Vector::BLF::SerialEvent::singleByte {}β single byte serial event
π«Ά Author π«Ά
Generated automatically by Doxygen for Vector BLF from the source code.
Okay that's the whole page, bestie. Source/version: Vector BLF. Date: the footer snippet doesn't list one, so I'm not inventing it β periodt. π β¨
π¦ where this page comes from
- arch rolling: vector-blf 2.4.2-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms