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

Method is_selective

implementation/routing/src/eventgroupinfo.cpp:411–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411bool eventgroupinfo::is_selective() const {
412 // Selective eventgroups always contain a single event
413 std::scoped_lock its_lock(events_mutex_);
414 if (events_.size() != 1)
415 return false;
416
417 return ((*events_.begin())->get_type() == event_type_e::ET_SELECTIVE_EVENT);
418}
419
420void eventgroupinfo::update_id() {
421 id_++;

Callers 2

subscribeMethod · 0.45
unsubscribeMethod · 0.45

Calls 3

beginMethod · 0.80
sizeMethod · 0.45
get_typeMethod · 0.45

Tested by

no test coverage detected