Public Member Functions | Public Attributes | List of all members
rosflight_firmware::CommManager::Stream Class Reference

Public Member Functions

void set_rate (uint32_t rate_hz)
 Stream (uint32_t period_us, std::function< void(void)> send_function)
void stream (uint64_t now_us)

Public Attributes

uint64_t next_time_us_
uint32_t period_us_
std::function< void(void)> send_function_

Detailed Description

Definition at line 118 of file comm_manager.h.

Constructor & Destructor Documentation

rosflight_firmware::CommManager::Stream::Stream ( uint32_t  period_us,
std::function< void(void)>  send_function 

Definition at line 609 of file comm_manager.cpp.

Member Function Documentation

void rosflight_firmware::CommManager::Stream::set_rate ( uint32_t  rate_hz)

Definition at line 630 of file comm_manager.cpp.

void rosflight_firmware::CommManager::Stream::stream ( uint64_t  now_us)

Definition at line 616 of file comm_manager.cpp.

Member Data Documentation

uint64_t rosflight_firmware::CommManager::Stream::next_time_us_

Definition at line 127 of file comm_manager.h.

uint32_t rosflight_firmware::CommManager::Stream::period_us_

Definition at line 126 of file comm_manager.h.

std::function<void(void)> rosflight_firmware::CommManager::Stream::send_function_

Definition at line 128 of file comm_manager.h.

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

Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:58