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

Method offer

examples/notify-sample.cpp:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 void offer() {
87 std::scoped_lock its_lock(notify_mutex_);
88 app_->offer_service(SAMPLE_SERVICE_ID, SAMPLE_INSTANCE_ID);
89 is_offered_ = true;
90 notify_condition_.notify_one();
91 }
92
93 void stop_offer() {
94 app_->stop_offer_service(SAMPLE_SERVICE_ID, SAMPLE_INSTANCE_ID);

Callers

nothing calls this directly

Calls 2

offer_serviceMethod · 0.45
notify_oneMethod · 0.45

Tested by

no test coverage detected