remotivelabs.topology.namespaces.filters
@dataclass(frozen=True)
class
Filter
def
filter_signals( self, _: remotivelabs.broker.SignalInfo, __: remotivelabs.broker.FrameInfo) -> bool:
Determine whether a signal matches the filter.
Match a single signal.
Attributes:
- signal_name: Name of the signal to match.
- include: Whether to include or exclude matches.
Inherited Members
Match all frames.
Attributes:
- include: Whether to include or exclude matches.
def
filter_signals( self, _: remotivelabs.broker.SignalInfo, __: remotivelabs.broker.FrameInfo) -> bool:
Determine whether a signal matches the filter.
Match a single frame.
Attributes:
- frame_name: Name of the frame to match.
- include: Whether to include or exclude matches.
def
filter_signals( self, _: remotivelabs.broker.SignalInfo, fi: remotivelabs.broker.FrameInfo) -> bool:
Determine whether a signal matches the filter.
Match all frames and signals received by ecu_name
.
Attributes:
- ecu_name: Name of the ECU that receives the frames or signals.
- include: Whether to include or exclude matches.
Match all frames and signals sent by ecu_name
.
Attributes:
- ecu_name: Name of the ECU that sends the frames or signals.
- include: Whether to include or exclude matches.
Match a SOME/IP request.
Attributes:
- service_instance_name: Name of the service to match. If omitted, all services are considered.
- method_name: Name of the method to match. If omitted, all methods are considered.
- include: Whether to include or exclude matches.
SomeIPRequestFilter( service_instance_name: str | None = None, method_name: str | None = None, include: bool = True)
Inherited Members
"Match a SOME/IP event."
Attributes:
- service_instance_name: Name of the service to match. If omitted, all services are considered.
- event_name: Name of the event to match. If omitted, all events are considered.
- include: Whether to include or exclude matches.
SomeIPEventFilter( service_instance_name: str | None = None, event_name: str | None = None, include: bool = True)