Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

CopyControlBlock.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // CopyControlBlock.h 00005 // 00006 // Version 1.0 00007 // Date 16.10.03 (Version 1.0) 00008 // Author A. Pasetti (P&P Software), R. Totaro 00009 // 00010 // Change Record: 00011 00012 #ifndef CopyControlBlockH 00013 #define CopyControlBlockH 00014 00015 #include "ControlBlock.h" 00016 00041 class CopyControlBlock : public ControlBlock { 00042 protected: 00051 TD_Float *u; 00052 00061 TD_Float *y; 00062 00070 virtual void setNumberOfInputs(unsigned int n); 00071 00079 virtual void setNumberOfOutputs(unsigned int n); 00080 00081 public: 00086 CopyControlBlock(void); 00087 00095 TD_Float getInput(unsigned int i) const; 00096 00104 TD_Float getOutput(unsigned int i) const; 00105 00113 void setInput(unsigned int i,TD_Float newValue); 00114 00125 void setOutput(unsigned int i,TD_Float newValue); 00126 00135 virtual void reset(void); 00136 }; 00137 #endif 00138 00139
Copyright 2003 P&P Software GmbH - All Rights Reserved