nr.cc File Reference

#include <stdio.h>
#include <string.h>
#include <algorithm>
#include "nr.hh"

Include dependency graph for nr.cc:

Go to the source code of this file.

Variables

NRSimpleAttributeFactory<
float > 
LatitudeAttr (NRAttribute::LATITUDE_KEY, NRAttribute::FLOAT32_TYPE)
NRSimpleAttributeFactory<
float > 
LongitudeAttr (NRAttribute::LONGITUDE_KEY, NRAttribute::FLOAT32_TYPE)
NRSimpleAttributeFactory<
int > 
NRAlgorithmAttr (NRAttribute::ALGORITHM_KEY, NRAttribute::INT32_TYPE)
NRSimpleAttributeFactory<
int > 
NRClassAttr (NRAttribute::CLASS_KEY, NRAttribute::INT32_TYPE)
NRSimpleAttributeFactory<
void * > 
NRFlowAttr (NRAttribute::FLOWS_KEY, NRAttribute::BLOB_TYPE)
NRSimpleAttributeFactory<
int > 
NRScopeAttr (NRAttribute::SCOPE_KEY, NRAttribute::INT32_TYPE)
NRSimpleAttributeFactory<
int > 
NRSubscriptionAttr (NRAttribute::SUBSCRIPTION_ID_KEY, NRAttribute::INT32_TYPE)
NRSimpleAttributeFactory<
void * > 
ReinforcementAttr (NRAttribute::REINFORCEMENT_KEY, NRAttribute::BLOB_TYPE)
NRSimpleAttributeFactory<
void * > 
RmstDataAttr (NRAttribute::RMST_DATA_KEY, NRAttribute::BLOB_TYPE)
NRSimpleAttributeFactory<
int > 
RmstFragAttr (NRAttribute::RMST_FRAG_KEY, NRAttribute::INT32_TYPE)
NRSimpleAttributeFactory<
int > 
RmstIdAttr (NRAttribute::RMST_ID_KEY, NRAttribute::INT32_TYPE)
NRSimpleAttributeFactory<
int > 
RmstMaxFragAttr (NRAttribute::RMST_MAX_FRAG_KEY, NRAttribute::INT32_TYPE)
NRSimpleAttributeFactory<
int > 
RmstPktsSentAttr (NRAttribute::RMST_PKTS_SENT_KEY, NRAttribute::INT32_TYPE)
NRSimpleAttributeFactory<
char * > 
RmstTargetAttr (NRAttribute::RMST_TARGET_KEY, NRAttribute::STRING_TYPE)
NRSimpleAttributeFactory<
int > 
RmstTsprtCtlAttr (NRAttribute::RMST_TSPRT_CTL_KEY, NRAttribute::INT32_TYPE)
NRSimpleAttributeFactory<
char * > 
RouteAttr (NRAttribute::ROUTE_KEY, NRAttribute::STRING_TYPE)
NRSimpleAttributeFactory<
char * > 
SourceRouteAttr (NRAttribute::SOURCE_ROUTE_KEY, NRAttribute::STRING_TYPE)


Variable Documentation

NRSimpleAttributeFactory<float> LatitudeAttr(NRAttribute::LATITUDE_KEY, NRAttribute::FLOAT32_TYPE)
 

Referenced by PushSenderApp::setupPublication(), GearSenderApp::setupPublication(), TPPPingSenderApp::setupPublication(), OPPPingSenderApp::setupPublication(), PushReceiverApp::setupSubscription(), GearSenderApp::setupSubscription(), GearReceiverApp::setupSubscription(), TPPPingSenderApp::setupSubscription(), TPPPingReceiverApp::setupSubscription(), OPPPingSenderApp::setupSubscription(), and OPPPingReceiverApp::setupSubscription().

NRSimpleAttributeFactory<float> LongitudeAttr(NRAttribute::LONGITUDE_KEY, NRAttribute::FLOAT32_TYPE)
 

Referenced by GeoRoutingFilter::extractLocation(), PushSenderApp::setupPublication(), GearSenderApp::setupPublication(), TPPPingSenderApp::setupPublication(), OPPPingSenderApp::setupPublication(), PushReceiverApp::setupSubscription(), GearSenderApp::setupSubscription(), GearReceiverApp::setupSubscription(), TPPPingSenderApp::setupSubscription(), TPPPingReceiverApp::setupSubscription(), OPPPingSenderApp::setupSubscription(), and OPPPingReceiverApp::setupSubscription().

NRSimpleAttributeFactory<int> NRAlgorithmAttr(NRAttribute::ALGORITHM_KEY, NRAttribute::INT32_TYPE)
 

Referenced by DiffusionRouting::send(), OnePhasePullFilter::setupFilter(), TPPPingSenderApp::setupPublication(), OPPPingSenderApp::setupPublication(), TPPPingSenderApp::setupSubscription(), TPPPingReceiverApp::setupSubscription(), OPPPingSenderApp::setupSubscription(), OPPPingReceiverApp::setupSubscription(), and DiffusionRouting::subscribe().

NRSimpleAttributeFactory<int> NRClassAttr(NRAttribute::CLASS_KEY, NRAttribute::INT32_TYPE)
 

Referenced by DiffusionRouting::checkPublication(), DiffusionRouting::checkSend(), DiffusionRouting::checkSubscription(), DiffusionRouting::isPushData(), GradientFilter::processNewMessage(), OnePhasePullFilter::processNewMessage(), RmstSrcReceive::recv(), GearSenderApp::recv(), TPPPingSenderApp::recv(), OPPPingSenderApp::recv(), RmstFilter::sendContToSource(), GradientFilter::sendDisinterest(), OnePhasePullFilter::sendDisinterest(), GradientFilter::setupFilter(), RmstFilter::setupFilter(), LogFilter::setupFilter(), RmstSink::setupInterest(), GeoRoutingFilter::setupPostFilter(), GeoRoutingFilter::setupPreFilter(), PushSenderApp::setupPublication(), GearSenderApp::setupPublication(), TPPPingSenderApp::setupPublication(), OPPPingSenderApp::setupPublication(), RmstSource::setupRmstInterest(), RmstSource::setupRmstPublication(), PushReceiverApp::setupSubscription(), GearSenderApp::setupSubscription(), GearReceiverApp::setupSubscription(), TPPPingSenderApp::setupSubscription(), TPPPingReceiverApp::setupSubscription(), OPPPingSenderApp::setupSubscription(), and OPPPingReceiverApp::setupSubscription().

NRSimpleAttributeFactory<void *> NRFlowAttr(NRAttribute::FLOWS_KEY, NRAttribute::BLOB_TYPE)
 

Referenced by OnePhasePullFilter::forwardData().

NRSimpleAttributeFactory<int> NRScopeAttr(NRAttribute::SCOPE_KEY, NRAttribute::INT32_TYPE)
 

Referenced by DiffusionRouting::checkPublication(), DiffusionRouting::checkSend(), DiffusionRouting::checkSubscription(), DiffusionRouting::hasScope(), DiffusionRouting::isPushData(), GradientFilter::processNewMessage(), OnePhasePullFilter::processNewMessage(), DiffusionRouting::publish(), PushSenderApp::setupPublication(), GearSenderApp::setupPublication(), RmstSource::setupRmstInterest(), PushReceiverApp::setupSubscription(), GearSenderApp::setupSubscription(), GearReceiverApp::setupSubscription(), TPPPingSenderApp::setupSubscription(), OPPPingSenderApp::setupSubscription(), and DiffusionRouting::subscribe().

NRSimpleAttributeFactory<int> NRSubscriptionAttr(NRAttribute::SUBSCRIPTION_ID_KEY, NRAttribute::INT32_TYPE)
 

Referenced by OnePhasePullFilter::processNewMessage(), OnePhasePullFilter::processOldMessage(), and DiffusionRouting::subscribe().

