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 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 dds::sub::LoanedSamples<T> &samples, const std::vector<T> &test_data, const dds::sub::status::DataState &test_state = dds::sub::status::DataState(dds::sub::status::SampleState::not_read(), dds::sub::status::ViewState::new_view(), dds::sub::status::InstanceState::alive()))
-
inline void run_communication_test(const dds::sub::qos::DataReaderQos &r_qos, const dds::pub::qos::DataWriterQos &w_qos, const int32_t num_samples)
-
inline void run_loan_support_api_test(const bool valid_r_shm_qos, const bool valid_w_shm_qos)
-
inline void TearDown()
-
using TopicType = T