Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5533 in orxonox.OLD for branches/network


Ignore:
Timestamp:
Nov 10, 2005, 5:45:25 PM (19 years ago)
Author:
patrick
Message:

network: some small changes in the comments and formatting in makefile.am

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

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/Makefile.am

    r5532 r5533  
    22include $(MAINSRCDIR)/defs/include_paths.am
    33
    4 noinst_LIBRARIES = libORXnet.a 
     4noinst_LIBRARIES = libORXnet.a
    55
    66libORXnet_a_SOURCES = synchronizeable.cc \
    7                                                                 network_manager.cc \
    8                                                                 network_socket.cc \
    9                                                                 connection_monitor.cc
     7                      network_manager.cc \
     8                      network_socket.cc \
     9                      connection_monitor.cc
    1010
    1111
     
    1313noinst_HEADERS = synchronizeable.h \
    1414                 network_manager.h \
    15                                 network_socket.h \
     15                network_socket.h \
    1616                 connection_monitor.h
    1717
  • branches/network/src/lib/network/Makefile.in

    r5530 r5533  
    5555libORXnet_a_LIBADD =
    5656am_libORXnet_a_OBJECTS = synchronizeable.$(OBJEXT) \
    57         network_manager.$(OBJEXT) connection_monitor.$(OBJEXT)
     57        network_manager.$(OBJEXT) network_socket.$(OBJEXT) \
     58        connection_monitor.$(OBJEXT)
    5859libORXnet_a_OBJECTS = $(am_libORXnet_a_OBJECTS)
    5960DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
     
    182183target_vendor = @target_vendor@
    183184MAINSRCDIR = ../..
    184 noinst_LIBRARIES = libORXnet.a 
     185noinst_LIBRARIES = libORXnet.a
    185186libORXnet_a_SOURCES = synchronizeable.cc \
    186                       network_manager.cc \
     187                      network_manager.cc \
     188                      network_socket.cc \
    187189                      connection_monitor.cc
    188190
    189191noinst_HEADERS = synchronizeable.h \
    190                      network_manager.h \
    191                      connection_monitor.h
     192                 network_manager.h \
     193                 network_socket.h \
     194                 connection_monitor.h
    192195
    193196all: all-am
     
    240243@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/connection_monitor.Po@am__quote@
    241244@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/network_manager.Po@am__quote@
     245@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/network_socket.Po@am__quote@
    242246@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/synchronizeable.Po@am__quote@
    243247
  • branches/network/src/lib/network/network_manager.h

    r5525 r5533  
    55*/
    66
     7/* you will want to add such a a line at your header file also, since it will
     8   prevent c++ from including your code twice*/
    79#ifndef _NETWORK_MANGER
    810#define _NETWORK_MANAGER
    911
     12
     13/* include base_object.h since all classes are derived from this one */
    1014#include "base_object.h"
    1115
     
    1923  NetworkManager();
    2024  ~NetworkManager();
    21  
     25
    2226  void initialize();
    2327  void shutdown();
    2428  void establishConnection(/* address, port, object reference*/);
    2529  void shutdownConnection();
    26  
     30
    2731  void registerListener();
    2832  void synchronize();
    29  
     33
    3034};
    3135
  • branches/network/src/lib/network/network_socket.h

    r5532 r5533  
    1616  NetworkSocket();
    1717  ~NetworkSocket();
    18  
     18
    1919  void connectToServer();
    2020  void listen();
    2121  void disconnectServer();
    2222  void writeBytes();
    23         void readBytes();
    24  
     23        void readBytes();
     24
    2525};
    2626
Note: See TracChangeset for help on using the changeset viewer.