Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CBranch.hh

Go to the documentation of this file.
00001 #ifndef CBranch_HH
00002 #define CBranch_HH
00003 
00004 #include <electro/CSignal.hh>
00005 #include <electro/CElement.hh>
00006 
00007 
00008 #include <math/Complex.hh>
00009 #include <iostream>
00010 #include <vector>
00011 
00012 
00013 class CElement;
00020 class CBranch
00021 {
00022 public:
00027     CBranch(){signal=NULL;}
00032     ~CBranch(){
00033        if(signal) delete signal;
00034      }
00040     Complex getZ(double omega);
00046     Complex getU(double omega);
00052     Complex getI(double omega);
00057     void print_branch();
00063     bool isCurent();
00065     CSignal *signal;
00067     std::vector<CElement *> elements;
00069     unsigned int nr;    
00070 protected:
00071   int m_sign_u;
00072   int m_sign_i;
00073 };
00074 
00075 
00076 #endif
00077 

Generated on Sun Jan 16 11:05:56 2005 for RolLerCoaster by  doxygen 1.3.9.1