public static void read(actionlib_msgs.msg.GoalID data, Halodi.CDR.CDRDeserializer cdr) { data.stamp = builtin_interfaces.msg.TimePubSubType.Create(); builtin_interfaces.msg.TimePubSubType.read(data.stamp, cdr); data.id = cdr.read_type_d(); }
public override void deserialize(MemoryStream stream, actionlib_msgs.msg.GoalID data) { using (BinaryReader reader = new BinaryReader(stream)) { Halodi.CDR.CDRDeserializer cdr = new Halodi.CDR.CDRDeserializer(reader); read(data, cdr); } }
public override void serialize(actionlib_msgs.msg.GoalID data, MemoryStream stream) { using (BinaryWriter writer = new BinaryWriter(stream)) { Halodi.CDR.CDRSerializer cdr = new Halodi.CDR.CDRSerializer(writer); write(data, cdr); } }
public static int getCdrSerializedSize(actionlib_msgs.msg.GoalID data, int current_alignment) { int initial_alignment = current_alignment; current_alignment += builtin_interfaces.msg.TimePubSubType.getCdrSerializedSize(data.stamp, current_alignment); current_alignment += 4 + Halodi.CDR.CDRCommon.alignment(current_alignment, 4) + data.id.Length + 1; return(current_alignment - initial_alignment); }
public static void Copy(actionlib_msgs.msg.GoalID src, actionlib_msgs.msg.GoalID target) { target.Set(src); }
public static void write(actionlib_msgs.msg.GoalID data, Halodi.CDR.CDRSerializer cdr) { builtin_interfaces.msg.TimePubSubType.write(data.stamp, cdr); cdr.write_type_d(data.id); }
public static int getCdrSerializedSize(actionlib_msgs.msg.GoalID data) { return(getCdrSerializedSize(data, 0)); }