Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8e5170e657f6f19086bd1ce88f6b8250462b407e (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
/*
 * PortBase.cpp
 *
 *  Created on: 06.06.2012
 *      Author: karlitsc
 */

#include "PortBase.h"

namespace etRuntime {


PortBase::~PortBase() {
}

void PortBase::send(int evtID) {

	//TODO: how to avoid logging timerTicks
	//if (s_messageStrings[IRTSystemServicesProtocolPort::OUT_dummy] != "timerTick") {
	// TODOTS: model switch for activation
	if (getPeerAddress().isValid())
		getPeerMsgReceiver()->receive(
				new Message(getPeerAddress(), evtID)); //TODO: placement new mit message pool verwenden

};

} /* namespace etRuntime */

Back to the top