Public Member Functions | Static Public Attributes | Private Attributes | List of all members
rosbridge_library.capabilities.publish.Publish Class Reference
Inheritance diagram for rosbridge_library.capabilities.publish.Publish:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, protocol)
 
def finish (self)
 
def publish (self, message)
 
- Public Member Functions inherited from rosbridge_library.capability.Capability
def basic_type_check (self, msg, types_info)
 
def handle_message (self, message)
 

Static Public Attributes

list publish_msg_fields = [(True, "topic", string_types)]
 
 topics_glob = None
 

Private Attributes

 _published
 

Additional Inherited Members

- Public Attributes inherited from rosbridge_library.capability.Capability
 protocol
 

Detailed Description

Definition at line 40 of file publish.py.

Constructor & Destructor Documentation

◆ __init__()

def rosbridge_library.capabilities.publish.Publish.__init__ (   self,
  protocol 
)
Abstract class constructor.  All capabilities require a handle to
the containing protocol.

Keyword arguments:
protocol -- the protocol instance for this capability instance

Reimplemented from rosbridge_library.capability.Capability.

Definition at line 46 of file publish.py.

Member Function Documentation

◆ finish()

def rosbridge_library.capabilities.publish.Publish.finish (   self)
Notify this capability that the client is finished and that it's
time to free up resources. 

Reimplemented from rosbridge_library.capability.Capability.

Definition at line 91 of file publish.py.

◆ publish()

def rosbridge_library.capabilities.publish.Publish.publish (   self,
  message 
)

Definition at line 59 of file publish.py.

Member Data Documentation

◆ _published

rosbridge_library.capabilities.publish.Publish._published
private

Definition at line 54 of file publish.py.

◆ publish_msg_fields

list rosbridge_library.capabilities.publish.Publish.publish_msg_fields = [(True, "topic", string_types)]
static

Definition at line 42 of file publish.py.

◆ topics_glob

rosbridge_library.capabilities.publish.Publish.topics_glob = None
static

Definition at line 44 of file publish.py.


The documentation for this class was generated from the following file:


rosbridge_library
Author(s): Jonathan Mace
autogenerated on Tue Oct 3 2023 02:12:45