FNSS ns-3 adapter
ns-3 adapter for the Fast Network Simulation Setup (FNSS) toolchain
 All Classes Files Functions Typedefs Pages
Public Member Functions | List of all members
fnss::ProtocolStack Class Reference

#include <protocol-stack.h>

+ Inheritance diagram for fnss::ProtocolStack:

Public Member Functions

 ProtocolStack (const std::string &name="")
 
std::string getName () const
 
void setName (const std::string &name)
 
- Public Member Functions inherited from fnss::PropertyContainer
std::string getProperty (const std::string &name) const
 
void setProperty (const std::string &name, const std::string &value="")
 
bool hasProperty (const std::string &name) const
 
void addProperties (const PropertyContainer &other)
 
std::string removeProperty (const std::string &name)
 
std::set< std::string > getAllProperties () const
 

Detailed Description

Represent a protocol stack deployed on a node.

A protocol stack is identified by a name and contains a set of properties.

Author
Cosmin Cocora

Constructor & Destructor Documentation

fnss::ProtocolStack::ProtocolStack ( const std::string &  name = "")

Constructor.

Parameters
namename of the protocol stack.

Member Function Documentation

std::string fnss::ProtocolStack::getName ( ) const

Get method for the protocol stack name.

Returns
the name of the protocol stack.
void fnss::ProtocolStack::setName ( const std::string &  name)

Set method for the protocol stack name.

Parameters
namename of the protocol stack.

The documentation for this class was generated from the following files: