Changeset 03d7ac


Ignore:
Timestamp:
Feb 2, 2010, 11:52:04 AM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
6997fa
Parents:
dbd19f
Message:

Added generic observer pattern framework.
(cherry picked from commit 7bc7ce52eb7b4d606d90f49cbfa9da7a300c5d82)

Conflicts:

molecuilder/src/Makefile.am
molecuilder/src/unittests/Makefile.am

Location:
molecuilder/src
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/Makefile.am

    rdbd19f r03d7ac  
    1111ACTIONSHEADER = Actions/Action.hpp Actions/MethodAction.hpp Actions/ActionSequence.hpp Actions/MakroAction.hpp Actions/ErrorAction.hpp Actions/ActionRegistry.hpp
    1212
     13PATTERNSOURCE = Patterns/Observer.cpp
     14PATTERNHEADER = Patterns/Observer.hpp
     15
    1316VIEWSOURCE = Views/View.cpp Views/StringView.cpp Views/MethodStringView.cpp Views/StreamStringView.cpp
    1417VIEWHEADER = Views/View.hpp Views/StringView.hpp Views/MethodStringView.hpp Views/StreamStringView.hpp
     
    2023UIHEADER = ${ACTIONSHEADER} ${VIEWHEADER} ${MENUHEADER} UIElements/UIFactory.hpp UIElements/TextUIFactory.hpp UIElements/MainWindow.hpp UIElements/TextWindow.hpp UIElements/Dialog.hpp UIElements/TextDialog.hpp
    2124
    22 SOURCE = ${ANALYSISSOURCE} ${ATOMSOURCE} ${UISOURCE} bond.cpp bondgraph.cpp boundary.cpp config.cpp element.cpp ellipsoid.cpp errorlogger.cpp graph.cpp helpers.cpp info.cpp leastsquaremin.cpp linkedcell.cpp log.cpp logger.cpp memoryusageobserver.cpp moleculelist.cpp molecule.cpp molecule_dynamics.cpp molecule_fragmentation.cpp molecule_geometry.cpp molecule_graph.cpp molecule_pointcloud.cpp parser.cpp periodentafel.cpp tesselation.cpp tesselationhelpers.cpp vector.cpp verbose.cpp menu.cpp
    23 HEADER = ${ANALYSISHEADER} ${ATOMHEADER} ${UIHEADER} bond.hpp bondgraph.hpp boundary.hpp config.hpp defs.hpp element.hpp ellipsoid.hpp errorlogger.hpp graph.hpp helpers.hpp info.hpp leastsquaremin.hpp linkedcell.hpp lists.hpp log.hpp logger.hpp memoryallocator.hpp memoryusageobserver.hpp molecule.hpp molecule_template.hpp parser.hpp periodentafel.hpp stackclass.hpp tesselation.hpp tesselationhelpers.hpp vector.hpp verbose.hpp menu.hpp
     25
     26SOURCE = ${ANALYSISSOURCE} ${ATOMSOURCE} ${PATTERNSOURCE} ${UISOURCE} bond.cpp bondgraph.cpp boundary.cpp config.cpp element.cpp ellipsoid.cpp errorlogger.cpp graph.cpp helpers.cpp info.cpp leastsquaremin.cpp linkedcell.cpp log.cpp logger.cpp memoryusageobserver.cpp moleculelist.cpp molecule.cpp molecule_dynamics.cpp molecule_fragmentation.cpp molecule_geometry.cpp molecule_graph.cpp molecule_pointcloud.cpp parser.cpp periodentafel.cpp tesselation.cpp tesselationhelpers.cpp vector.cpp verbose.cpp menu.cpp
     27HEADER = ${ANALYSISHEADER} ${ATOMHEADER} ${PATTERNHEADER} ${UIHEADER} bond.hpp bondgraph.hpp boundary.hpp config.hpp defs.hpp element.hpp ellipsoid.hpp errorlogger.hpp graph.hpp helpers.hpp info.hpp leastsquaremin.hpp linkedcell.hpp lists.hpp log.hpp logger.hpp memoryallocator.hpp memoryusageobserver.hpp molecule.hpp molecule_template.hpp parser.hpp periodentafel.hpp stackclass.hpp tesselation.hpp tesselationhelpers.hpp vector.hpp verbose.hpp menu.hpp
    2428
    2529BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB)
  • molecuilder/src/unittests/Makefile.am

    rdbd19f r03d7ac  
    2626  Tesselation_BoundaryTriangleUnitTest \
    2727  Tesselation_InOutsideUnitTest \
    28   VectorUnitTest
     28  VectorUnitTest \
     29  ObserverTest \
     30  ${MENUTESTS} 
    2931   
    3032 
    31 check_PROGRAMS = $(TESTS) ${MENUTESTS}
    32 noinst_PROGRAMS = $(TESTS) ${MENUTESTS}
     33check_PROGRAMS = $(TESTS)
     34noinst_PROGRAMS = $(TESTS)
    3335
    3436ActOnAllUnitTest_SOURCES = ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp
     
    9597ActionSequenceTest_LDADD = ../libmolecuilder.a
    9698
     99ObserverTest_SOURCES = ObserverTest.cpp ObserverTest.hpp
     100ObserverTest_LDADD = ../libmolecuilder.a
     101
    97102#AUTOMAKE_OPTIONS = parallel-tests
    98103
Note: See TracChangeset for help on using the changeset viewer.