SeekDAS S100M4X C++ SDK 0.2.0
seekdas.hpp: C++17 interface over the Rust SDK
Loading...
Searching...
No Matches
seekdas::Packet Struct Reference

One point packet from Device::recv. The views are valid until the next call on the same Device. More...

#include <seekdas.hpp>

Public Member Functions

std::int16_t value (std::size_t point, int k) const

Public Attributes

std::uint32_t seq = 0
std::uint32_t first_index = 0
 index of the first point within the run and group
std::uint64_t t0 = 0
 time of the first point, T/64
std::uint32_t points = 0
ChannelMask channels
 inputs of the group
int nchannels = 0
 values per point
int group = 0
bool last = false
bool retransmitted = false
bool has_time = false
int run_id = 0
View< std::int16_t > values
 values[p * nchannels + k]: k-th input of channels in ascending order
View< std::uint64_t > times
 per point, T/64; empty without time stamps
View< std::uint8_t > sources
View< std::uint8_t > bad

Detailed Description

One point packet from Device::recv. The views are valid until the next call on the same Device.

Definition at line 485 of file seekdas.hpp.

Member Function Documentation

◆ value()

std::int16_t seekdas::Packet::value ( std::size_t point,
int k ) const
inline

Definition at line 499 of file seekdas.hpp.

Member Data Documentation

◆ seq

std::uint32_t seekdas::Packet::seq = 0

Definition at line 486 of file seekdas.hpp.

◆ first_index

std::uint32_t seekdas::Packet::first_index = 0

index of the first point within the run and group

Definition at line 487 of file seekdas.hpp.

◆ t0

std::uint64_t seekdas::Packet::t0 = 0

time of the first point, T/64

Definition at line 488 of file seekdas.hpp.

◆ points

std::uint32_t seekdas::Packet::points = 0

Definition at line 489 of file seekdas.hpp.

◆ channels

ChannelMask seekdas::Packet::channels

inputs of the group

Definition at line 490 of file seekdas.hpp.

◆ nchannels

int seekdas::Packet::nchannels = 0

values per point

Definition at line 491 of file seekdas.hpp.

◆ group

int seekdas::Packet::group = 0

Definition at line 492 of file seekdas.hpp.

◆ last

bool seekdas::Packet::last = false

Definition at line 493 of file seekdas.hpp.

◆ retransmitted

bool seekdas::Packet::retransmitted = false

Definition at line 493 of file seekdas.hpp.

◆ has_time

bool seekdas::Packet::has_time = false

Definition at line 493 of file seekdas.hpp.

◆ run_id

int seekdas::Packet::run_id = 0

Definition at line 494 of file seekdas.hpp.

◆ values

View<std::int16_t> seekdas::Packet::values

values[p * nchannels + k]: k-th input of channels in ascending order

Definition at line 495 of file seekdas.hpp.

◆ times

View<std::uint64_t> seekdas::Packet::times

per point, T/64; empty without time stamps

Definition at line 496 of file seekdas.hpp.

◆ sources

View<std::uint8_t> seekdas::Packet::sources

Definition at line 497 of file seekdas.hpp.

◆ bad

View<std::uint8_t> seekdas::Packet::bad

Definition at line 498 of file seekdas.hpp.


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