TopicStatistics constructor
TopicStatistics({})
Implementation
TopicStatistics({
String? topic,
String? node_pub,
String? node_sub,
RosTime? window_start,
RosTime? window_stop,
int? delivered_msgs,
int? dropped_msgs,
int? traffic,
RosTime? period_mean,
RosTime? period_stddev,
RosTime? period_max,
RosTime? stamp_age_mean,
RosTime? stamp_age_stddev,
RosTime? stamp_age_max,
}):
this.topic = topic ?? '',
this.node_pub = node_pub ?? '',
this.node_sub = node_sub ?? '',
this.window_start = window_start ?? RosTime(secs: 0, nsecs: 0),
this.window_stop = window_stop ?? RosTime(secs: 0, nsecs: 0),
this.delivered_msgs = delivered_msgs ?? 0,
this.dropped_msgs = dropped_msgs ?? 0,
this.traffic = traffic ?? 0,
this.period_mean = period_mean ?? RosTime(secs: 0, nsecs: 0),
this.period_stddev = period_stddev ?? RosTime(secs: 0, nsecs: 0),
this.period_max = period_max ?? RosTime(secs: 0, nsecs: 0),
this.stamp_age_mean = stamp_age_mean ?? RosTime(secs: 0, nsecs: 0),
this.stamp_age_stddev = stamp_age_stddev ?? RosTime(secs: 0, nsecs: 0),
this.stamp_age_max = stamp_age_max ?? RosTime(secs: 0, nsecs: 0);