control_t.h

来自「《无线通信系统仿真——c++使用模型》这本书的源代码」· C头文件 代码 · 共 28 行

H
28
字号
//
//  File = control_T.h
//

#ifndef _CONTROL_T_H_
#define _CONTROL_T_H_

#include "genctl.h"
#include <iostream>
#include <fstream>

template< class T >
class Control : public GenericControl
{
public:
  Control<T>( char* name, PracSimModel *model );
  Control<T>( char* name );
  ~Control<T>(void);
  T GetValue(void);
  void SetValue(T value);
//  void Dump(ofstream);
private:
  T Cntrl_Value;
  
};

#endif //_CONTROL_T_H_

⌨️ 快捷键说明

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