Simple Nano Circuit 0.0.2
BaseElectronObject Class Referenceabstract
Inheritance diagram for BaseElectronObject:
BaseIcObject FootPinNode WireObject CapacitorObject GroundObject InductorObject NpnObject PnpObject PowerACObject PowerDCObject ResistorObject

Public Types

enum class  RendererEffective { Valid = 1 , Invalid }
 

Public Member Functions

 BaseElectronObject (AsgardClass *)
 
virtual const ICType getType () const =0
 
virtual void Drawing ()=0
 
virtual void Drawing (BaseElectronObject::RendererEffective)=0
 
virtual BaseElectronObjectprocessClickEvent (SDL_Point &)=0
 
virtual void processKeyEvent (int)=0
 
virtual BaseElectronObjectdeepDuplicateSelf ()=0
 
virtual SDL_Rect getLocationRect ()=0
 
virtual const char * popupWindowName () const =0
 
virtual bool havePopupWindow ()=0
 
virtual void CreateImGuiForm ()=0
 
virtual void saveToFile (std::ofstream &)=0
 
virtual void processMouseMotion (const SDL_Point &)=0
 

Public Attributes

const int moveMinStepLength = MIN_STEP_LENGTH
 
AsgardClassasgard = nullptr
 

Member Function Documentation

◆ processClickEvent()

virtual BaseElectronObject * BaseElectronObject::processClickEvent ( SDL_Point &  )
pure virtual

Implemented in WireObject.


The documentation for this class was generated from the following files: