message: rtt_roscomm: adding introspection ability
diff: @@ -161,6 +161,18 @@ namespace rtt_roscomm {
  return true;
  }
  + virtual bool isRemoteElement() const {
  + return true;
  + }
  +
  + virtual std::string getElementName() const {
  + return "RosPubChannelElement";
  + }
  +
  + virtual std::string getRemoteURI() const {
  + return ros_node.getNamespace() + topicname;
  + }
  +
  /**
  * Create a data sample, this could be used to allocate the necessary memory
  *
  @@ -267,6 +279,18 @@ namespace rtt_roscomm {
  return true;
  }
  + virtual bool isRemoteElement() const {
  + return true;
  + }
  +
  + virtual std::string getElementName() const {
  + return "RosSubChannelElement";
  + }
  +
  + virtual std::string getRemoteURI() const {
  + return ros_node.getNamespace() + topicname;
  + }
  +
  /**
  * Callback function for the ROS subscriber, it will trigger the ChannelElement's signal function
  *
  