Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5530 in orxonox.OLD for branches/network/src/lib/network


Ignore:
Timestamp:
Nov 10, 2005, 4:47:01 PM (19 years ago)
Author:
patrick
Message:

network: added the definition file for byte and more to come

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.5 from Makefile.am.
     1# Makefile.in generated by automake 1.9.6 from Makefile.am.
    22# @configure_input@
    33
     
    1515@SET_MAKE@
    1616
    17 
    18 SOURCES = $(libORXnet_a_SOURCES)
    1917
    2018srcdir = @srcdir@
     
    4240target_triplet = @target@
    4341subdir = src/lib/network
    44 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
     42DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \
    4543        $(srcdir)/Makefile.in
    4644ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     
    206204          esac; \
    207205        done; \
    208         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/lib/network/Makefile'; \
     206        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/lib/network/Makefile'; \
    209207        cd $(top_srcdir) && \
    210           $(AUTOMAKE) --foreign  src/lib/network/Makefile
     208          $(AUTOMAKE) --gnu  src/lib/network/Makefile
    211209.PRECIOUS: Makefile
    212210Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • branches/network/src/lib/network/network_manager.cc

    r5525 r5530  
    1 /* 
     1/*
    22   orxonox - the future of 3D-vertical-scrollers
    33
     
    1616
    1717/* 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
    1919*/
    20 #define DEBUG_MODULE_NETWORK 
     20#define DEBUG_MODULE_NETWORK
    2121
    2222
    2323/* include your own header */
    2424#include "network_manager.h"
     25
     26/* include this file, it contains some default definitions */
     27#include "netdefs.h"
    2528
    2629/* using namespace std is default, this needs to be here */
     
    3033/************************************
    3134  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
    3538
    3639 class NetworkManager
    3740 {
    3841   int doSomeStuff(float argument, float* pointer);
    39  }   
     42 }
    4043
    4144 will be implemented in the source file as follows:
     
    4649  *  this is the short description for this function: it just does some stuff
    4750  * @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  * /
    5154 int NetworkManager::doSomeStuff(float argument, float* pointer)
    5255 {
    53    // whaterver you want to do 
    54  }       
    55  
     56   // whaterver you want to do
     57 }
     58
    5659
    5760 if you want to make automake compile your files: you will want to add the file names to the local Makefile.am
    58  
     61
    5962 ************************************/
    6063
    61                
    62                
    63                
     64
     65
     66
    6467/**
    6568 *  standard constructor
     
    8285{}
    8386
    84  
     87
    8588/**
    8689 *  shutsdown the network manager
     
    104107void NetworkManager::shutdownConnection()
    105108{}
    106  
     109
    107110
    108111/**
Note: See TracChangeset for help on using the changeset viewer.