FNSS C++ library
C++ API for the Fast Network Simulation Setup (FNSS) toolchain
|
#include <protocol-stack.h>
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 |
Represent a protocol stack deployed on a node.
A protocol stack is identified by a name and contains a set of properties.
fnss::ProtocolStack::ProtocolStack | ( | const std::string & | name_ = "" | ) |
Constructor.
name | name of the protocol stack. |
std::string fnss::ProtocolStack::getName | ( | ) | const |
Get method for the protocol stack name.
void fnss::ProtocolStack::setName | ( | const std::string & | name_ | ) |
Set method for the protocol stack name.
name | name of the protocol stack. |