Finalizing BGL-implementation of ccnx global routing controller. Also, several extensions in CcnxFib
diff --git a/model/ccnx-global-router.h b/model/ccnx-global-router.h
index ac7f2d6..53c9d04 100644
--- a/model/ccnx-global-router.h
+++ b/model/ccnx-global-router.h
@@ -39,6 +39,7 @@
public:
typedef boost::tuple< Ptr< CcnxGlobalRouter >, Ptr< CcnxFace >, Ptr< CcnxGlobalRouter > > Incidency;
typedef std::list< Incidency > IncidencyList;
+ typedef std::list< Ptr<CcnxNameComponents> > LocalPrefixList;
/**
* \brief Interface ID
@@ -68,6 +69,9 @@
IncidencyList &
GetIncidencies ();
+ const LocalPrefixList &
+ GetLocalPrefixes () const;
+
// ??
protected:
virtual void
@@ -77,7 +81,7 @@
uint32_t m_id;
Ptr<Ccnx> m_ccnx;
- std::list< Ptr<CcnxNameComponents> > m_localPrefixes;
+ LocalPrefixList m_localPrefixes;
IncidencyList m_incidencies;
static uint32_t m_idCounter;