Class: Orocos::Async::ROS::NameService

Inherits:
Orocos::Async::RemoteNameService show all
Defined in:
lib/orocos/ros/async.rb

Overview

Async access for the ROS name service

Constant Summary

Constants included from Namespace

Namespace::DELIMATOR

Instance Attribute Summary

Attributes inherited from NameServiceBase

#task_context_proxies

Attributes included from ObjectBase::Periodic::ClassMethods

#default_period

Attributes inherited from ObjectBase

#emitting, #event_loop, #name, #options, #pending_adds

Instance Method Summary collapse

Methods inherited from Orocos::Async::RemoteNameService

#get, #name, #reconnect?, #unreachable!

Methods inherited from NameServiceBase

#on_task_added, #proxy, #really_add_listener, #remove_listener

Methods included from Namespace

#basename, #map_to_namespace, #namespace, #namespace=, #same_namespace?, #split_name, split_name, validate_namespace_name, #verify_same_namespace

Methods included from ObjectBase::Periodic

#default_period, #period, #period=

Methods inherited from ObjectBase

#add_listener, define_event, define_events, #disable_emitting, #event, event_names, #event_names, #invalidate_delegator!, #listener?, #listeners, #number_of_listeners, #on_event, #proxy_event, #reachable!, #reachable?, #really_add_listener, #remove_all_listeners, #remove_listener, #remove_proxy_event, #unreachable!, #valid_delegator?, valid_event?, #valid_event?, validate_event, #validate_event, #wait

Constructor Details

#initialize(uri = ENV['ROS_MASTER_URI'], caller_id = Orocos::ROS.caller_id, options = Hash.new) ⇒ NameService

Returns a new instance of NameService



6
7
8
9
# File 'lib/orocos/ros/async.rb', line 6

def initialize(uri = ENV['ROS_MASTER_URI'], caller_id = Orocos::ROS.caller_id, options = Hash.new)
    name_service = Orocos::ROS::NameService.new(uri, caller_id)
    super(name_service, options)
end