From 0ae54ae6fb0b7c80630e7639ea9664e4cce8ee3f Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Wed, 26 Mar 2025 14:19:31 +0100 Subject: [PATCH] examples, nix-vector-routing: Fix doxygen 1.13.2 warnings --- examples/channel-models/three-gpp-v2v-channel-example.cc | 5 +++-- src/nix-vector-routing/model/nix-vector-routing.cc | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/channel-models/three-gpp-v2v-channel-example.cc b/examples/channel-models/three-gpp-v2v-channel-example.cc index 3d70ac1fd..dddd87920 100644 --- a/examples/channel-models/three-gpp-v2v-channel-example.cc +++ b/examples/channel-models/three-gpp-v2v-channel-example.cc @@ -5,7 +5,7 @@ * */ -/** +/* * This is an example on how to configure the channel model classes to simulate * a vehicular environment. * The channel condition is determined using the model specified in [1], Table 6.2-1. @@ -38,6 +38,7 @@ using namespace ns3; +/// the log component NS_LOG_COMPONENT_DEFINE("ThreeGppV2vChannelExample"); static Ptr @@ -46,7 +47,7 @@ static Ptr m_spectrumLossModel; //!< the SpectrumPropagationLossModel object static Ptr m_condModel; //!< the ChannelConditionModel object -/* +/** * @brief A structure that holds the parameters for the ComputeSnr * function. In this way the problem with the limited * number of parameters of method Schedule is avoided. diff --git a/src/nix-vector-routing/model/nix-vector-routing.cc b/src/nix-vector-routing/model/nix-vector-routing.cc index e7704d6f4..77f3ecc7b 100644 --- a/src/nix-vector-routing/model/nix-vector-routing.cc +++ b/src/nix-vector-routing/model/nix-vector-routing.cc @@ -30,16 +30,19 @@ NS_LOG_COMPONENT_DEFINE("NixVectorRouting"); NS_OBJECT_TEMPLATE_CLASS_DEFINE(NixVectorRouting, Ipv4RoutingProtocol); NS_OBJECT_TEMPLATE_CLASS_DEFINE(NixVectorRouting, Ipv6RoutingProtocol); +/// Flag to mark when caches are dirty and need to be flushed template bool NixVectorRouting::g_isCacheDirty = false; -// Epoch starts from one to make it easier to spot an uninitialized NixVector during debug. +/// Epoch starts from one to make it easier to spot an uninitialized NixVector during debug. template uint32_t NixVectorRouting::g_epoch = 1; +/// Mapping of IP address to ns-3 node template typename NixVectorRouting::IpAddressToNodeMap NixVectorRouting::g_ipAddressToNodeMap; +/// Mapping of Ptr to Ptr. template typename NixVectorRouting::NetDeviceToIpInterfaceMap NixVectorRouting::g_netdeviceToIpInterfaceMap;