📄 body.cpp
字号:
//BEGIN Body.cpp//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//See convertible.h for more information//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#include "Body.h"// ConstructorBody::Body(sc_module_name nm): sc_module(nm){ cout << "INFO: Constructing instance " << name() << endl; // Processes SC_THREAD(Body_thread); // Instances Wheel_FL = new Wheel("Wheel_FL"); Wheel_FR = new Wheel("Wheel_FR"); Wheel_RL = new Wheel("Wheel_RL"); Wheel_RR = new Wheel("Wheel_RR");}//end Body_thread()void Body::Body_thread(void) { cout << "INFO: Ran Body_thread inside instance " << name() << endl;}//end Body_thread()//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//END $Id: Body.cpp,v 1.4 2004/03/04 21:04:07 dcblack Exp $
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -