- Timestamp:
- Oct 15, 2012, 7:17:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/networkinfo/NetworkChangeDetection.h
r8569 r10767 40 40 #define __NETWORK_CHANGE_DETECTION_H 41 41 42 #include <cerrno> 43 #include <csignal> 42 // Forward declarations 43 struct nlmsghdr; 44 44 45 #include <vector> 45 #include <algorithm>46 #include <string>47 #include <net/if.h>48 #include <arpa/inet.h>49 #include <linux/types.h>50 #include <linux/netlink.h>51 #include <linux/rtnetlink.h>52 #include <sys/types.h>53 #include <sys/socket.h>54 #include <sys/ioctl.h>55 #include <boost/thread/mutex.hpp>56 46 #include <boost/thread/thread.hpp> 57 #include <boost/utility.hpp> 58 #include <boost/bind.hpp> 59 #include "ariba/communication/networkinfo/NetworkChangeInterface.h" 60 #include "ariba/communication/networkinfo/NetworkInformation.h" 61 #include "ariba/utility/system/SystemQueue.h" 47 48 #include "NetworkInformation.h" 49 #include "NetworkChangeInterface.h" 62 50 #include "ariba/utility/logging/Logging.h" 63 64 using std::string; 65 using std::vector; 66 using std::find; 67 using ariba::utility::SystemQueue; 68 using ariba::utility::SystemEvent; 69 using ariba::utility::SystemEventType; 70 using ariba::utility::SystemEventListener; 71 using ariba::communication::NetworkInformation; 51 #include "ariba/utility/system/SystemEventListener.h" 72 52 73 53 namespace ariba { 74 54 namespace communication { 55 56 using ariba::utility::SystemEvent; 57 using ariba::utility::SystemEventListener; 75 58 76 59 class NetworkChangeDetection : public SystemEventListener { … … 87 70 88 71 private: 89 typedef vector<NetworkChangeInterface*> RegistrationList;72 typedef std::vector<NetworkChangeInterface*> RegistrationList; 90 73 RegistrationList registrations; 91 74
Note:
See TracChangeset
for help on using the changeset viewer.