Rescanned bindings to reflect latest rebase of ns-3-base
diff --git a/helper/ccnx-global-routing-helper.h b/helper/ccnx-global-routing-helper.h
index 0012d25..92c10c6 100644
--- a/helper/ccnx-global-routing-helper.h
+++ b/helper/ccnx-global-routing-helper.h
@@ -26,25 +26,68 @@
namespace ns3 {
class Node;
+class NodeContainer;
class Channel;
+/**
+ * @ingroup ccnx
+ * @brief Helper for CcnxGlobalRouter interface
+ */
class CcnxGlobalRoutingHelper
{
public:
+ /**
+ * @brief Install CcnxGlobalRouter interface on a node
+ *
+ * Note that CcnxGlobalRouter will also be installed on all connected nodes and channels
+ *
+ * @param node Node to install CcnxGlobalRouter interface
+ */
void
Install (Ptr<Node> node);
-
- void
- Install (Ptr<Channel> channel);
+
+ /**
+ * @brief Install CcnxGlobalRouter interface on nodes
+ *
+ * Note that CcnxGlobalRouter will also be installed on all connected nodes and channels
+ *
+ * @param nodes NodeContainer to install CcnxGlobalRouter interface
+ */
+ void
+ Install (const NodeContainer &nodes);
+
+ /**
+ * @brief Install CcnxGlobalRouter interface on all nodes
+ */
+ void
+ InstallAll ();
+
+ /**
+ * @brief Add `prefix' as origin on `node'
+ * @param prefix Prefix that is originated by node, e.g., node is a producer for this prefix
+ * @param node Pointer to a node
+ */
void
AddOrigin (const std::string &prefix, Ptr<Node> node);
+ /**
+ * @brief Add `prefix' as origin on node `nodeName'
+ * @param prefix Prefix that is originated by node, e.g., node is a producer for this prefix
+ * @param nodeName Name of the node that is associated with Ptr<Node> using ns3::Names
+ */
void
AddOrigin (const std::string &prefix, const std::string &nodeName);
+ /**
+ * @brief Calculate for every node shortest path trees and install routes to all prefix origins
+ */
void
CalculateRoutes ();
+
+private:
+ void
+ Install (Ptr<Channel> channel);
};
}