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