tutorial/hello-simulator.cc
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 17 Apr 2008 15:40:25 -0700
changeset 2971 75780f899be3
parent 2813 64ec8658372e
permissions -rw-r--r--
output the initial value of the attributes

/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation;
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#include "ns3/core-module.h"

NS_LOG_COMPONENT_DEFINE ("HelloSimulator");

using namespace ns3;

int 
main (int argc, char *argv[])
{
  //  LogComponentEnable ("HelloSimulator", 
  //    LogLevel (LOG_LEVEL_INFO | LOG_PREFIX_ALL));

  NS_LOG_INFO ("Hello Simulator");
}