www.gusucode.com > robotsimulink 工具箱 matlab源码程序 > robotsimulink/robotslros/+robotics/+slros/+internal/+sim/MsgInputStream.m

    classdef MsgInputStream < handle
    %This class is for internal use only. It may be removed in the future.
    
    %  MsgInputStream - An interface for a source of ROS messages
             
    %  Copyright 2014 The MathWorks, Inc.    
    
    properties (Abstract)
        Topic
        MessageType
    end
        

    methods (Abstract)
        [isNewMsg, msg] = getLatestMessage(obj)        
    end

end