| 82 | } |
| 83 | |
| 84 | void on_state(vsomeip::state_type_e _state) { |
| 85 | if (_state == vsomeip::state_type_e::ST_REGISTERED) { |
| 86 | app_->request_service(SAMPLE_SERVICE_ID, SAMPLE_INSTANCE_ID); |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | void on_availability(vsomeip::service_t _service, vsomeip::instance_t _instance, bool _is_available) { |
| 91 | std::cout << "Service [" << std::hex << std::setfill('0') << std::setw(4) << _service << "." << _instance << "] is " |
nothing calls this directly
no test coverage detected