Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (29 sloc) 1.071 kB
/* -----------------------------------------------------------------------------
BrainBay Version 1.7, GPL 2003-2010, contact: chris@shifz.org
MODULE: OB_COMPARE.H: declarations for the Comparator-Object
Author: Chris Veigl
This Object compares two inputs (if they are greater, less or equal)
If the condition is met, the output is copied from input port 1,
if not, the output is set to INVALID_VALUE
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 COMPAREOBJ : public BASE_CL
{
public:
float inputA;
float inputB;
int method;
int out_invalid;
float out_value ;
COMPAREOBJ(int num);
void make_dialog(void);
void load(HANDLE hFile);
void incoming_data(int port, float value);
void save(HANDLE hFile);
void work(void);
~COMPAREOBJ();
};
Jump to Line
Something went wrong with that request. Please try again.