engine.h
来自「Kluwer.Academic.Pub.Systemc.From.The.Gro」· C头文件 代码 · 共 29 行
H
29 行
#ifndef Engine_H#define Engine_H//BEGIN Engine.h//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//See sedan.h for more information//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#include <systemc.h>#include "FuelMix.h"#include "Exhaust.h"#include "Cylinder.h"SC_MODULE(Engine) { // Sub-module instances FuelMix fuelmix_i; Exhaust exhaust_i; Cylinder cyl_i1; Cylinder cyl_i2; // Constructor SC_HAS_PROCESS(Engine); Engine(sc_module_name nm); // Processes void Engine_thread(void);};#endif//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//END $Id: Engine.h,v 1.4 2004/04/15 17:44:16 dcblack Exp $
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?