Click here to Skip to main content
15,891,745 members
Articles / Programming Languages / C++

ECG recording, storing, filtering and recognition

Rate me:
Please Sign up or sign in to vote.
4.72/5 (110 votes)
14 Apr 200411 min read 732.8K   38.4K   156  
Full open code project for making driver and application software for ECG medical measurements.
// MultimediaTimer.h: interface for the MultimediaTimer class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MULTIMEDIATIMER_H__0B56066E_AC95_11D6_9A8E_FFCCBD6E847B__INCLUDED_)
#define AFX_MULTIMEDIATIMER_H__0B56066E_AC95_11D6_9A8E_FFCCBD6E847B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//���������� �������� ��� 
//typedef int (*funcptr)();  // funcptr is synonym for "pointer
                           //    to function returning int"
//������� �� �������� ��� ������� �� ���� void
typedef void(*ThreadTimerProc)(void* obj,UINT idEvent);//

class MultimediaTimer  
{
public:
	ThreadTimerProc proc;//
	void* object;
	void StopTimer();
	void MMTimerHandler();
	void StartTimer(void* obj,int period,int resolution,ThreadTimerProc lpTimerProc);
	virtual ~MultimediaTimer();

protected:
	int i_count;

	int i_MMperiod;//timer period
	UINT m_idEvent;
	static void CALLBACK TimerFunction(UINT wTimerID,UINT msg, DWORD dwUser, DWORD dw1,DWORD dw2);

};

#endif // !defined(AFX_MULTIMEDIATIMER_H__0B56066E_AC95_11D6_9A8E_FFCCBD6E847B__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Systems Engineer
Bulgaria Bulgaria
PhD, Cum Laude in digital automation systems
M.S. in Telemommunication management
B.S. in Telecommunication systems engineering
Programming: CUDA, C/C++, VHDL
Software and Hardware development and consulting:
data acquisition, image processing, medical instrumentation

Comments and Discussions