#include <sampleapp/Manager.h>
Public Types | |
|
typedef std::map< SampleApp *, WrapNode * > | NodeMap |
| Map to find nodes given application instances. | |
|
typedef std::map< WrapNode *, SampleApp * > | AppMap |
| Map to find application instances given nodes. | |
Public Member Functions | |
| Manager () | |
| Constructor. | |
| virtual | ~Manager () |
| Virtual destructor. | |
| void | add (SampleApp *app, WrapNode *node) |
| Associate an application instance with a node. | |
| WrapNode * | lookup (SampleApp *app) |
| Find the node for an application instance. | |
| SampleApp * | lookup (WrapNode *node) |
| Find the application instance for a node. | |
Definition at line 49 of file Manager.h.
Associate an application instance with a node.
| app | The application instance | |
| node | The node |
Definition at line 45 of file Manager.cc.
Referenced by sampleapp_attach().
Find the node for an application instance.
| app | An application instance |
Definition at line 54 of file Manager.cc.
Referenced by sampleapp_send(), and SampleAppNS::SampleApp::send().
Find the application instance for a node.
| node | A simulator-level node |
Definition at line 62 of file Manager.cc.
1.5.4