rtimessage.cpp

来自「一个非常好的人工智能开发工具开源软件」· C++ 代码 · 共 23 行

CPP
23
字号
/*** *** See the file "L2_RTI_EO1/disclaimers-and-notices-L2.txt" for  *** information on usage and redistribution of this file,  *** and for a DISCLAIMER OF ALL WARRANTIES. ***/#include <RTIMessage.hpp>/* The default assignment operator does the same thing, but this makes it * explicit. */const RTIMessage&RTIMessage::operator=(const RTIMessage& livingstoneMessage) {  if (this != &livingstoneMessage) {    d_opcode          = livingstoneMessage.d_opcode;    d_timeTag.seconds = livingstoneMessage.d_timeTag.seconds;    d_timeTag.nanosec = livingstoneMessage.d_timeTag.nanosec;    d_variableID      = livingstoneMessage.d_variableID;    d_valueIndex      = livingstoneMessage.d_valueIndex;  }  return *this;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?