MCPcopy Create free account
hub / github.com/COVESA/vsomeip / create_notification

Method create_notification

implementation/runtime/src/runtime_impl.cpp:90–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90std::shared_ptr<message> runtime_impl::create_notification(bool _reliable) const {
91 auto its_notification = std::make_shared<message_impl>();
92 its_notification->set_protocol_version(VSOMEIP_PROTOCOL_VERSION);
93 its_notification->set_message_type(message_type_e::MT_NOTIFICATION);
94 its_notification->set_return_code(return_code_e::E_OK);
95 its_notification->set_reliable(_reliable);
96 its_notification->set_interface_version(DEFAULT_MAJOR);
97 return its_notification;
98}
99
100std::shared_ptr<payload> runtime_impl::create_payload() const {
101 return std::make_shared<payload_impl>();

Callers 5

TEST_FFunction · 0.80
eventMethod · 0.80

Calls 5

set_protocol_versionMethod · 0.80
set_message_typeMethod · 0.80
set_return_codeMethod · 0.80
set_interface_versionMethod · 0.80
set_reliableMethod · 0.45

Tested by 1

TEST_FFunction · 0.64