| 51 | void start() { app_->start(); } |
| 52 | |
| 53 | void stop() { |
| 54 | app_->clear_all_handler(); |
| 55 | app_->unsubscribe(SAMPLE_SERVICE_ID, SAMPLE_INSTANCE_ID, SAMPLE_EVENTGROUP_ID); |
| 56 | app_->release_event(SAMPLE_SERVICE_ID, SAMPLE_INSTANCE_ID, SAMPLE_EVENT_ID); |
| 57 | app_->release_service(SAMPLE_SERVICE_ID, SAMPLE_INSTANCE_ID); |
| 58 | app_->stop(); |
| 59 | } |
| 60 | |
| 61 | void on_state(vsomeip::state_type_e _state) { |
| 62 | if (_state == vsomeip::state_type_e::ST_REGISTERED) { |
no test coverage detected