Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5547 in orxonox.OLD for branches/network/src


Ignore:
Timestamp:
Nov 11, 2005, 5:01:29 PM (19 years ago)
Author:
snellen
Message:

synchronizeable.cc, synchronizeable.h updated

Location:
branches/network/src/lib/network
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/connection_monitor.cc

    r5529 r5547  
    1313   co-programmer: ...
    1414
     15#include "connection_monitor.h"
    1516
    1617ConnectionMonitor::ConnectionMonitor()
     
    2122
    2223
    23 ConnectionMonitor::ConnectionMonitor()
     24ConnectionMonitor::~ConnectionMonitor()
    2425 {
    2526
  • branches/network/src/lib/network/connection_monitor.h

    r5529 r5547  
    33    \brief provides information about the quality of a connection.
    44
    5  
     5
    66
    77class ConnectionMonitor
    88{
    99        public:
    10                 ConnectionMonitor();
    11                 ~ConnectionMonitor();
    12 
     10                        ConnectionMonitor();
     11                        ~ConnectionMonitor();
     12                        NetworkStream& networkStream;
    1313
    1414        private:
    1515
     16 NetworkStream&         networkStream;
     17
    1618};
    1719*/
  • branches/network/src/lib/network/synchronizeable.cc

    r5529 r5547  
    99   any later version.
    1010
     11
    1112### File Specific:
    1213   main-programmer: Silvan Nellen
    1314   co-programmer: ...
     15*/
    1416
     17#include "synchronizeable.h"
     18#include "netdefs.h"
    1519
    16 
     20/**
     21                   \brief default destructor deletes all unneded stuff
     22 */
    1723Synchronizeable::Synchronizeable()
    1824{
     
    2127}
    2228
    23 
    24 Synchronizeable::Synchronizeable()
     29/**
     30                   \brief default destructor deletes all unneded stuff
     31 */
     32Synchronizeable::~Synchronizeable()
    2533{
    2634
     
    2937
    3038}
    31 */
     39
     40/**
     41                          \brief write data to NetworkStream
     42 */
     43virtual byte[] Synchronizeable::writeByteStream()
     44{
     45
     46
     47
     48}
     49
     50
     51/**
     52                                 \brief read Data from NetworkStream
     53 */
     54 virtual void Synchronizeable::readByteStream(byte[] data)
     55{
     56
     57
     58
     59
     60}
     61
     62 virtual void Synchronizeable::writeDebug()
     63{
     64
     65}
     66
     67 virtual void Synchronizeable::readDebug()
     68{
     69
     70
     71
     72
     73}
  • branches/network/src/lib/network/synchronizeable.h

    r5529 r5547  
    22 * @file connection_monitor.h
    33    \brief provides information about the quality of a connection.
     4 */
    45
    5  
     6#ifndef _SYNCHRONIZEABLE_H
     7#define _SYNCHRONIZEABLE_H
    68
    7 class Synchronizeable
     9#include <class_list.h>
     10#include "netdefs.h"
     11
     12
     13class Synchronizeable: public ClassList
    814{
    915        public:
    10                 Synchronizeable();
    11                 ~Synchronizeable();
     16
     17                   Synchronizeable();
     18                   ~Synchronizeable();
     19
     20 virtual byte[]    writeByteStream();
     21 virtual void      readByteStream(byte[] data);
     22 virtual void      writeDebug();
     23 virtual void      readDebug();
    1224
    1325
    1426        private:
    1527
     28 int               uniqueID;
     29
    1630};
    1731
    18 */
     32#endif /* _SYNCHRONIZEABLE_H
Note: See TracChangeset for help on using the changeset viewer.