FNSS C++ library
C++ API for the Fast Network Simulation Setup (FNSS) toolchain
 All Classes Functions Typedefs Pages
Public Member Functions | List of all members
fnss::Application Class Reference

#include <application.h>

+ Inheritance diagram for fnss::Application:

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
 

Detailed Description

Represent an application deployed on a node.

An application is identified by a name and contains a set of properties.

Author
Cosmin Cocora

Constructor & Destructor Documentation

fnss::Application::Application ( const std::string &  name_ = "")

Constructor.

Parameters
namename of the application.

Member Function Documentation

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

Get method for the application name.

Returns
the name of the application.
void fnss::Application::setName ( const std::string &  name_)

Set method for the application name.

Parameters
namename of the application.

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