Struct rustdds::ros2::RosParticipant[][src]

pub struct RosParticipant { /* fields omitted */ }

RosParticipant sends and receives other participants information in ROS2 network

Implementations

impl RosParticipant[src]

pub fn new() -> Result<RosParticipant, Error>[src]

pub fn from_DomainParticipant(
    domain_participant: DomainParticipant
) -> Result<RosParticipant, Error>
[src]

pub fn new_RosNode(
    &self,
    name: &str,
    namespace: &str,
    options: NodeOptions
) -> Result<RosNode, Error>
[src]

Create a new ROS2 node

pub fn handle_node_read(&mut self) -> Vec<ROSParticipantInfo>[src]

pub fn clear(&mut self)[src]

Clears all nodes and updates our RosParticipantInfo to ROS2 network

pub fn domain_id(&self) -> u16[src]

pub fn get_discovered_topics(&self) -> Vec<DiscoveredTopicData>[src]

pub fn add_node_info(&mut self, node_info: NodeInfo)[src]

pub fn remove_node_info(&mut self, node_info: &NodeInfo)[src]

Trait Implementations

impl Clone for RosParticipant[src]

impl Evented for RosParticipant[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,