module OroGen::TypekitMarshallers::ROS::TypeExtension
Public Instance Methods
call_from_ros(value_var, ros_var)
click to toggle source
Call to generate the C++ call required to convert this type from the corresponding ROS message.
@param [String] value_var the name of the C++ local variable representing the typegen type @param [String] ros_var the name of the C++ local variable representing the ROS message
# File lib/orogen/marshallers/ros.rb, line 504 def call_from_ros(value_var, ros_var) "fromROS(#{value_var}, #{ros_var})" end
call_to_ros(ros_var, value_var)
click to toggle source
Call to generate the C++ call required to convert this type into the corresponding ROS message.
@param [String] ros_var the name of the C++ local variable representing the ROS message @param [String] value_var the name of the C++ local variable representing the typegen type
# File lib/orogen/marshallers/ros.rb, line 493 def call_to_ros(ros_var, value_var) "toROS(#{ros_var}, #{value_var})" end