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

Constant.h

00001 // Copyright (C) 1999 Jean-Marc Valin & Dominic Letourneau
00002 
00003 #ifndef _CONSTANT_NODE_H_
00004 #define _CONSTANT_NODE_H_
00005 #include "Node.h"
00006 
00007 namespace FD {
00008 
00010 class Constant : public Node
00011 {
00012 
00013 protected:
00014 
00016    ObjectRef value;
00017 
00019    int outputID;
00020 public:
00021 
00023    Constant(std::string nodeName, ParameterSet params);
00024 
00027    virtual void initialize();
00028 
00031    virtual void reset();
00032 
00035    virtual ObjectRef getOutput(int output_id, int count); 
00036 
00037 protected:
00039    Constant() {throw new GeneralException("Constant copy constructor should not be called",__FILE__,__LINE__);}
00040 
00041 };
00042 
00043 }//namespace FD
00044 #endif

Generated on Wed Oct 5 14:28:55 2005 for FlowDesigner by  doxygen 1.4.4