30 #include "ns3/core-module.h" 
   31 #include "ns3/stats-module.h" 
   44   static TypeId GetTypeId (
void);
 
   47   void DoInitialize (
void);
 
   64     .AddTraceSource (
"Counter",
 
   75   m_var = CreateObject<ExponentialRandomVariable> ();
 
  103 int main (
int argc, 
char *argv[])
 
  106   cmd.
Parse (argc, argv);
 
  138                             "Emitter Counts vs. Time",
 
  145   plotHelper.
PlotProbe (
"ns3::DoubleProbe",
 
  146                         "/Names/Probe/Output",
 
#define NS_LOG_FUNCTION(parameters)
 
TypeId AddConstructor(void)
 
void PlotProbe(const std::string &typeId, const std::string &path, const std::string &probeTraceSource, const std::string &title, enum GnuplotAggregator::KeyLocation keyLocation=GnuplotAggregator::KEY_INSIDE)
 
static EventId Schedule(Time const &time, MEM mem_ptr, OBJ obj)
 
static TypeId GetTypeId(void)
 
static void Add(std::string name, Ptr< Object > object)
Add the association between the string "name" and the Ptr<Object> obj. 
 
virtual void ConnectByPath(std::string path)
connect to a trace source provided by a config path 
 
void ConfigurePlot(const std::string &outputFileNameWithoutExtension, const std::string &title, const std::string &xLegend, const std::string &yLegend, const std::string &terminalType="png")
 
NS_OBJECT_ENSURE_REGISTERED(AntennaModel)
 
Parse command-line arguments. 
 
static void Destroy(void)
 
TracedValue< double > m_counter
 
Helper class used to make gnuplot plots. 
 
Ptr< const TraceSourceAccessor > MakeTraceSourceAccessor(T a)
 
NS_LOG_COMPONENT_DEFINE("PacketLossCounter")
 
int main(int argc, char *argv[])
 
void SetName(std::string name)
Set the object's name. All spaces are replaced by underscores. 
 
#define NS_LOG_DEBUG(msg)
 
void Parse(int argc, char *argv[])
 
a base class which provides memory management and object aggregation 
 
a unique identifier for an interface.