Changeset 5530 in orxonox.OLD for branches/network/src/lib/network
- Timestamp:
- Nov 10, 2005, 4:47:01 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/Makefile.in
r5526 r5530 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXnet_a_SOURCES)19 17 20 18 srcdir = @srcdir@ … … 42 40 target_triplet = @target@ 43 41 subdir = src/lib/network 44 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \42 DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \ 45 43 $(srcdir)/Makefile.in 46 44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 … … 206 204 esac; \ 207 205 done; \ 208 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- foreignsrc/lib/network/Makefile'; \206 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/lib/network/Makefile'; \ 209 207 cd $(top_srcdir) && \ 210 $(AUTOMAKE) -- foreignsrc/lib/network/Makefile208 $(AUTOMAKE) --gnu src/lib/network/Makefile 211 209 .PRECIOUS: Makefile 212 210 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
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.