Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (28 sloc) 1.06 kb
/* -----------------------------------------------------------------------------
BrainBay - Version 1.7, GPL 2003-2010
MODULE: OB_AND.H
Authors: Jeremy Wilkerson, Chris Veigl
This Object performs the AND-operation on it's two Input-Values and presents the
result at the output-port. FALSE it represented by the constant INVALID_VALUE, TRUE
is represented by the constand TRUE_VALUE (def: 512.0f )
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; See the
GNU General Public License for more details.
-------------------------------------------------------------------------------------*/
#include "brainBay.h"
class ANDOBJ : public BASE_CL
{
protected:
float input1, input2;
public:
int binary;
int output_one;
ANDOBJ(int num);
void make_dialog(void);
void load(HANDLE hFile);
void save(HANDLE hFile);
void incoming_data(int port, float value);
void work(void);
~ANDOBJ();
};
Jump to Line
Something went wrong with that request. Please try again.