pnlgnucapac.hpp

来自「gspiceui电子CAD仿真程序.用于电路参数模拟仿真」· HPP 代码 · 共 100 行

HPP
100
字号
//*****************************************************************************//                                PnlGnuCapAC.hpp                             *//                               -----------------                            *//  Description : This class derives from the Analysis Panel base class and   *//                provides a GUI for a user to configure a AC Analysis for    *//                GNU-Cap electronic circuit simulator.                       *//  Started     : 18/08/2003                                                  *//  Last Update : 14/07/2005                                                  *//  Copyright   : (C) 2003 by MSWaters                                        *//  Email       : M.Waters@bom.gov.au                                         *//*****************************************************************************//*****************************************************************************//                                                                            *//    This program is free software; you can redistribute it and/or modify    *//    it under the terms of the GNU General Public License as published by    *//    the Free Software Foundation; either version 2 of the License, or       *//    (at your option) any later version.                                     *//                                                                            *//*****************************************************************************#ifndef PNLGNUCAPAC_HPP#define PNLGNUCAPAC_HPP// System Includes// wxWindows Library Includes// Application Includes#include "PnlAnaBase.hpp"// Local Constant Declarations//*****************************************************************************class PnlGnuCapAC : public PnlAnaBase{  public:    // Enumerated type for specifying the step scale    enum  eScaleType    {      eSCALE_LIN,      eSCALE_LOG,      eSCALE_DEC,      eSCALE_OCT,      eSCALE_FST = eSCALE_LIN,      eSCALE_LST = eSCALE_OCT    };  private:    // Sweep scale specifier    wxRadioBox   m_oRbxScale;    void  Create( void );    bool  bSetScale( eScaleType eScale );  public:    PnlGnuCapAC( wxWindow * poWin );    ~PnlGnuCapAC( );    bool  bClear( void );    bool  bLoad  ( Simulation & roSim );    bool  bReload( Simulation & roSim );    bool  bSave  ( Simulation & roSim );    // Event handlers    void  OnScale  ( wxCommandEvent & roEvtCmd );    void  OnSrcCpnt( wxCommandEvent & roEvtCmd );    friend  class  NbkGnuCap;    // In order to be able to react to a menu command, it must be given a    // unique identifier such as a const or an enum.    enum ePnlItemID    {      ID_RBX_SCALE = PnlAnaBase::ID_LST+1,      ID_UNUSED,      // Assigned to controls for which events are not used      ID_FST = ID_RBX_SCALE,      ID_LST = ID_RBX_SCALE    };    // Leave this as the last line as private access is envoked by macro    DECLARE_EVENT_TABLE( )};//*****************************************************************************#endif // PNLGNUCAPAC_HPP

⌨️ 快捷键说明

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