Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <ApiCommunicationController.hpp>
Protected Attributes | |
iv::types::networkId | m_networkId |
std::shared_ptr< bool > | m_isEnabled |
std::shared_ptr< iv::model::comms::NetworkData > | m_commConfig |
std::shared_ptr< iv::comms::ICommunicationProtocol > | m_protocol |
std::shared_ptr< iv::comms::ICommunicationDriver > | m_driver |
std::map< iv::types::channelId, std::shared_ptr< iv::channels::AbstractChannel > > | m_channels |
std::weak_ptr< iv::channels::AbstractChannel > | m_errorChannel |
std::weak_ptr< iv::channels::AbstractChannel > | m_heartbeatChannel |
std::weak_ptr< iv::comms::ICommunicationController > | m_fallbackComm |
std::weak_ptr< iv::diamar::AppFailuresLoggerManager > | m_appFailuresLoggerManager |
Private Member Functions | |
void | addChannel (const std::shared_ptr< iv::channels::AbstractChannel > &channel) override |
bool | frame () override |
void | initialize () override |
Static Private Member Functions | |
static bool | shouldSendToCloud (const std::shared_ptr< iv::model::comms::NetworkData > &networkData) |
Private Attributes | |
std::shared_ptr< iv::comms::ICommunicationProtocol > | m_dataLoggerProtocol |
std::shared_ptr< iv::comms::ICommunicationProtocol > | m_eventLoggerProtocol |
std::shared_ptr< iv::comms::ICommunicationProtocol > | m_historyLoggerProtocol |
std::mutex | m_commControllerMutex |
Friends | |
class | ApiCommunicationControllerFrame |
|
delete |
iv::comms::api::ApiCommunicationController::ApiCommunicationController | ( | const std::shared_ptr< iv::comms::ICommunicationDriver > & | driver, |
const std::shared_ptr< iv::model::comms::NetworkData > & | networkData ) |
|
delete |
|
delete |
|
overridedefault |
|
overrideprivatevirtual |
Implements iv::comms::ICommunicationController.
iv::comms::api::ApiDeleteResponse iv::comms::api::ApiCommunicationController::deleteDataLogs | ( | const IApiQueryParamsBuilder & | queryParams | ) | const |
iv::comms::api::ApiDeleteResponse iv::comms::api::ApiCommunicationController::deleteEventLogs | ( | const IApiQueryParamsBuilder & | queryParams | ) | const |
iv::comms::api::ApiDeleteResponse iv::comms::api::ApiCommunicationController::deleteHistoryLogs | ( | const IApiQueryParamsBuilder & | queryParams | ) | const |
|
overrideprivatevirtual |
Implements iv::comms::ICommunicationController.
|
inlinenodiscardinherited |
|
inlinenodiscardinherited |
|
inlinenodiscardinherited |
|
inlinenodiscardinherited |
|
overrideprivatevirtual |
Implements iv::comms::ICommunicationController.
|
inlinenodiscardinherited |
|
delete |
|
delete |
|
inlineinherited |
iv::comms::api::ApiPingResponse iv::comms::api::ApiCommunicationController::ping | ( | ) | const |
void iv::comms::api::ApiCommunicationController::registerDataLog | ( | const std::shared_ptr< iv::comms::api::ILoggerMessage > & | message | ) | const |
void iv::comms::api::ApiCommunicationController::registerEventLog | ( | const std::shared_ptr< iv::comms::api::ILoggerMessage > & | message | ) | const |
void iv::comms::api::ApiCommunicationController::registerHistoryLog | ( | const std::shared_ptr< iv::comms::api::ILoggerMessage > & | message | ) | const |
iv::comms::api::ApiResponse iv::comms::api::ApiCommunicationController::requestDataLog | ( | const IApiQueryParamsBuilder & | queryParams | ) | const |
iv::comms::api::ApiResponse iv::comms::api::ApiCommunicationController::requestEventLog | ( | const IApiQueryParamsBuilder & | queryParams | ) | const |
iv::comms::api::ApiResponse iv::comms::api::ApiCommunicationController::requestHistoryLog | ( | const IApiQueryParamsBuilder & | queryParams | ) | const |
|
inlineinherited |
|
staticprivate |
bool iv::comms::api::ApiCommunicationController::wipe | ( | ) | const |
|
friend |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
mutableprivate |
|
private |
|
protectedinherited |
|
protectedinherited |
|
private |
|
protectedinherited |
|
protectedinherited |
|
private |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |