akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame^] | 1 | #ifndef NLSR_TEST_HPP |
| 2 | #define NLSR_TEST_HPP |
| 3 | |
| 4 | #include <iostream> |
| 5 | #include <string> |
| 6 | |
| 7 | #include "nlsr_lsdb.hpp" |
| 8 | #include "nlsr_lsa.hpp" |
| 9 | #include "nlsr_adl.hpp" |
| 10 | #include "nlsr_npl.hpp" |
| 11 | #include "nlsr_adjacent.hpp" |
| 12 | |
| 13 | using namespace std; |
| 14 | |
| 15 | class nlsr; |
| 16 | |
| 17 | class nlsrTest |
| 18 | { |
| 19 | public: |
| 20 | nlsrTest() |
| 21 | { |
| 22 | } |
| 23 | void schedlueAddingLsas(nlsr& pnlsr); |
| 24 | private: |
| 25 | void secheduledAddNameLsa(nlsr& pnlsr, string router, |
| 26 | string name1, string name2, string name3); |
| 27 | void secheduledAddCorLsa(nlsr& pnlsr,string router, double r, double angle); |
| 28 | |
| 29 | void scheduledAddAdjacentLsa(nlsr& pnlsr, string router, |
| 30 | Adjacent adj1, Adjacent adj2); |
| 31 | |
| 32 | }; |
| 33 | |
| 34 | #endif |