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

Method notify

implementation/routing/src/event.cpp:313–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313void event::notify(bool _force) {
314
315 if (is_set_) {
316 set_session();
317 if (is_router_event_) {
318 dispatcher_.send_event(VSOMEIP_ROUTING_CLIENT, update_, _force);
319 } else {
320 for (client_t subscriber : get_filtered_subscribers(_force)) {
321 dispatcher_.send_event(subscriber, update_, _force);
322 }
323 }
324 } else {
325 VSOMEIP_INFO_P << "Notifying" << hex4(get_service()) << "." << hex4(get_instance()) << "." << hex4(get_event())
326 << " failed. Event payload not (yet) set!";
327 }
328}
329
330void event::notify_one(client_t _client, const std::shared_ptr<endpoint_definition>& _target) {
331

Callers

nothing calls this directly

Calls 2

hex4Function · 0.85
send_eventMethod · 0.45

Tested by

no test coverage detected