rtps_parser/rtps/
group.rs

1use super::{entity::RtpsEntity, types::Guid};
2
3pub struct RtpsGroup {
4    entity: RtpsEntity,
5}
6
7impl RtpsGroup {
8    pub fn new(guid: Guid) -> Self {
9        Self {
10            entity: RtpsEntity::new(guid),
11        }
12    }
13}
14
15impl RtpsGroup {
16    pub fn guid(&self) -> Guid {
17        self.entity.guid()
18    }
19}