forked from Project-GrADyS/gradys-simulations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MobileNode.h
39 lines (28 loc) · 943 Bytes
/
MobileNode.h
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
#include "inet/common/INETDefs.h"
#ifndef __MOBILENODE_H_
#define __MOBILENODE_H_
#include <omnetpp.h>
//#include <cModule.h>
#include "inet/common/ModuleAccess.h"
#include "inet/common/packet/Packet.h"
#include "inet/networklayer/common/L3AddressResolver.h"
#include "inet/transportlayer/contract/udp/UdpControlInfo_m.h"
#include "inet/applications/base/ApplicationBase.h"
#include "inet/transportlayer/contract/udp/UdpSocket.h"
#include "inet/applications/base/ApplicationBase.h"
#include "inet/transportlayer/contract/udp/UdpSocket.h"
#include <iostream>
#include <algorithm>
#include <iterator>
using std::cout; using std::endl;
using std::string; using std::reverse;
using namespace omnetpp;
using namespace inet;
namespace projeto {
//enum mobileNodeType { sensor = 1, uav = 2, baseStation = 3, missing = 171 };
class MobileNode : public cModule {
protected:
virtual void initialize() override;
};
} //namespace
#endif