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