Class: Roscpp::SetLoggerLevelResponse

Inherits:
ROS::Message
  • Object
show all
Defined in:
lib/roscpp/SetLoggerLevel.rb

Constant Summary collapse

@@struct_L =
::ROS::Struct.new("L")
@@slot_types =
[]

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ SetLoggerLevelResponse

Constructor. You can set the default values using keyword operators.

Parameters:

  • args (Hash) (defaults to: {})

    keyword for initializing values



130
131
# File 'lib/roscpp/SetLoggerLevel.rb', line 130

def initialize(args={})
end

Class Method Details

.md5sumObject



105
106
107
# File 'lib/roscpp/SetLoggerLevel.rb', line 105

def self.md5sum
  "d41d8cd98f00b204e9800998ecf8427e"
end

.typeObject



109
110
111
# File 'lib/roscpp/SetLoggerLevel.rb', line 109

def self.type
  "roscpp/SetLoggerLevelResponse"
end

Instance Method Details

#_get_typesString

internal API method

Returns:

  • (String)

    Message type string.



135
136
137
# File 'lib/roscpp/SetLoggerLevel.rb', line 135

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


152
153
154
155
156
157
158
159
160
# File 'lib/roscpp/SetLoggerLevel.rb', line 152

def deserialize(str)

  begin
    end_point = 0
    return self
  rescue => exception
    raise "message DeserializationError: #{exception}" #most likely buffer underfill
  end
end

#has_header?Boolean

Returns:

  • (Boolean)


113
114
115
# File 'lib/roscpp/SetLoggerLevel.rb', line 113

def has_header?
  false
end

#message_definitionObject



117
118
119
120
# File 'lib/roscpp/SetLoggerLevel.rb', line 117

def message_definition
  "
"
end

#serialize(buff) ⇒ Object

serialize message into buffer

Parameters:

  • buff (IO)

    buffer



141
142
143
144
145
146
147
148
# File 'lib/roscpp/SetLoggerLevel.rb', line 141

def serialize(buff)
  begin
    pass
  rescue => exception
    raise "some erro in serialize: #{exception}"

  end
end