All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Protected Attributes | List of all members
MBSimElectronics::Resistor Class Reference
Inheritance diagram for MBSimElectronics::Resistor:
MBSimElectronics::ElectronicLink MBSim::Link MBSimElectronics::ElectronicComponent MBSim::Element MBSim::ModellingInterface fmatvec::Atom

Public Member Functions

 Resistor (const std::string &name)
 
void updateh (double t, int j=0)
 
void setResistance (double R_)
 
double computeVoltage ()
 
- Public Member Functions inherited from MBSim::Element
virtual std::string getType () const
 
- Public Member Functions inherited from fmatvec::Atom
Atomoperator= (const Atom &)
 
void setMessageStreamActive (MsgType type, bool active)
 
void getMessageStream (MsgType type, boost::shared_ptr< bool > &a, boost::shared_ptr< std::ostream > &s)
 
void adoptMessageStreams (const Atom *src=NULL)
 
std::ostream & msg (MsgType type)
 
bool msgAct (MsgType type)
 
- Public Member Functions inherited from MBSimElectronics::ElectronicComponent
void addTerminal (Terminal *terminal)
 
void addTerminal (const std::string &str)
 
TerminalgetTerminal (const std::string &name, bool check=true)
 
void buildListOfTerminals (std::vector< Terminal * > &terminal)
 
void connect (Branch *branch_, double vz=0)
 
BranchgetBranch ()
 
void processModellList (std::vector< ModellingInterface * > &modellList, std::vector< MBSim::Object * > &objectList, std::vector< MBSim::Link * > &linkList)
 
double getvz () const
 
- Public Member Functions inherited from MBSim::ModellingInterface
virtual void init (Element::InitStage stage)=0
 
virtual void processModellList (std::vector< ModellingInterface * > &modellList, std::vector< MBSim::Object * > &objectList, std::vector< MBSim::Link * > &linkList)=0
 

Protected Attributes

double R
 
- Protected Attributes inherited from MBSimElectronics::ElectronicComponent
std::vector< Terminal * > terminal
 
Branchbranch
 
double vz
 
double Q
 
double I
 

Additional Inherited Members

- Public Types inherited from fmatvec::Atom
enum  MsgType
 
- Static Public Member Functions inherited from fmatvec::Atom
static void setCurrentMessageStream (MsgType type, const boost::shared_ptr< bool > &a=boost::make_shared< bool >(true), const boost::shared_ptr< std::ostream > &s=boost::make_shared< std::ostream >(std::cout.rdbuf()))
 
static std::ostream & msgStatic (MsgType type)
 
static bool msgActStatic (MsgType type)
 
- Protected Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 

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

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Valid HTML