internal RosTopicState(string topic, string rosMessageName, ROSConnection connection, ROSConnection.InternalAPI connectionInternal, MessageSubtopic subtopic = MessageSubtopic.Default)
 {
     m_Topic              = topic;
     m_Subtopic           = subtopic;
     m_RosMessageName     = rosMessageName;
     m_Connection         = connection;
     m_ConnectionInternal = connectionInternal;
 }
Beispiel #2
0
 internal RosTopicState(string topic, string rosMessageName, ROSConnection connection, ROSConnection.InternalAPI connectionInternal, bool isService, MessageSubtopic subtopic = MessageSubtopic.Default)
 {
     m_Topic              = topic;
     m_Subtopic           = subtopic;
     m_RosMessageName     = rosMessageName;
     m_Connection         = connection;
     m_ConnectionInternal = connectionInternal;
     if (isService && subtopic == MessageSubtopic.Default)
     {
         m_ServiceResponseTopic = new RosTopicState(topic, rosMessageName, m_Connection, m_ConnectionInternal, isService, MessageSubtopic.Response);
     }
 }