#include <src/network/NetworkFunction.h>
Public Member Functions | |
const std::string & | getName () const |
uint32_t | getNetworkID () const |
NetworkFunctionBase (const std::string &name) | |
virtual void | setNetworkID (uint32_t id) |
~NetworkFunctionBase () | |
Static Public Member Functions | |
static void | destroyAllNetworkFunctions () |
static bool | isStatic (uint32_t networkID) |
static void | setNetworkID (const std::string &name, uint32_t id) |
Static Protected Attributes | |
static std::map< uint32_t, bool > | isStaticMap_ |
Private Attributes | |
std::string | name_ |
uint32_t | networkID_ |
Static Private Attributes | |
static std::map< std::string, NetworkFunctionBase * > | nameMap_ |
orxonox::NetworkFunctionBase::NetworkFunctionBase | ( | const std::string & | name | ) |
References name_, nameMap_, networkID_, and RegisterRootObject.
orxonox::NetworkFunctionBase::~NetworkFunctionBase | ( | ) |
void orxonox::NetworkFunctionBase::destroyAllNetworkFunctions | ( | ) | [static] |
const std::string& orxonox::NetworkFunctionBase::getName | ( | ) | const [inline] |
uint32_t orxonox::NetworkFunctionBase::getNetworkID | ( | ) | const [inline] |
static bool orxonox::NetworkFunctionBase::isStatic | ( | uint32_t | networkID | ) | [inline, static] |
static void orxonox::NetworkFunctionBase::setNetworkID | ( | const std::string & | name, | |
uint32_t | id | |||
) | [inline, static] |
virtual void orxonox::NetworkFunctionBase::setNetworkID | ( | uint32_t | id | ) | [inline, virtual] |
std::map< uint32_t, bool > orxonox::NetworkFunctionBase::isStaticMap_ [static, protected] |
Referenced by NetworkFunctionBase().
std::map< std::string, NetworkFunctionBase * > orxonox::NetworkFunctionBase::nameMap_ [static, private] |
Referenced by destroyAllNetworkFunctions(), and NetworkFunctionBase().
uint32_t orxonox::NetworkFunctionBase::networkID_ [private] |
Referenced by NetworkFunctionBase().