Fawkes API  Fawkes Development Version
fawkes::bb_iinfo_msg_t Struct Reference

Message for interface info. More...

#include <messages.h>

Public Attributes

char type [__INTERFACE_TYPE_SIZE]
 interface type name More...
 
char id [__INTERFACE_ID_SIZE]
 interface instance ID More...
 
unsigned char hash [__INTERFACE_HASH_SIZE]
 interface version hash More...
 
uint32_t serial
 instance serial to uniquely identify this instance (big endian) More...
 
uint32_t writer_readers
 combined writer reader information. More...
 
int64_t timestamp_sec
 data or write timestamp, sec part More...
 
int64_t timestamp_usec
 data or write timestamp, usec part More...
 

Detailed Description

Message for interface info.

Definition at line 86 of file messages.h.

Member Data Documentation

◆ hash

unsigned char fawkes::bb_iinfo_msg_t::hash[__INTERFACE_HASH_SIZE]

◆ id

char fawkes::bb_iinfo_msg_t::id[__INTERFACE_ID_SIZE]

◆ serial

uint32_t fawkes::bb_iinfo_msg_t::serial

instance serial to uniquely identify this instance (big endian)

Definition at line 90 of file messages.h.

Referenced by fawkes::BlackBoardInterfaceListContent::append_interface(), fawkes::RemoteBlackBoard::list(), and fawkes::RemoteBlackBoard::list_all().

◆ timestamp_sec

int64_t fawkes::bb_iinfo_msg_t::timestamp_sec

◆ timestamp_usec

int64_t fawkes::bb_iinfo_msg_t::timestamp_usec

◆ type

char fawkes::bb_iinfo_msg_t::type[__INTERFACE_TYPE_SIZE]

◆ writer_readers

uint32_t fawkes::bb_iinfo_msg_t::writer_readers

combined writer reader information.

First bit (any endian) is 1 if writer exists, 0 otherwise. The remaining 31 bits encode the number of readers as big endian number.

Definition at line 92 of file messages.h.

Referenced by fawkes::BlackBoardInterfaceListContent::append_interface(), fawkes::RemoteBlackBoard::list(), and fawkes::RemoteBlackBoard::list_all().


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