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 85 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 619 of file comm_manager.cpp.

Member Function Documentation

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

Definition at line 640 of file comm_manager.cpp.

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

Definition at line 625 of file comm_manager.cpp.

Member Data Documentation

uint64_t rosflight_firmware::CommManager::Stream::next_time_us_

Definition at line 94 of file comm_manager.h.

uint32_t rosflight_firmware::CommManager::Stream::period_us_

Definition at line 93 of file comm_manager.h.

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

Definition at line 95 of file comm_manager.h.


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


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:31