Добавил:
Studfiles2
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Лабораторная работа #4 / LAB_4 / Message
.h//” ©«: Message.h
//Љ« бб "‘®®ЎйҐЁҐ". Џа®в®вЁЇ.
//Ђўв®а: ‘ҐаЈҐҐў Њ.‚. Ја.3352
//„ в : 21.05.06, ђҐ¤ ЄжЁп: 1.0
#ifndef MessageH
#define MessageH
class CMsg
{
private:
int const from; //id Є«ЁҐв
int const to; //id бҐаўҐа
int const command; //Є®¬ ¤
static int nextID;
const int id;
static int count;
public:
int getFrom(); //‚®§ўа й Ґв Ї®«Ґ from
int getTo(); //‚®§ўа й Ґв Ї®«Ґ to
int getCommand(); //‚®§ўа й Ґв ⥫®
void show()const; //‚®§ўа й Ґв Ёд®а¬ жЁо ® б®®ЎйҐЁЁ
CMsg(int f,int t,int c); //Љ®бвагЄв®а
};
int CMsg::nextID = 1;
#endif
Соседние файлы в папке LAB_4