RTC Toolkit
2.0.0
|
Telemetry Republisher business logic. More...
#include <telRepubBusinessLogic.hpp>
Classes | |
struct | DdsPublisherContext |
Public Types | |
using | ComponentType = LifeCycle |
Public Member Functions | |
TelRepubBusinessLogic (const std::string &name, ServiceContainer &services) | |
virtual | ~TelRepubBusinessLogic () |
void | ActivityStarting (StopToken st) override |
void | ActivityRecovering (StopToken st) override |
void | ActivityInitialising (StopToken st) override |
void | ActivityEnabling (StopToken st) override |
void | ActivityDisabling (StopToken st) override |
void | ActivityGoingRunning (StopToken st) override |
void | ActivityGoingIdle (StopToken st) override |
void | ActivityRunning (StopToken st) override |
void | ActivityUpdating (StopToken st, Payload args) override |
bool | GuardUpdatingAllowed (Payload args) override |
Protected Member Functions | |
std::map< mudpi::uint16_t, PubThreadBase<> & > | BuildUdpReceiverAssociation (std::uint16_t receiver_idx) |
Creates a map of associated DDS publishers for provided UDP receiver index receiver_idx. More... | |
void | CreateMudpiReceivers () |
creates UDPI receivers (rtctk::telRepub::UdpReceiver) reading configuration from run-time repository More... | |
void | DeleteMudpiReceivers () |
deletes UDPI receivers (rtctk::telRepub::UdpReceiver) More... | |
void | CreateDdsPubs () |
creates DDS publishers (rtctk::componentFramework::DdsPub) reading configuration from run-time repository More... | |
void | DeleteDdsPubs () |
deletes DDS publishers (rtctk::componentFramework::DdsPub) More... | |
Protected Attributes | |
const std::string | m_name |
component name More... | |
uint16_t | m_sim_freq |
Determines if this is simulating DDS publishing (>0) and which frequency. More... | |
std::unique_ptr< DdsPub > | m_dds_pub |
rtctk::componentFramework::ServiceContainer & | m_service_container |
reference to container services needed to access run-time repository for configuration, and other services More... | |
componentFramework::ComponentMetricsIf & | m_component_metrics |
references to component metrices service More... | |
std::vector< std::unique_ptr< UdpReceiver > > | m_udp_receivers |
vector of UDP receivers More... | |
std::vector< DdsPublisherContext > | m_pub_threads |
DDS publishers. More... | |
Telemetry Republisher business logic.
rtctk::telRepub::TelRepubBusinessLogic::TelRepubBusinessLogic | ( | const std::string & | name, |
ServiceContainer & | services | ||
) |
|
virtual |
|
override |
|
override |
|
overridevirtual |
Reimplemented from rtctk::componentFramework::Runnable< Super >::BizLogicIf.
|
overridevirtual |
Reimplemented from rtctk::componentFramework::Runnable< Super >::BizLogicIf.
|
override |
|
overridevirtual |
Reimplemented from rtctk::componentFramework::Runnable< Super >::BizLogicIf.
|
overridevirtual |
Reimplemented from rtctk::componentFramework::Runnable< Super >::BizLogicIf.
|
override |
|
override |
|
protected |
Creates a map of associated DDS publishers for provided UDP receiver index receiver_idx.
|
protected |
creates DDS publishers (rtctk::componentFramework::DdsPub) reading configuration from run-time repository
@exception_unsafe
|
protected |
creates UDPI receivers (rtctk::telRepub::UdpReceiver) reading configuration from run-time repository
|
protected |
deletes DDS publishers (rtctk::componentFramework::DdsPub)
|
protected |
deletes UDPI receivers (rtctk::telRepub::UdpReceiver)
|
override |
|
protected |
references to component metrices service
|
protected |
|
protected |
component name
|
protected |
DDS publishers.
|
protected |
reference to container services needed to access run-time repository for configuration, and other services
|
protected |
Determines if this is simulating DDS publishing (>0) and which frequency.
|
protected |
vector of UDP receivers