src/tools/benchmark_tool/benchmark_tool/player/synced_player_frame_size.py
def _publish_track(self, track, frame):
        """
        Publish the given frame on the topic of the given track.

        @param track: The track related to the transmission
        @type  track: SyncedTrack
        @param frame: The data to be transmitted
        @type  frame: Can vary depending on the transmission
        @return: None
        """
        super(SyncedPlayerFrameSize, self)._publish_track(track, frame)

        if(track.track_index in self._tracksToBroadcastSize):
            size = self._compute_size(frame)
            publish_msg = Int64()
            publish_msg.data = int(size)
            self._sizePublisher.publish(publish_msg)

        Publish the given frame on the topic of the given track.

        @param track: The track related to the transmission
        @type  track: SyncedTrack
        @param frame: The data to be transmitted
        @type  frame: Can vary depending on the transmission
        @return: None
        
Publish the given frame on the topic of the given track.
Publish the given frame on the topic of the given track .
def _publish_track(self, track, frame):
        super(SyncedPlayerFrameSize, self)._publish_track(track, frame)
        if(track.track_index in self._tracksToBroadcastSize):
            size = self._compute_size(frame)
            publish_msg = Int64()
            publish_msg.data = int(size)
            self._sizePublisher.publish(publish_msg)
def _publish_track ( self , track , frame ) : super ( SyncedPlayerFrameSize , self ) . _publish_track ( track , frame ) if ( track . track_index in self . _tracksToBroadcastSize ) : size = self . _compute_size ( frame ) publish_msg = Int64 ( ) publish_msg . data = int ( size ) self . _sizePublisher . publish ( publish_msg )
Publish the given frame on the topic of the given track.
Publish the given frame on the topic of the given track .
"""
        Publish the given frame on the topic of the given track.

        @param track: The track related to the transmission
        @type  track: SyncedTrack
        @param frame: The data to be transmitted
        @type  frame: Can vary depending on the transmission
        @return: None
        """
None
self
track
The track related to the transmission
The track related to the transmission
frame
The data to be transmitted
The data to be transmitted