MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / write_message

Method write_message

tests/DCPS/TestFramework/TestFramework_T.cpp:98–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97template<typename Writer>
98int
99TestPublisher<Writer>::write_message(TestMessage& message)
100{
101 if (this->writer_i_->write(message, DDS::HANDLE_NIL) != DDS::RETCODE_OK) {
102 ACE_ERROR_RETURN((LM_ERROR,
103 ACE_TEXT("ERROR: %N:%l: test() -")
104 ACE_TEXT(" unable to write sample!\n")), -1);
105 }
106 return 0;
107}
108
109template<typename Writer>
110int

Callers 1

testMethod · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected