00001 #ifndef CCurent_i_HH 00002 #define CCurent_i_HH 00003 00004 #include <electro/CElement.hh> 00005 #include <vector> 00009 class CCurent_i : public CElementControl 00010 { 00011 public: 00022 CCurent_i(std::string name,float gm,std::string on,int x=0,int y=0,int rot=0) : CElementControl("CUR_I",name,gm,on,x,y,rot){ 00023 for(int i=0;i<2;i++) 00024 pins.push_back(new CPin()); 00025 m_valueSymbol="I"; 00026 } 00031 ~CCurent_i() {} 00032 void draw(); 00033 }; 00034 #endif