Define a (single) required event for Ros2Handler
This commit is contained in:
parent
e374419665
commit
6412798a47
1 changed files with 7 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
"""Module for trace events processor and ROS model creation."""
|
||||
|
||||
from typing import Dict
|
||||
from typing import Set
|
||||
|
||||
from tracetools_read import get_field
|
||||
|
||||
|
@ -76,6 +77,12 @@ class Ros2Handler(EventHandler):
|
|||
# Temporary buffers
|
||||
self._callback_instances = {}
|
||||
|
||||
@staticmethod
|
||||
def required_events() -> Set[str]:
|
||||
return {
|
||||
'ros2:rcl_init',
|
||||
}
|
||||
|
||||
@property
|
||||
def data(self) -> Ros2DataModel:
|
||||
return self._data_model
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue