VCF::NetworkKit Class Reference
The NetworkKit class is used to initialize the NetworkKit runtime. More...
#include <vcf/NetworkKit/NetworkKit.h>
Static Public Member Functions | |
| static void | init (int argc, char **argv) |
| Initialization takes place here, plus creating the various system resources and peer instances. | |
| static void | terminate () |
| Frees up any resources allocated in the NetworkKit::init() function. | |
Detailed Description
The NetworkKit class is used to initialize the NetworkKit runtime.NetworkKit::init() must be called at start up before anything other classes in the NetworkKit are used.
NetworkKit::terminate() must be called to free up any resources used by the NetworkKit.
An example of proper usage looks like this:
int main( int argc, char** argv ) { VCF::FoundationKit::init(argc, argv); VCF::NetworkKit::init(argc, argv); //your code here VCF::NetworkKit::terminate(); VCF::FoundationKit::terminate(); return 0; }
The NetworkKit is cannot be instantiated nor can it be derived from.
Member Function Documentation
|
||||||||||||
|
Initialization takes place here, plus creating the various system resources and peer instances.
|
|
|
Frees up any resources allocated in the NetworkKit::init() function.
|
The documentation for this class was generated from the following file:
- vcf/NetworkKit/NetworkKit.h
