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

BinaryOR.h

00001 /* Copyright (C) 2003 Victor Bao Long Tran(v.tran@usherbrooke.ca)
00002 
00003    This library is free software; you can redistribute it and/or
00004    modify it under the terms of the GNU Lesser General Public
00005    License as published by the Free Software Foundation; either
00006    version 2.1 of the License, or (at your option) any later version.
00007 
00008    This library is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011    Lesser General Public License for more details.
00012 
00013    You should have received a copy of the GNU Lesser General Public
00014    License along with this library; if not, write to the Free Software
00015    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00016 */
00017 #ifndef _BINARY_OR_H_
00018 #define _BINARY_OR_H_
00019 
00020 #include "BufferedNode.h"
00021 
00022 namespace FD {
00023 
00024 class BinaryOR : public BufferedNode
00025 {
00026 protected:
00027    //inputs
00028    int m_maskInID;
00029    int m_InputID;
00030 
00031    //outputs
00032    int m_outputID;
00033 
00034    //parameters
00035 
00036    //variables
00037 
00038 public:
00039 
00040    BinaryOR(std::string nodeName, ParameterSet params);
00041 
00042    virtual ~BinaryOR();
00043 
00044    void calculate(int output_id, int count, Buffer &out);
00045 
00046 };
00047 
00048 
00049 }//namespace FD
00050 
00051 #endif //_BINARY_OR_H_

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