Template Class SharedMemoryTest¶
Defined in File SharedMemory.cpp
Inheritance Relationships¶
Base Type¶
public RouDi_GTest
Class Documentation¶
-
template<class T>
class SharedMemoryTest : public RouDi_GTest Fixture for the shared memory tests with RouDi
Public Types
-
using TopicType = T
Public Functions
-
inline SharedMemoryTest()
-
inline void SetUp()
-
inline void CreateParticipant()
-
inline void SetDurabilityServiceHistory(int32_t depth)
-
inline void CreateTopic()
-
inline void SetupWriter()
-
inline void SetupReader()
-
inline void SetupCommunication(dds::sub::qos::DataReaderQos r_qos = dds::sub::qos::DataReaderQos{}, dds::pub::qos::DataWriterQos w_qos = dds::pub::qos::DataWriterQos{})
-
inline void WaitForData()
-
inline std::vector<T> WriteData(const int32_t instances_cnt)
-
inline void CheckData(const bool must_use_iceoryx, const dds::sub::LoanedSamples<T> &samples, const T &test_data)
-
inline void run_communication_test(const bool must_use_iceoryx, const dds::sub::qos::DataReaderQos &r_qos, const dds::pub::qos::DataWriterQos &w_qos, const int32_t num_samples)
-
inline void expect_no_communication(const dds::sub::qos::DataReaderQos &r_qos, const dds::pub::qos::DataWriterQos &w_qos)
-
inline void run_loan_support_api_test(const bool valid_r_shm_qos, const bool valid_w_shm_qos)
-
inline void TearDown()
Public Members
-
iox::cxx::optional<iox::popo::Subscriber<T, iceoryx_header_t>> iceoryx_subscriber
Public Static Attributes
-
static constexpr char TOPIC_NAME[] = "datareader_test_topic"
-
using TopicType = T