Defining the type PingSchedulerList as a vector of PingSchedulerItem
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Mon, 2 May 2011 15:58:01 +0000 (17:58 +0200)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Mon, 2 May 2011 15:58:01 +0000 (17:58 +0200)
- to keep the standard
- same benefits as HostList

src/host/pingscheduler.h

index c01cf23..be41dab 100644 (file)
@@ -2,6 +2,7 @@
 #define PINGSCHEDULER_H
 
 #include <string>
+#include <vector>
 
 #include <boost/asio.hpp>
 #include <boost/shared_ptr.hpp>
@@ -74,4 +75,10 @@ private:
 
 typedef boost::shared_ptr<PingScheduler> PingSchedulerItem;
 
+//-----------------------------------------------------------------------------
+// PingSchedulerList
+//-----------------------------------------------------------------------------
+
+typedef std::vector< PingSchedulerItem > PingSchedulerList;
+
 #endif /* PINGSCHEDULER_H */