#include <sensors_handler.h>
◆ SensorsHandler()
cuttlefish::webrtc_streaming::SensorsHandler::SensorsHandler |
( |
SharedFD |
sensors_fd | ) |
|
◆ ~SensorsHandler()
cuttlefish::webrtc_streaming::SensorsHandler::~SensorsHandler |
( |
| ) |
|
◆ GetSensorsData()
Result< std::string > cuttlefish::webrtc_streaming::SensorsHandler::GetSensorsData |
( |
| ) |
|
|
private |
◆ HandleMessage()
void cuttlefish::webrtc_streaming::SensorsHandler::HandleMessage |
( |
const double |
x, |
|
|
const double |
y, |
|
|
const double |
z |
|
) |
| |
◆ RefreshSensors()
Result< void > cuttlefish::webrtc_streaming::SensorsHandler::RefreshSensors |
( |
const double |
x, |
|
|
const double |
y, |
|
|
const double |
z |
|
) |
| |
|
private |
◆ Subscribe()
int cuttlefish::webrtc_streaming::SensorsHandler::Subscribe |
( |
std::function< void(const uint8_t *, size_t)> |
send_to_client | ) |
|
◆ UnSubscribe()
void cuttlefish::webrtc_streaming::SensorsHandler::UnSubscribe |
( |
int |
subscriber_id | ) |
|
◆ UpdateSensorsUi()
void cuttlefish::webrtc_streaming::SensorsHandler::UpdateSensorsUi |
( |
| ) |
|
|
private |
◆ channel_
◆ client_channels_
std::unordered_map<int, std::function<void(const uint8_t*, size_t)> > cuttlefish::webrtc_streaming::SensorsHandler::client_channels_ |
|
private |
◆ last_client_channel_id_
int cuttlefish::webrtc_streaming::SensorsHandler::last_client_channel_id_ = -1 |
|
private |
◆ subscribers_mtx_
std::mutex cuttlefish::webrtc_streaming::SensorsHandler::subscribers_mtx_ |
|
private |
The documentation for this struct was generated from the following files: