Go to the documentation of this file.
12 #ifndef RTCTK_REUSABLECOMPONENT_TELREPUB_TELREPUBBUSINESSLOGIC_HPP_
13 #define RTCTK_REUSABLECOMPONENT_TELREPUB_TELREPUBBUSINESSLOGIC_HPP_
23 #include <rad/logger.hpp>
24 #include <rad/mal/utils.hpp>
31 using namespace std::chrono_literals;
50 void ActivityStarting(
StopToken st)
override;
52 void ActivityRecovering(
StopToken st)
override;
54 void ActivityInitialising(
StopToken st)
override;
56 void ActivityEnabling(
StopToken st)
override;
58 void ActivityDisabling(
StopToken st)
override;
60 void ActivityGoingRunning(
StopToken st)
override;
62 void ActivityGoingIdle(
StopToken st)
override;
64 void ActivityRunning(
StopToken st)
override;
68 bool GuardUpdatingAllowed(
Payload args)
override;
77 : sim_freq(sim_freq_arg)
78 , mudpi_topic_id(mudpi_topic_id_arg)
79 , receiver_index(receiver_index_arg)
98 BuildUdpReceiverAssociation(
std::
uint16_t receiver_idx);
104 void CreateMudpiReceivers();
109 void DeleteMudpiReceivers();
117 void CreateDdsPubs();
121 void DeleteDdsPubs();
152 #endif // RTCTK_REUSABLECOMPONENT_TELREPUB_TELREPUBBUSINESSLOGIC_HPP_
A container that can hold any type of service.
UDP receiver: receiving MUDPI and send to MUDPI processor.
eprosima::fastdds::dds::DataWriter TypedDataWriter
Definition: ddsCommon.hpp:88
Definition: ddsPubThread.hpp:161
name
Definition: wscript:15
Definition: runnable.hpp:34
DdsPublisherContext(DdsPublisherContext &&) noexcept=default
DdsPublisherContext(std::uint16_t sim_freq_arg, std::int32_t mudpi_topic_id_arg, std::int32_t receiver_index_arg, componentFramework::TypedDataWriter *dw, std::uint32_t queue_size)
Definition: telRepubBusinessLogic.hpp:72
DDS agnostic topic publioshing thread.
Definition: commandReplier.cpp:20
Definition: ddsPubThread.hpp:27
Definition: telRepubBusinessLogic.hpp:71
rad::StopToken StopToken
Definition: stopToken.hpp:19
unsigned short uint16_t
Definition: mudpi.h:15
This class represents the structure AgnosticTopic defined by the user in the IDL file.
Definition: agnostictopicif.h:72
Lifecycle Extension that makes an RTC Component 'Runnable'.
Runnable< RtcComponent > LifeCycle
Definition: telRepubBusinessLogic.hpp:35
std::string Payload
Definition: payload.hpp:19
Container class that holds services of any type.
Definition: serviceContainer.hpp:35
Receiving UDP data asynchronously and forwards received packets to provided packet processors.
Definition: udpReceiver.hpp:41
All functionallty needed to create DDS entities for DDS data publishing is concentrated in this class...
Definition: ddsPub.hpp:39
Lifecycle of a basic 'RtcComponent'.
unsigned int uint32_t
Definition: mudpi.h:16
Definition: mudpiProcessingError.hpp:119
int int32_t
Definition: mudpi.h:17
Life cycle extension to make RtcComponent Runnable.
Definition: runnable.hpp:30
DDS publisher thread class that provides queue with aggregated topic to be published by DDS.
Definition: ddsPubThread.hpp:50
Definition: agnostictopicifPubSubTypes.cpp:31
Telemetry Republisher business logic.
Definition: telRepubBusinessLogic.hpp:42