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 116 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 625 of file comm_manager.cpp.

Member Function Documentation

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

Definition at line 646 of file comm_manager.cpp.

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

Definition at line 631 of file comm_manager.cpp.

Member Data Documentation

uint64_t rosflight_firmware::CommManager::Stream::next_time_us_

Definition at line 125 of file comm_manager.h.

uint32_t rosflight_firmware::CommManager::Stream::period_us_

Definition at line 124 of file comm_manager.h.

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

Definition at line 126 of file comm_manager.h.

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

Author(s): Daniel Koch , James Jackson
autogenerated on Mon Jan 13 2020 19:50:06