Class: Roscpp::GetLoggersRequest
- Inherits:
-
ROS::Message
- Object
- ROS::Message
- Roscpp::GetLoggersRequest
- Defined in:
- lib/roscpp/GetLoggers.rb
Constant Summary collapse
- @@struct_L =
::ROS::Struct.new("L")
- @@slot_types =
[]
Class Method Summary collapse
Instance Method Summary collapse
-
#_get_types ⇒ String
internal API method.
-
#deserialize(str) ⇒ Object
unpack serialized message in str into this message instance @param [String] str: byte array of serialized message.
- #has_header? ⇒ Boolean
-
#initialize(args = {}) ⇒ GetLoggersRequest
constructor
Constructor.
- #message_definition ⇒ Object
-
#serialize(buff) ⇒ Object
serialize message into buffer.
Constructor Details
#initialize(args = {}) ⇒ GetLoggersRequest
Constructor. You can set the default values using keyword operators.
33 34 |
# File 'lib/roscpp/GetLoggers.rb', line 33 def initialize(args={}) end |
Class Method Details
.md5sum ⇒ Object
8 9 10 |
# File 'lib/roscpp/GetLoggers.rb', line 8 def self.md5sum "d41d8cd98f00b204e9800998ecf8427e" end |
.type ⇒ Object
12 13 14 |
# File 'lib/roscpp/GetLoggers.rb', line 12 def self.type "roscpp/GetLoggersRequest" end |
Instance Method Details
#_get_types ⇒ String
internal API method
38 39 40 |
# File 'lib/roscpp/GetLoggers.rb', line 38 def _get_types @slot_types end |
#deserialize(str) ⇒ Object
unpack serialized message in str into this message instance
@param [String] str: byte array of serialized message
55 56 57 58 59 60 61 62 63 |
# File 'lib/roscpp/GetLoggers.rb', line 55 def deserialize(str) begin end_point = 0 return self rescue => exception raise "message DeserializationError: #{exception}" #most likely buffer underfill end end |
#has_header? ⇒ Boolean
16 17 18 |
# File 'lib/roscpp/GetLoggers.rb', line 16 def has_header? false end |
#message_definition ⇒ Object
20 21 22 23 |
# File 'lib/roscpp/GetLoggers.rb', line 20 def " " end |
#serialize(buff) ⇒ Object
serialize message into buffer
44 45 46 47 48 49 50 51 |
# File 'lib/roscpp/GetLoggers.rb', line 44 def serialize(buff) begin pass rescue => exception raise "some erro in serialize: #{exception}" end end |