summaryrefslogtreecommitdiffstats
path: root/Master/Real-Time Systems/RTS_P6/A1/src/CanMessage.h
blob: 1a8066c705e121b603243d326b11395e8b1d19a9 (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
/*
 * CanMessage.h
 *
 *  Created on: 18.01.2011
 *      Author: istsveise
 */

#ifndef CANMESSAGE_H_
#define CANMESSAGE_H_

#include <string>

using namespace std;

class CanMessage {
public:
	CanMessage();
	CanMessage(int,int,int,int,string&);
	virtual ~CanMessage();
	bool operator==(const CanMessage&);
	CanMessage& operator=(const CanMessage&);

	int prio;
	int period;
	int jitter;
	int byteCount;
	string desc;
};

#endif /* CANMESSAGE_H_ */