00001
00002
00003 #ifndef INTFNODE_H
00004 #define INTFNODE_H
00005
00006 #include "Node.h"
00007 #include "Buffer.h"
00008
00009 namespace FD {
00010
00011 class IntfNode : public Node {
00012 int outputID;
00013 RCPtr<Buffer> buff;
00014 int lookAhead;
00015 int lookBack;
00016 public:
00017 IntfNode(std::string nodeName, const ParameterSet ¶ms);
00018 void initialize();
00019 void reset();
00020 ObjectRef getOutput(int output_id, int count);
00021
00022 void request(int outputID, const ParameterSet &req);
00023 void init();
00024 void setValue(int count, ObjectRef val);
00025
00026 int getLookAhead() {return lookAhead;}
00027 int getLookBack() {return lookBack;}
00028 };
00029
00030 }
00031
00032 #endif