Changeset 5530 in orxonox.OLD for branches/network/src/lib/network/network_manager.cc
- Timestamp:
- Nov 10, 2005, 4:47:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_manager.cc
r5525 r5530 1 /* 1 /* 2 2 orxonox - the future of 3D-vertical-scrollers 3 3 … … 16 16 17 17 /* this is for debug output. It just says, that all calls to PRINT() belong to the DEBUG_MODULE_NETWORK module 18 For more information refere to https://www.orxonox.net/cgi-bin/trac.cgi/wiki/DebugOutput 18 For more information refere to https://www.orxonox.net/cgi-bin/trac.cgi/wiki/DebugOutput 19 19 */ 20 #define DEBUG_MODULE_NETWORK 20 #define DEBUG_MODULE_NETWORK 21 21 22 22 23 23 /* include your own header */ 24 24 #include "network_manager.h" 25 26 /* include this file, it contains some default definitions */ 27 #include "netdefs.h" 25 28 26 29 /* using namespace std is default, this needs to be here */ … … 30 33 /************************************ 31 34 What you will see here are the function definitions from the header file (network_manager.h) with doxygen documentation. Here is an example: 32 33 34 In file network_manager.h 35 36 37 In file network_manager.h 35 38 36 39 class NetworkManager 37 40 { 38 41 int doSomeStuff(float argument, float* pointer); 39 } 42 } 40 43 41 44 will be implemented in the source file as follows: … … 46 49 * this is the short description for this function: it just does some stuff 47 50 * @param argument: this is the first argument, stuff... 48 * @param pointer: this is the pointer to nowhereland 49 * return: whatever the function returns: for example an index, number, etc. 50 * / 51 * @param pointer: this is the pointer to nowhereland 52 * return: whatever the function returns: for example an index, number, etc. 53 * / 51 54 int NetworkManager::doSomeStuff(float argument, float* pointer) 52 55 { 53 // whaterver you want to do 54 } 55 56 // whaterver you want to do 57 } 58 56 59 57 60 if you want to make automake compile your files: you will want to add the file names to the local Makefile.am 58 61 59 62 ************************************/ 60 63 61 62 63 64 65 66 64 67 /** 65 68 * standard constructor … … 82 85 {} 83 86 84 87 85 88 /** 86 89 * shutsdown the network manager … … 104 107 void NetworkManager::shutdownConnection() 105 108 {} 106 109 107 110 108 111 /**
Note: See TracChangeset
for help on using the changeset viewer.