grepros 1.2.2
grep for ROS bag files and live topics
Loading...
Searching...
No Matches
ConditionMixin.Message Class Reference

Object for current topic message in condition expressions. More...

Public Member Functions

 __init__ (self, msg)
 
 __contains__ (self, item)
 Returns whether value exists in any message field.
 
 __getattr__ (self, name)
 Returns attribute value of message.
 

Detailed Description

Object for current topic message in condition expressions.

  • value in msg -> whether any message field contains value
  • msg.x -> attribute x of message

Definition at line 339 of file inputs.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ (   self,
  msg 
)

Definition at line 341 of file inputs.py.

Member Function Documentation

◆ __contains__()

__contains__ (   self,
  item 
)

Returns whether value exists in any message field.

Definition at line 345 of file inputs.py.

◆ __getattr__()

__getattr__ (   self,
  name 
)

Returns attribute value of message.

Definition at line 354 of file inputs.py.


The documentation for this class was generated from the following file: