Esempio n. 1
0
void KEYCAPTUREOBJ::save(HANDLE hFile) 
{
	save_object_basics(hFile, this);
	save_property(hFile,"mode",P_INT,&mode);
    save_property(hFile,"findcode",P_INT,&findcode);
    save_property(hFile,"replacecode",P_INT,&replacecode);
}
Esempio n. 2
0
	  void NEUROBITOBJ::save(HANDLE hFile) 
	  {	   
		  save_object_basics(hFile, this);
		  save_property(hFile,"test",P_INT,&test);
		  save_property(hFile,"device",P_STRING,device);
		  save_devctx();
	  }
Esempio n. 3
0
void MCIOBJ::save(HANDLE hFile) 
{	
		WINDOWPLACEMENT  wndpl;

		if (m_video)
		{
			GetWindowPlacement(m_video, &wndpl);
			left=wndpl.rcNormalPosition.left;
			right=wndpl.rcNormalPosition.right;
			top=wndpl.rcNormalPosition.top;
			bottom=wndpl.rcNormalPosition.bottom;
		}
		

		save_object_basics(hFile,this);
		save_property(hFile,"mci-file",P_STRING,mcifile);
		save_property(hFile,"wnd-top",P_INT,&top);
		save_property(hFile,"wnd-bottom",P_INT,&bottom);
		save_property(hFile,"wnd-left",P_INT,&left);
		save_property(hFile,"wnd-right",P_INT,&right);
		save_property(hFile,"upd_speed",P_INT,&upd_speed);
		save_property(hFile,"pos_center",P_INT,&pos_center);
   	    save_property(hFile,"play_once",P_INT,&play_once);


}
Esempio n. 4
0
void SAMPLE_HOLDOBJ::save(HANDLE hFile) 
{
	save_object_basics(hFile, this);
    save_property(hFile,"hold",P_FLOAT,&hold);
	save_property(hFile,"trigmode",P_INT,&mode);
	save_property(hFile,"resetvalue",P_FLOAT,&resetvalue);
}
Esempio n. 5
0
void INTEGRATEOBJ::save(HANDLE hFile) 
{
	save_object_basics(hFile, this);
    save_property(hFile,"ivalue",P_INT,&i_value);
	save_property(hFile,"imin",P_FLOAT,&min);
	save_property(hFile,"imax",P_FLOAT,&max);
}
Esempio n. 6
0
	  void FILE_READEROBJ::save(HANDLE hFile) 
	  {
		  save_object_basics(hFile, this);
		  save_property(hFile,"filename",P_STRING,&filename);
		  save_property(hFile,"format",P_INT,&format);
		  save_property(hFile,"outports",P_INT,&outports);
	  }
Esempio n. 7
0
	  void THRESHOLDOBJ::save(HANDLE hFile) 
	  {	  
		  float temp;
	 	  save_object_basics(hFile, this);
		  save_property(hFile,"play_interval",P_INT,&play_interval);
		  save_property(hFile,"interval_len",P_INT,&interval_len);
		  save_property(hFile,"gain",P_INT,&signal_gain);
		  save_property(hFile,"from-input",P_FLOAT,&from_input);
		  save_property(hFile,"to-input",P_FLOAT,&to_input);
		  save_property(hFile,"and/or",P_INT,&op);
		  save_property(hFile,"show-meter",P_INT,&showmeter);
		  save_property(hFile,"only-rising",P_INT,&rising);
		  save_property(hFile,"only-falling",P_INT,&falling);
		  save_property(hFile,"usemedian",P_INT,&usemedian);
		  save_property(hFile,"baseline",P_INT,&baseline);
		  temp=(float)color;
		  save_property(hFile,"color",P_FLOAT,&temp);
		  temp=(float)bkcolor;
		  save_property(hFile,"bkcol",P_FLOAT,&temp);
		  temp=(float)fontcolor;
		  save_property(hFile,"fontcol",P_FLOAT,&temp);
		  temp=(float)fontbkcolor;
		  save_property(hFile,"fontbkcol",P_FLOAT,&temp);
		  save_property(hFile,"top",P_INT,&top);
		  save_property(hFile,"left",P_INT,&left);
		  save_property(hFile,"right",P_INT,&right);
		  save_property(hFile,"bottom",P_INT,&bottom);
		  save_property(hFile,"bigadapt",P_INT,&bigadapt);
		  save_property(hFile,"smalladapt",P_INT,&smalladapt);
		  save_property(hFile,"adaptinterval",P_INT,&adapt_interval);
		  save_property(hFile,"barsize",P_INT,&barsize);
		  save_property(hFile,"fontsize",P_INT,&fontsize);
		  save_property(hFile,"wndcaption",P_STRING,wndcaption);
	  }
Esempio n. 8
0
void COM_WRITEROBJ::save(HANDLE hFile) 
{
	save_object_basics(hFile, this);
	save_property(hFile,"command",P_INT,&command);
	save_property(hFile,"data1",P_INT,&data1);
	save_property(hFile,"data2",P_INT,&data2);
	save_property(hFile,"trigger",P_INT,&en_trigger);
}
Esempio n. 9
0
	  void DOKUOBJ::save(HANDLE hFile) 
	  {	  
		  save_object_basics(hFile, this);
		  remove_nl();
		  save_property(hFile,"text",P_STRING,text);
		  apply_nl();

	  }
Esempio n. 10
0
void MIXER4OBJ::save(HANDLE hFile) 
{
	save_object_basics(hFile, this);
    save_property(hFile,"chn1vol",P_FLOAT,&chn1vol);
    save_property(hFile,"chn2vol",P_FLOAT,&chn2vol);
    save_property(hFile,"chn3vol",P_FLOAT,&chn3vol);
    save_property(hFile,"chn4vol",P_FLOAT,&chn4vol);
	save_property(hFile,"invmode",P_INT,&invmode);
}
Esempio n. 11
0
	  void MAGNITUDEOBJ::save(HANDLE hFile) 
	  {	  
		  save_object_basics(hFile, this);
		  save_property(hFile,"type",P_INT,&filtertype);
		  save_property(hFile,"order",P_INT,&order);
		  save_property(hFile,"center",P_FLOAT,&center);
		  save_property(hFile,"width",P_FLOAT,&wid);
		  save_property(hFile,"gain",P_INT,&gain);

	  }
Esempio n. 12
0
void PORTOBJ::save(HANDLE hFile) 
{
	save_object_basics(hFile, this);
	save_property(hFile,"triggermode",P_INT,&triggermode);
	save_property(hFile,"val0",P_INT,&val0);
	save_property(hFile,"val1",P_INT,&val1);
	save_property(hFile,"portaddress",P_INT,&portaddress);
	save_property(hFile,"portval",P_INT,&portval);
	
}
Esempio n. 13
0
void AVIOBJ::save(HANDLE hFile)
{
    save_object_basics(hFile,this);
    save_property(hFile,"avi-file",P_STRING,avifile);
    save_property(hFile,"wnd-top",P_INT,&top);
    save_property(hFile,"wnd-bottom",P_INT,&bottom);
    save_property(hFile,"wnd-left",P_INT,&left);
    save_property(hFile,"wnd-right",P_INT,&right);

}
Esempio n. 14
0
	  void SIGNALOBJ::save(HANDLE hFile) 
	  {	   
		  save_object_basics(hFile, this);
		  save_property(hFile,"frequency",P_FLOAT,&frequency);
		  save_property(hFile,"center",P_FLOAT,&center);
		  save_property(hFile,"gain",P_FLOAT,&gain);
		  save_property(hFile,"phase",P_FLOAT,&phase);
		  save_property(hFile,"noise",P_INT,&noise);
		  save_property(hFile,"type",P_INT,&sigtype);
		  save_property(hFile,"enable_in",P_INT,&enable_in);
	  }
Esempio n. 15
0
	  void FILTEROBJ::save(HANDLE hFile) 
	  {	  
		  save_object_basics(hFile, this);
	  	  save_property(hFile,"name",P_STRING,name);
		  save_property(hFile,"type",P_INT,&filtertype);
		  save_property(hFile,"display-from",P_INT,&dispfrom);
		  save_property(hFile,"display-to",P_INT,&dispto);
		  save_property(hFile,"order",P_INT,&par0);
		  save_property(hFile,"par1",P_FLOAT,&par1);
		  save_property(hFile,"par2",P_FLOAT,&par2);

	  }
Esempio n. 16
0
	  void BALLGAMEOBJ::save(HANDLE hFile) 
	  {	  
	 	  save_object_basics(hFile, this);
		  save_property(hFile,"speed",P_INT,&speed);
		  save_property(hFile,"racket",P_INT,&racket);
		  save_property(hFile,"best",P_INT,&best);
		  save_property(hFile,"middle",P_INT,&reset_middle);
  		  save_property(hFile,"top",P_INT,&top);
		  save_property(hFile,"left",P_INT,&left);
		  save_property(hFile,"right",P_INT,&right);
		  save_property(hFile,"bottom",P_INT,&bottom);

	  }
Esempio n. 17
0
void ARRAY3600OBJ::save(HANDLE hFile) 
{
	save_object_basics(hFile, this);
    save_property(hFile,"comport",P_INT,&comport);
	save_property(hFile,"baudrate",P_INT,&baudrate);
	save_property(hFile,"connected",P_INT,&connected);
	save_property(hFile,"periodic",P_INT,&periodic);
	save_property(hFile,"period",P_INT,&period);
	save_property(hFile,"maxvoltage",P_INT,&maxvoltage);
	save_property(hFile,"maxcurrent",P_INT,&maxcurrent);
	save_property(hFile,"maxpower",P_INT,&maxpower);
	save_property(hFile,"address",P_INT,&address);
	save_property(hFile,"voltage",P_INT,&voltage);
}
Esempio n. 18
0
void KEYSTRIKEOBJ::save(HANDLE hFile) 
{
	int i;
	char sztemp[50];

	save_object_basics(hFile, this);
    save_property(hFile,"numkeys",P_INT,&numkeys);
	for (i=0;i<numkeys;i++)
	{
		wsprintf(sztemp,"key%d:",i+1);
		save_property(hFile,sztemp,P_STRING,keylist[i]);
	}

    
}
Esempio n. 19
0
void TRANSLATEOBJ::save(HANDLE hFile) 
{	
	int t;
	char sztemp[20];

	save_object_basics(hFile, this);
  
  	save_property(hFile,"points",P_INT,&points);
	for (t=0;t<points;t++)
	{
		wsprintf(sztemp,"pointx%d",t);
		save_property(hFile,sztemp,P_INT,&pointx[t]);
		wsprintf(sztemp,"pointy%d",t);
		save_property(hFile,sztemp,P_FLOAT,&pointy[t]);
	}
}
Esempio n. 20
0
	  void SPELLEROBJ::save(HANDLE hFile) 
	  {	  
	 	  save_object_basics(hFile, this);
  		  save_property(hFile,"top",P_INT,&top);
		  save_property(hFile,"left",P_INT,&left);
		  save_property(hFile,"right",P_INT,&right);
		  save_property(hFile,"bottom",P_INT,&bottom);
		  save_property(hFile,"speed",P_INT,&speed);
		  save_property(hFile,"press",P_INT,&press);
		  save_property(hFile,"idle",P_INT,&idle);
		  save_property(hFile,"mode",P_INT,&mode);
		  save_property(hFile,"selections",P_INT,&selections);
		  save_property(hFile,"wordfile",P_STRING,wordfile);
		  save_property(hFile,"dictfile",P_STRING,dictfile);
		  save_property(hFile,"autolearn",P_INT,&autolearn);
		  save_property(hFile,"directsend",P_INT,&directsend);

	  }
Esempio n. 21
0
void CAMOBJ::save(HANDLE hFile) 
{
	save_object_basics(hFile,this);
    save_property(hFile,"interval",P_INT,&interval);
    save_property(hFile,"autorestore",P_INT,&autorestore);
    save_property(hFile,"dist_threshold",P_FLOAT,&dist_threshold);
	save_property(hFile,"angle_threshold",P_FLOAT,&angle_threshold);
	save_property(hFile,"threshold_time",P_INT,&threshold_time);
    save_property(hFile,"pt1_xpos",P_FLOAT,&PT1_xpos);
    save_property(hFile,"pt1_ypos",P_FLOAT,&PT1_ypos);
    save_property(hFile,"pt2_xpos",P_FLOAT,&PT2_xpos);
    save_property(hFile,"pt2_ypos",P_FLOAT,&PT2_ypos);
	save_property(hFile,"mode",P_INT,&mode);
	save_property(hFile,"showlive",P_INT,&showlive);
	save_property(hFile,"tracking",P_INT,&enable_tracking);
	save_property(hFile,"trackface",P_INT,&trackface);
	save_property(hFile,"archive",P_STRING,videofilename);

}
Esempio n. 22
0
void BUTTONOBJ::save(HANDLE hFile) 
{	  
	float temp;
	save_object_basics(hFile, this);
	
	temp=(float)transcolor;
	save_property(hFile,"transcolor",P_FLOAT,&temp);
	temp=(float)bkcolor;
	save_property(hFile,"bkcol",P_FLOAT,&temp);
	
	save_property(hFile,"top",P_INT,&top);
	save_property(hFile,"left",P_INT,&left);
	save_property(hFile,"right",P_INT,&right);
	save_property(hFile,"bottom",P_INT,&bottom);
	save_property(hFile,"buttonpath",P_STRING,buttonpath);
	save_property(hFile,"displayborder",P_INT,&displayborder);
	save_property(hFile,"bitmapsize",P_INT,&bitmapsize);
	save_property(hFile,"buttonfunction",P_INT,&buttonfunction);
	save_property(hFile,"value1",P_INT,&value1);
	save_property(hFile,"value2",P_INT,&value2);
	save_property(hFile,"buttoncaption",P_STRING,buttoncaption);
}
Esempio n. 23
0
void COUNTEROBJ::save(HANDLE hFile)
{
    float temp;
    save_object_basics(hFile, this);
    save_property(hFile,"mode",P_INT,&mode);
    save_property(hFile,"coutnervalue",P_FLOAT,&countervalue);
    save_property(hFile,"resetvalue",P_FLOAT,&resetvalue);
    save_property(hFile,"showcounter",P_INT,&showcounter);

    save_property(hFile,"fontsize",P_INT,&fontsize);
    temp=(float)fontcolor;;
    save_property(hFile,"fontcolor",P_FLOAT,&temp);
    temp=(float)bkcolor;;
    save_property(hFile,"bkcolor",P_FLOAT,&temp);

    save_property(hFile,"top",P_INT,&top);
    save_property(hFile,"left",P_INT,&left);
    save_property(hFile,"right",P_INT,&right);
    save_property(hFile,"bottom",P_INT,&bottom);
    save_property(hFile,"integer",P_INT,&integer);
    save_property(hFile,"wndcaption",P_STRING,wndcaption);


}
Esempio n. 24
0
void EVALOBJ::save(HANDLE hFile) 
{
	save_object_basics(hFile, this);
    save_property(hFile,"expression",P_STRING,expression);
}
Esempio n. 25
0
void EMOTIVOBJ::save(HANDLE hFile)
{
	save_object_basics(hFile, this);
}
Esempio n. 26
0
void DIFFERENTIATEOBJ::save(HANDLE hFile) 
{
	save_object_basics(hFile, this);
}
Esempio n. 27
0
void DEVIATIONOBJ::save(HANDLE hFile) 
{
	save_object_basics(hFile,this);
    save_property(hFile,"interval",P_INT,&interval);
}
Esempio n. 28
0
	  void EDF_READEROBJ::save(HANDLE hFile) 
	  {
	  	  save_object_basics(hFile, this);
		  save_property(hFile,"filename",P_STRING,&filename);
		  save_property(hFile,"offset",P_INT,&offset);
	  }
Esempio n. 29
0
	  void TCP_RECEIVEOBJ::save(HANDLE hFile) 
	  {
	  	  save_object_basics(hFile, this);
		  save_property(hFile,"host",P_STRING,&host);
		  save_property(hFile,"header",P_STRING,&edfheader);	  
	  }
Esempio n. 30
0
void CONSTANTOBJ::save(HANDLE hFile) 
{
	save_object_basics(hFile, this);
    save_property(hFile,"value",P_FLOAT,&value);
}