Changeset 5533 in orxonox.OLD for branches/network
- Timestamp:
- Nov 10, 2005, 5:45:25 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/Makefile.am
r5532 r5533 2 2 include $(MAINSRCDIR)/defs/include_paths.am 3 3 4 noinst_LIBRARIES = libORXnet.a 4 noinst_LIBRARIES = libORXnet.a 5 5 6 6 libORXnet_a_SOURCES = synchronizeable.cc \ 7 8 9 7 network_manager.cc \ 8 network_socket.cc \ 9 connection_monitor.cc 10 10 11 11 … … 13 13 noinst_HEADERS = synchronizeable.h \ 14 14 network_manager.h \ 15 15 network_socket.h \ 16 16 connection_monitor.h 17 17 -
branches/network/src/lib/network/Makefile.in
r5530 r5533 55 55 libORXnet_a_LIBADD = 56 56 am_libORXnet_a_OBJECTS = synchronizeable.$(OBJEXT) \ 57 network_manager.$(OBJEXT) connection_monitor.$(OBJEXT) 57 network_manager.$(OBJEXT) network_socket.$(OBJEXT) \ 58 connection_monitor.$(OBJEXT) 58 59 libORXnet_a_OBJECTS = $(am_libORXnet_a_OBJECTS) 59 60 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) … … 182 183 target_vendor = @target_vendor@ 183 184 MAINSRCDIR = ../.. 184 noinst_LIBRARIES = libORXnet.a 185 noinst_LIBRARIES = libORXnet.a 185 186 libORXnet_a_SOURCES = synchronizeable.cc \ 186 network_manager.cc \ 187 network_manager.cc \ 188 network_socket.cc \ 187 189 connection_monitor.cc 188 190 189 191 noinst_HEADERS = synchronizeable.h \ 190 network_manager.h \ 191 connection_monitor.h 192 network_manager.h \ 193 network_socket.h \ 194 connection_monitor.h 192 195 193 196 all: all-am … … 240 243 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/connection_monitor.Po@am__quote@ 241 244 @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@ 242 246 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/synchronizeable.Po@am__quote@ 243 247 -
branches/network/src/lib/network/network_manager.h
r5525 r5533 5 5 */ 6 6 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*/ 7 9 #ifndef _NETWORK_MANGER 8 10 #define _NETWORK_MANAGER 9 11 12 13 /* include base_object.h since all classes are derived from this one */ 10 14 #include "base_object.h" 11 15 … … 19 23 NetworkManager(); 20 24 ~NetworkManager(); 21 25 22 26 void initialize(); 23 27 void shutdown(); 24 28 void establishConnection(/* address, port, object reference*/); 25 29 void shutdownConnection(); 26 30 27 31 void registerListener(); 28 32 void synchronize(); 29 33 30 34 }; 31 35 -
branches/network/src/lib/network/network_socket.h
r5532 r5533 16 16 NetworkSocket(); 17 17 ~NetworkSocket(); 18 18 19 19 void connectToServer(); 20 20 void listen(); 21 21 void disconnectServer(); 22 22 void writeBytes(); 23 24 23 void readBytes(); 24 25 25 }; 26 26
Note: See TracChangeset
for help on using the changeset viewer.