aboutsummaryrefslogtreecommitdiffstats
blob: 8a53e12cae2d6974867b564cc841fba11eeea425 (plain)
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
/**
 * @author generated by eTrice
 *
 * Dispatcher File of SubSystemClass RemoveCommentSubSys
 * - one generated dispatcher for each MessageService (Thread)
 */

#include "messaging/etMessageReceiver.h"
#include "debugging/etLogger.h"
#include "debugging/etMSCLogger.h"

static void MsgDispatcher_Thread1_receiveMessage(const etMessage* msg){
	ET_MSC_LOGGER_SYNC_ENTRY("MsgDispatcher_Thread1", "receiveMessage")
	switch(msg->address){
	
		/* interface items of /RemoveCommentSubSys/Topref */
		/* interface items of /RemoveCommentSubSys/Topref/reader */
		case 103:
		AFileReader_receiveMessage((void*)&_RemoveCommentSubSys_Topref_reader,(etPort*)&_RemoveCommentSubSys_Topref_reader_const.outPort, msg);
		break;
		/* interface items of /RemoveCommentSubSys/Topref/cParser */
		case 105:
		ACParser_receiveMessage((void*)&_RemoveCommentSubSys_Topref_cParser,(etPort*)&_RemoveCommentSubSys_Topref_cParser_const.readerPort, msg);
		break;

		default:
			etLogger_logErrorF("MessageService_Thread1_receiveMessage: address %d does not exist ", msg->address);
		break;
	}
	ET_MSC_LOGGER_SYNC_EXIT
}