Vector BLF
Vector::BLF::MostAllocTab Struct Referencefinal

MOST_ALLOCTAB. More...

#include <MostAllocTab.h>

Inheritance diagram for Vector::BLF::MostAllocTab:
Vector::BLF::ObjectHeader2 Vector::BLF::ObjectHeaderBase

Public Member Functions

void read (AbstractFile &is) override
 
void write (AbstractFile &os) override
 
DWORD calculateObjectSize () const override
 
- Public Member Functions inherited from Vector::BLF::ObjectHeader2
 ObjectHeader2 (const ObjectType objectType)
 
void read (AbstractFile &is) override
 
void write (AbstractFile &os) override
 
WORD calculateHeaderSize () const override
 
DWORD calculateObjectSize () const override
 
- Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
 ObjectHeaderBase (const WORD headerVersion, const ObjectType objectType)
 
 ObjectHeaderBase (const ObjectHeaderBase &)=default
 
ObjectHeaderBaseoperator= (const ObjectHeaderBase &)=default
 
 ObjectHeaderBase (ObjectHeaderBase &&)=default
 
ObjectHeaderBaseoperator= (ObjectHeaderBase &&)=default
 

Public Attributes

WORD channel {}
 application channel More...
 
WORD length {}
 
DWORD reservedMostAllocTab {}
 
std::vector< uint8_t > tableData {}
 
- Public Attributes inherited from Vector::BLF::ObjectHeader2
DWORD objectFlags {ObjectFlags::TimeOneNans}
 object flags More...
 
BYTE timeStampStatus {}
 time stamp status More...
 
BYTE reservedObjectHeader {0}
 
WORD objectVersion {0}
 object specific version More...
 
ULONGLONG objectTimeStamp {0}
 object timestamp More...
 
ULONGLONG originalTimeStamp {0}
 original object timestamp More...
 
- Public Attributes inherited from Vector::BLF::ObjectHeaderBase
DWORD signature {ObjectSignature}
 signature (ObjectSignature) More...
 
WORD headerSize {}
 sizeof object header More...
 
WORD headerVersion {}
 header version (1) More...
 
DWORD objectSize {}
 object size More...
 
ObjectType objectType {}
 object type More...
 

Additional Inherited Members

- Public Types inherited from Vector::BLF::ObjectHeader2
enum  ObjectFlags : DWORD { TimeTenMics = 0x00000001 , TimeOneNans = 0x00000002 }
 
enum  TimeStampStatus : BYTE { Orig = 0x01 , SwHw = 0x02 , User = 0x10 }
 

Detailed Description

MOST_ALLOCTAB.

Transports current state of the MOST25 Allocation Table of connected hardware interface.

Member Function Documentation

◆ calculateObjectSize()

DWORD Vector::BLF::MostAllocTab::calculateObjectSize ( ) const
overridevirtual

Calculates the objectSize

Returns
object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

◆ read()

void Vector::BLF::MostAllocTab::read ( AbstractFile is)
overridevirtual

Read the data of this object

Parameters
isinput stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

◆ write()

void Vector::BLF::MostAllocTab::write ( AbstractFile os)
overridevirtual

Write the data of this object

Parameters
osoutput stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

Member Data Documentation

◆ channel

WORD Vector::BLF::MostAllocTab::channel {}

application channel

Application channel

◆ length

WORD Vector::BLF::MostAllocTab::length {}

Length of variable data (usually 60 bytes for MOST25)

◆ reservedMostAllocTab

DWORD Vector::BLF::MostAllocTab::reservedMostAllocTab {}

reserved

◆ tableData

std::vector<uint8_t> Vector::BLF::MostAllocTab::tableData {}

Allocation Table

The label of a synchronous connection can be distributed over several bytes in the Allocation Table.

Each byte in mTableData contains a value that specifies the identification number of the label it belongs to. If the device is a timing master, the MSB of the byte value is used to indicate if the label is in use or not, otherwise the MSB should be ignored. The label number thus can be determined by byte value & 0x7F. If the resulting label number is 0x70, the byte is not used for any label.


The documentation for this struct was generated from the following files: