| 59 | } |
| 60 | |
| 61 | void on_state(vsomeip::state_type_e _state) { |
| 62 | if (_state == vsomeip::state_type_e::ST_REGISTERED) { |
| 63 | app_->request_service(SAMPLE_SERVICE_ID, SAMPLE_INSTANCE_ID); |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | void on_availability(vsomeip::service_t _service, vsomeip::instance_t _instance, bool _is_available) { |
| 68 | std::cout << "Service [" << std::hex << std::setfill('0') << std::setw(4) << _service << "." << _instance << "] is " |
nothing calls this directly
no test coverage detected