NRSimpleAttributeFactory<void *> ReinforcementAttr(NRAttribute::REINFORCEMENT_KEY, NRAttribute::BLOB_TYPE)
 

Referenced by GradientFilter::sendPositiveReinforcement().

NRSimpleAttributeFactory<void *> RmstDataAttr(NRAttribute::RMST_DATA_KEY, NRAttribute::BLOB_TYPE)
 

Referenced by DiffusionRouting::processRmst(), RmstFilter::processTimer(), RmstSnkReceive::recv(), RmstSource::sendBlob(), DiffusionRouting::sendRmst(), RmstFilter::sendRmstToSink(), and RmstFilter::syncLocalCache().

NRSimpleAttributeFactory<int> RmstFragAttr(NRAttribute::RMST_FRAG_KEY, NRAttribute::INT32_TYPE)
 

Referenced by DiffusionRouting::processRmst(), RmstFilter::processTimer(), RmstFilter::sendExpReqUpstream(), DiffusionRouting::sendRmst(), RmstFilter::sendRmstToSink(), and RmstFilter::syncLocalCache().

NRSimpleAttributeFactory<int> RmstIdAttr(NRAttribute::RMST_ID_KEY, NRAttribute::INT32_TYPE)
 

Referenced by RmstFilter::processCtrlMessage(), RmstFilter::processMessage(), DiffusionRouting::processRmst(), RmstFilter::processTimer(), RmstSnkReceive::recv(), DiffusionRouting::send(), RmstFilter::sendAckToSource(), RmstFilter::sendExpReqUpstream(), DiffusionRouting::sendRmst(), RmstFilter::sendRmstToSink(), and RmstFilter::syncLocalCache().

NRSimpleAttributeFactory<int> RmstMaxFragAttr(NRAttribute::RMST_MAX_FRAG_KEY, NRAttribute::INT32_TYPE)
 

Referenced by DiffusionRouting::sendRmst(), RmstFilter::sendRmstToSink(), and RmstFilter::syncLocalCache().

NRSimpleAttributeFactory<int> RmstPktsSentAttr(NRAttribute::RMST_PKTS_SENT_KEY, NRAttribute::INT32_TYPE)
 

Referenced by RmstFilter::processTimer().

NRSimpleAttributeFactory<char *> RmstTargetAttr(NRAttribute::RMST_TARGET_KEY, NRAttribute::STRING_TYPE)
 

Referenced by RmstFilter::processTimer(), RmstSrcReceive::recv(), RmstFilter::sendRmstToSink(), RmstSink::setupInterest(), RmstSource::setupRmstInterest(), RmstSource::setupRmstPublication(), and RmstFilter::syncLocalCache().

NRSimpleAttributeFactory<int> RmstTsprtCtlAttr(NRAttribute::RMST_TSPRT_CTL_KEY, NRAttribute::INT32_TYPE)
 

Referenced by RmstFilter::processCtrlMessage(), RmstFilter::processMessage(), RmstFilter::processTimer(), RmstSrcReceive::recv(), RmstFilter::sendAckToSource(), RmstFilter::sendContToSource(), RmstFilter::sendExpReqUpstream(), DiffusionRouting::sendRmst(), RmstFilter::sendRmstToSink(), RmstSink::setupInterest(), and RmstSource::setupRmstInterest().

NRSimpleAttributeFactory<char *> RouteAttr(NRAttribute::ROUTE_KEY, NRAttribute::STRING_TYPE)
 

Referenced by TagFilter::ProcessMessage(), and TagFilter::setupFilter().

NRSimpleAttributeFactory<char *> SourceRouteAttr(NRAttribute::SOURCE_ROUTE_KEY, NRAttribute::STRING_TYPE)
 

Referenced by SrcRtFilter::ProcessMessage(), and SrcRtFilter::setupFilter().


Generated on Tue Mar 6 16:55:13 2007 for ns2 Network Simulator 2.29 by  doxygen 1.4.6