Changeset 156

Show
Ignore:
Timestamp:
03/13/09 14:43:25 (15 years ago)
Author:
bhilburn
Message:

Reorganized the socket functions to form a static library to link against since
we will be using that code everwhere. All autofoo stuff has been updated to
reflect this. Also, implemented the old policy engine demo with our new
component classes and fixed some bugs in that design.

Location:
vtcross/branches/bhilburn
Files:
17 added
8 modified

Legend:

Unmodified
Added
Removed
  • vtcross/branches/bhilburn/configure.ac

    r138 r156  
    1717          src/libvtcross/Makefile src/cognitive_engines/Makefile  
    1818          src/policy_engines/Makefile src/service_management_layer/Makefile  
    19           src/tinyxml/Makefile src/include/Makefile 
    20           src/include/vtcross/Makefile) 
     19          src/lib/tinyxml/Makefile  src/lib/sockets/Makefile src/include/Makefile 
     20          src/include/vtcross/Makefile src/include/tinyxml/Makefile 
     21          src/lib/Makefile) 
    2122AC_OUTPUT 
  • vtcross/branches/bhilburn/src/Makefile.am

    r131 r156  
    1 SUBDIRS = policy_engines cognitive_engines service_management_layer libvtcross \ 
    2                   tinyxml shell include 
     1SUBDIRS = lib policy_engines cognitive_engines service_management_layer \ 
     2                  libvtcross shell include 
  • vtcross/branches/bhilburn/src/include/Makefile.am

    r125 r156  
    1 SUBDIRS = vtcross 
     1SUBDIRS = vtcross tinyxml 
  • vtcross/branches/bhilburn/src/include/vtcross/Makefile.am

    r142 r156  
    1 include_HEADERS = error.h debug.h socket_comm.h cbr.h components.h \ 
     1include_HEADERS = error.h debug.h socketcomm.h cbr.h components.h \ 
    22                                  containers.h libvtcross.h common.h config.h 
  • vtcross/branches/bhilburn/src/policy_engines/Makefile.am

    r155 r156  
    55bin_PROGRAMS = policy_demo 
    66 
    7 policy_demo_SOURCES = PolicyEngine.cpp default_policy_engine.cpp 
     7policy_demo_SOURCES = PolicyEngine.cpp policy_demo.cpp 
     8policy_demo_LDADD = ../lib/sockets/libsocketcomm.a 
    89 
  • vtcross/branches/bhilburn/src/policy_engines/PolicyEngine.cpp

    r155 r156  
    1818#include "vtcross/debug.h" 
    1919#include "vtcross/error.h" 
    20 #include "vtcross/socket_comm.h" 
     20#include "vtcross/socketcomm.h" 
    2121 
    2222 
  • vtcross/branches/bhilburn/src/shell/Makefile.am

    r134 r156  
    1 INCLUDES = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/tinyxml 
     1INCLUDES = -I$(top_srcdir)/src/include 
    22 
    33AM_CXXFLAGS = -Wall -g 
     
    66 
    77shell_demo_SOURCES = cr_shell.cpp 
    8 shell_demo_LDADD = ../tinyxml/libtinyxml.a 
     8shell_demo_LDADD = ../lib/tinyxml/libtinyxml.a 
    99 
  • vtcross/branches/bhilburn/src/shell/cr_shell.cpp

    r136 r156  
    1515#include "vtcross/containers.h" 
    1616#include "vtcross/common.h" 
    17 #include "tinyxml.h" 
    18 #include "tinystr.h" 
     17#include "tinyxml/tinyxml.h" 
     18#include "tinyxml/tinystr.h" 
    1919 
    2020using namespace std;