NGSPICE class minor cleanup
This commit is contained in:
parent
8fdb9e8307
commit
38042ac9e0
|
@ -193,12 +193,6 @@ main()
|
|||
#endif
|
||||
|
||||
|
||||
|
||||
string NGSPICE::GetConsole() const {
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
int NGSPICE::cbSendChar( char* what, int id, void* user )
|
||||
{
|
||||
NGSPICE* sim = reinterpret_cast<NGSPICE*>( user );
|
||||
|
|
|
@ -36,16 +36,11 @@ public:
|
|||
NGSPICE();
|
||||
virtual ~NGSPICE();
|
||||
|
||||
void Init();
|
||||
bool LoadNetlist( const std::string& aNetlist );
|
||||
bool Run();
|
||||
bool Command( const std::string& aCmd );
|
||||
|
||||
std::string GetConsole() const;
|
||||
|
||||
const std::vector<double> GetPlot( const std::string& aName, int aMaxLen = -1 );
|
||||
|
||||
void dump();
|
||||
void Init() override;
|
||||
bool LoadNetlist( const std::string& aNetlist ) override;
|
||||
bool Run() override;
|
||||
bool Command( const std::string& aCmd ) override;
|
||||
const std::vector<double> GetPlot( const std::string& aName, int aMaxLen = -1 ) override;
|
||||
|
||||
private:
|
||||
typedef void (*ngSpice_Init)( SendChar*, SendStat*, ControlledExit*,
|
||||
|
@ -69,6 +64,8 @@ private:
|
|||
|
||||
static int cbSendChar( char* what, int id, void* user );
|
||||
static int cbSendStat( char* what, int id, void* user );
|
||||
|
||||
void dump();
|
||||
};
|
||||
|
||||
#endif /* NGSPICE_H */
|
||||
|
|
Loading…
Reference in New Issue