Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e67df44b9194fd068bd5dec786dba8d7c01f214b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*******************************************************************************
 * Copyright (c) 2012 Draeger Medical GmbH (http://www.draeger.com).
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * CONTRIBUTORS:
 * 		Peter Karlitschek (initial contribution)
 *
 *******************************************************************************/

#ifndef EVENTRECEIVER_H_
#define EVENTRECEIVER_H_

#include "common/messaging/RTObject.h"
#include "common/modelbase/IEventReceiver.h"
#include <string>

namespace etRuntime {

class EventReceiver : public RTObject, public virtual IEventReceiver{
public:

	virtual ~EventReceiver() {}

	virtual int getThread();

protected:
	EventReceiver(IRTObject* parent, const std::string& name);

private:

	int m_thread;

	EventReceiver(EventReceiver const&);
	EventReceiver& operator=(EventReceiver const&);

};

} /* namespace etRuntime */
#endif /* EVENTRECEIVER_H_ */

Back to the top