INET Framework for OMNeT++/OMNEST
ModuleAccess.h File Reference

Namespaces

 inet
 Copyright (c) 2005 Jan Ringo�, www.ringos.cz.
 

Functions

bool inet::isNetworkNode (const cModule *mod)
 Returns true if the given module is a network node, i.e. More...
 
INET_API cModule * inet::findModuleSomewhereUp (const char *name, const cModule *from)
 Find a module with given name, and "closest" to module "from". More...
 
cModule * inet::findContainingNode (const cModule *from)
 Find the node containing the given module. More...
 
cModule * inet::getContainingNode (const cModule *from)
 Find the node containing the given module. More...
 
cModule * inet::findModuleUnderContainingNode (const cModule *from)
 Find the ancestor module under the node containing the given module. More...
 
template<typename T >
INET_API T * inet::findModuleFromPar (cPar &par, const cModule *from, bool required=true)
 Finds a module in the module tree, given by its absolute or relative path defined by 'par' parameter. More...
 
template<typename T >
T * inet::findModuleFromPar (cPar &par, const cModule *from, bool required)
 Finds a module in the module tree, given by its absolute or relative path defined by 'par' parameter. More...
 
template<typename T >
INET_API T * inet::getModuleFromPar (cPar &par, const cModule *from, bool required=true)
 Gets a module in the module tree, given by its absolute or relative path defined by 'par' parameter. More...
 
template<typename T >
T * inet::getModuleFromPar (cPar &par, const cModule *from, bool required)
 Gets a module in the module tree, given by its absolute or relative path defined by 'par' parameter. More...
 
cModule * inet::findContainingNicModule (cModule *from)
 Find the nic module (inside the networkNode) containing the given module. More...
 
cModule * inet::getContainingNicModule (cModule *from)
 Find the nic module (inside the networkNode) containing the given module. More...