Source: data-flow/include/Pack.h


Annotated List
Files
Globals
Hierarchy
Index
// Copyright (C) 1999 Jean-Marc Valin

#ifndef PACK_H
#define PACK_H

#include "Node.h"
#include "ObjectRef.h"

class Pack : public Node {

protected:
   
   /**The ID of the 'output' output*/
   int outputID;

   /**The ID of the 'stream' input*/
   int inputID;

   /**Reference to the output*/
   ObjectRef output;

   int processCount;

public:
   /**Constructor, takes the name of the node and a set of parameters*/
   Pack(string nodeName, ParameterSet params);

   /**Class specific initialization routine.
      Each class will call its superclass initialize() method*/
   virtual void initialize();

   /**Class reset routine.
      Each class will call its superclass reset() method*/
   virtual void reset();

   /**Ask for the node's output which ID (number) is output_id 
      and for the 'count' iteration */
   virtual ObjectRef getOutput(int output_id, int count); 

protected:
   /**Default constructor, should not be used*/
   Pack() {throw new GeneralException("Pack copy constructor should not be called",__FILE__,__LINE__);}

};

#endif

Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:36 2002, using kdoc 2.0a40.