Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.