| 1224 | } |
| 1225 | |
| 1226 | void application_impl::offer_event(service_t _service, instance_t _instance, event_t _notifier, const std::set<eventgroup_t>& _eventgroups, |
| 1227 | event_type_e _type, std::chrono::milliseconds _cycle, bool _change_resets_cycle, bool _update_on_change, |
| 1228 | const epsilon_change_func_t& _epsilon_change_func, reliability_type_e _reliability) { |
| 1229 | if (routing_) { |
| 1230 | |
| 1231 | if (_cycle == std::chrono::milliseconds::zero() && _change_resets_cycle == false && _update_on_change == true) { |
| 1232 | |
| 1233 | configuration_->get_event_update_properties(_service, _instance, _notifier, _cycle, _change_resets_cycle, _update_on_change); |
| 1234 | |
| 1235 | VSOMEIP_INFO_P << "Event [" << hex4(_service) << "." << hex4(_instance) << "." << hex4(_notifier) |
| 1236 | << "] uses configured cycle time " << _cycle.count() << "ms"; |
| 1237 | } |
| 1238 | |
| 1239 | routing_->register_event(client_, _service, _instance, _notifier, _eventgroups, _type, _reliability, _cycle, _change_resets_cycle, |
| 1240 | _update_on_change, _epsilon_change_func, true); |
| 1241 | } |
| 1242 | } |
| 1243 | |
| 1244 | void application_impl::stop_offer_event(service_t _service, instance_t _instance, event_t _event) { |
| 1245 | if (routing_) |
no test coverage detected