src/internet-stack/nsc-sysctl.h
changeset 4685 ae536d9e0d6d
parent 4684 44b325571ab4
     1.1 --- a/src/internet-stack/nsc-sysctl.h	Wed Jul 15 14:59:44 2009 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,44 +0,0 @@
     1.4 -/* -*-  Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
     1.5 -/*
     1.6 - * This program is free software; you can redistribute it and/or modify
     1.7 - * it under the terms of the GNU General Public License version 2 as
     1.8 - * published by the Free Software Foundation;
     1.9 - *
    1.10 - * This program is distributed in the hope that it will be useful,
    1.11 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.12 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.13 - * GNU General Public License for more details.
    1.14 - *
    1.15 - * You should have received a copy of the GNU General Public License
    1.16 - * along with this program; if not, write to the Free Software
    1.17 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    1.18 - *
    1.19 - * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
    1.20 - */
    1.21 -
    1.22 -#include <string>
    1.23 -
    1.24 -#include "ns3/attribute.h"
    1.25 -#include "ns3/object.h"
    1.26 -
    1.27 -struct INetStack;
    1.28 -
    1.29 -namespace ns3 {
    1.30 -
    1.31 -// This object represents the underlying nsc stack,
    1.32 -// which is aggregated to a Node object, and which provides access to the
    1.33 -// sysctls of the nsc stack through attributes.
    1.34 -class Ns3NscStack : public Object
    1.35 -{
    1.36 -public:
    1.37 -  static TypeId GetTypeId (void);
    1.38 -  virtual TypeId GetInstanceTypeId (void) const;
    1.39 -  void SetStack (INetStack *stack) {m_stack = stack;}
    1.40 -
    1.41 -private:
    1.42 -  friend class NscStackStringAccessor;
    1.43 -  void Set (std::string name, std::string value);
    1.44 -  std::string Get (std::string name) const;
    1.45 -  INetStack *m_stack;
    1.46 -};
    1.47 -} // namespace ns3