RTC Toolkit
1.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::telRepub::DdsPub) reading configuration from run-time repository More... | |
void | DeleteDdsPubs () |
deletes DDS publishers (#rtctk::telRepub::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... | |
rtctk::componentFramework::ServiceContainer & | m_service_container |
reference to container services needed to access run-time repository for configuration. More... | |
DdsPub | m_dds_pub |
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::telRepub::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::telRepub::DdsPub)
|
protected |
deletes UDPI receivers (rtctk::telRepub::UdpReceiver)
|
override |
|
protected |
|
protected |
component name
|
protected |
DDS publishers.
|
protected |
reference to container services needed to access run-time repository for configuration.
|
protected |
Determines if this is simulating DDS publishing (>0) and which frequency.
|
protected |
vector of UDP receivers