NanoTekSpice
DigitalElectronics
Public Member Functions | List of all members
nts::IComponent Class Referenceabstract
Inheritance diagram for nts::IComponent:
Component::MyComponent C4001 C4008 C4011 C4030 C4069 C4071 C4081 C4514 Circuit Clock False Input Output True

Public Member Functions

virtual void createAllComponents (const std::vector< Component::ComponentSetting > &settings)=0
 
virtual nts::Tristate compute (std::size_t pin=1)=0
 
virtual void setLink (std::size_t pin, nts::IComponent &other, std::size_t otherPin)=0
 
virtual void dump () const noexcept=0
 
virtual void displayState (std::size_t pin) const noexcept=0
 
virtual void setInput (std::size_t pin, nts::IComponent &other, std::size_t otherPin)=0
 
virtual void setOutput (std::size_t pin, nts::IComponent &other, std::size_t otherPin)=0
 
virtual void setState (const std::string &name, const std::string &state)=0
 
virtual void setState (const std::string &state)=0
 
virtual void setName (const std::string &name) noexcept=0
 
virtual const std::string & getName () const noexcept=0
 
virtual const Type & getType () const noexcept=0
 

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