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

BinaryAND.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_AND_H_
00018 #define _BINARY_AND_H_
00019 
00020 #include "BufferedNode.h"
00021 
00022 namespace FD {
00023 
00024 class BinaryAND : 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 public:
00037 
00038    BinaryAND(std::string nodeName, ParameterSet params);
00039 
00040    virtual ~BinaryAND();
00041 
00042    void calculate(int output_id, int count, Buffer &out);
00043 
00044 };
00045 
00046 
00047 }//namespace FD
00048 #endif //_BINARY_AND_H_

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