| 77 | } |
| 78 | |
| 79 | bool register_events_command::get_registration_at(std::size_t _position, register_event& _reg) const { |
| 80 | |
| 81 | if (_position < registrations_.size()) { |
| 82 | _reg = registrations_[_position]; |
| 83 | return true; |
| 84 | } |
| 85 | return false; |
| 86 | } |
| 87 | |
| 88 | } // namespace protocol |
| 89 | } // namespace vsomeip_v3 |