📄 cylinder.h
字号:
#ifndef CYCLINDER_H#define CYCLINDER_H//BEGIN Cylinder.h//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//See jalopy.h for more information//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#include <systemc.h>SC_MODULE(Cylinder) { // Constructor SC_CTOR(Cylinder) { cout << "INFO: Constructing instance " << name() << endl; SC_THREAD(Cylinder_thread); }//end Cylinder constructor // Processes void Cylinder_thread(void) { cout << "INFO: Ran Cylinder_thread inside instance " << name() << endl; }};#endif//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//END $Id: Cylinder.h,v 1.1 2004/01/12 03:34:15 dcblack Exp $
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -