Exercises: Design Patterns

Exercises

Solutions

Dependencies

cluster_linux Linux cluster_linux_basics Linux Basics cluster_linux_basics_shell The Shell (Bash - “Bourne Again Shell”) cluster_linux_basics_intro Introduction: Concepts and Terminology cluster_linux_toolchain Toolchain, And Cross Development cluster_cxx C++: Miscellaneous Live-Hacking cluster_cxx_exercises C++ Exercises cluster_cxx_exercises_design_patterns Exercises: Design Patterns cluster_cxx_exercises_design_patterns_solutions Solutions cluster_cxx_design_patterns Design Patterns With C++ cluster_c The C Programming Language cluster_c_introduction Introduction cluster_cxx03 C++ cluster_cxx03_data_encapsulation Data Encapsulation cluster_cxx03_inheritance_oo Inheritance And Object Oriented Design linux_basics_shell_cwd Current Working Directory linux_basics_shell_commandline Commandline linux_basics_shell_cwd->linux_basics_shell_commandline linux_basics_shell_paths Absolute and Relative Paths linux_basics_shell_cwd->linux_basics_shell_paths linux_basics_intro_process Processes, Scheduling, Address Spaces linux_basics_shell_cwd->linux_basics_intro_process linux_basics_intro_overview Overview linux_basics_shell_commandline->linux_basics_intro_overview linux_basics_shell_file_dir_create_rm Creating And Removing Files and Directories linux_basics_shell_file_dir_create_rm->linux_basics_shell_cwd linux_basics_shell_file_dir_create_rm->linux_basics_shell_paths linux_basics_shell_paths->linux_basics_shell_commandline linux_basics_intro_process->linux_basics_intro_overview linux_toolchain_static_library Object Code Archives/Static Libraries linux_toolchain_separate_compilation Zooming In: Separate Compilation, and Linking Statically linux_toolchain_static_library->linux_toolchain_separate_compilation linux_toolchain_cmake_local CMake: Local Build linux_toolchain_cmake_local->linux_toolchain_static_library linux_toolchain_basics Toolchain: Basics linux_toolchain_basics->linux_basics_shell_file_dir_create_rm linux_toolchain_separate_compilation->linux_toolchain_basics cxx_exercises_sensor_interface Exercise: Sensor Interface cxx_exercises_sensor_interface->linux_toolchain_cmake_local cxx03_inheritance_oo_interface C++ “Interfaces” cxx_exercises_sensor_interface->cxx03_inheritance_oo_interface cxx_exercises_design_patterns_interpreter_and_adapter Exercise: Interpreter Combined With Adapter (And A Proxy) cxx_exercises_design_patterns_interpreter_basic Exercise: Arithmetic Expression Interpreter cxx_exercises_design_patterns_interpreter_and_adapter->cxx_exercises_design_patterns_interpreter_basic cxx_design_patterns_interpreter Interpreter cxx_exercises_design_patterns_interpreter_and_adapter->cxx_design_patterns_interpreter cxx_design_patterns_adapter Adapter cxx_exercises_design_patterns_interpreter_and_adapter->cxx_design_patterns_adapter cxx_design_patterns_sensor_hierarchy Exercise Foundation: Sensor Hierarchy cxx_exercises_design_patterns_interpreter_and_adapter->cxx_design_patterns_sensor_hierarchy cxx_exercises_design_patterns_singleton_flexible_strict Exercise: Singleton (Flexible And Strict) cxx_exercises_design_patterns_singleton_inflexible Exercise: Singleton (Inflexible) cxx_exercises_design_patterns_singleton_flexible_strict->cxx_exercises_design_patterns_singleton_inflexible cxx_exercises_design_patterns_singleton_flexible Exercise: Singleton (Flexible) cxx_exercises_design_patterns_singleton_flexible_strict->cxx_exercises_design_patterns_singleton_flexible cxx_design_patterns_singleton Singleton cxx_exercises_design_patterns_singleton_flexible_strict->cxx_design_patterns_singleton cxx_design_patterns_uml UML Short Introduction cxx_exercises_design_patterns_singleton_flexible_strict->cxx_design_patterns_uml cxx_exercises_design_patterns_command Exercise: Command cxx_design_patterns_command Command cxx_exercises_design_patterns_command->cxx_design_patterns_command cxx_exercises_design_patterns_singleton_inflexible->cxx_design_patterns_singleton cxx_exercises_design_patterns_singleton_inflexible->cxx_design_patterns_uml cxx_exercises_design_patterns_composite Exercise: Composite cxx_exercises_design_patterns_composite->cxx_exercises_sensor_interface cxx_design_patterns_composite Composite cxx_exercises_design_patterns_composite->cxx_design_patterns_composite cxx_exercises_design_patterns_proxy_round Exercise: Proxy (Rounding Thermometer) cxx_exercises_design_patterns_proxy_round->cxx_exercises_sensor_interface cxx_exercises_design_patterns_proxy_round->cxx_design_patterns_uml cxx_design_patterns_proxy Proxy cxx_exercises_design_patterns_proxy_round->cxx_design_patterns_proxy cxx_exercises_design_patterns_proxy_round->cxx_design_patterns_sensor_hierarchy cxx_exercises_design_patterns_singleton_flexible->cxx_exercises_design_patterns_singleton_inflexible cxx_exercises_design_patterns_singleton_flexible->cxx_design_patterns_singleton cxx_exercises_design_patterns_singleton_flexible->cxx_design_patterns_uml cxx_exercises_design_patterns_observer Exercise: Adapter cxx_design_patterns_observer Observer cxx_exercises_design_patterns_observer->cxx_design_patterns_observer cxx_exercises_design_patterns_proxy_remote Exercise: Proxy (Remote Thermometer) cxx_exercises_design_patterns_proxy_remote->cxx_exercises_sensor_interface cxx_exercises_design_patterns_proxy_remote->cxx_exercises_design_patterns_proxy_round cxx_exercises_design_patterns_adapter Exercise: Adapter cxx_exercises_design_patterns_proxy_remote->cxx_exercises_design_patterns_adapter cxx_exercises_design_patterns_proxy_remote->cxx_design_patterns_uml cxx_exercises_design_patterns_proxy_remote->cxx_design_patterns_proxy cxx_exercises_design_patterns_proxy_remote->cxx_design_patterns_sensor_hierarchy cxx_exercises_design_patterns_interpreter_basic->cxx_design_patterns_interpreter cxx_exercises_design_patterns_interpreter_basic->cxx_design_patterns_uml cxx_exercises_design_patterns_interpreter_basic->cxx03_inheritance_oo_interface cxx_exercises_design_patterns_decorator Exercise: Decorator cxx_exercises_design_patterns_decorator->cxx_exercises_sensor_interface cxx_design_patterns_decorator Decorator cxx_exercises_design_patterns_decorator->cxx_design_patterns_decorator cxx_exercises_design_patterns_abstract_factory Exercise: Abstract Factory cxx_exercises_design_patterns_abstract_factory->cxx_exercises_sensor_interface cxx_design_patterns_abstract_factory Abstract Factory cxx_exercises_design_patterns_abstract_factory->cxx_design_patterns_abstract_factory cxx_exercises_design_patterns_adapter->cxx_exercises_sensor_interface cxx_exercises_design_patterns_adapter->cxx_design_patterns_adapter cxx_exercises_design_patterns_solutions_proxy_round Solution: Proxy (Rounding Thermometer) cxx_exercises_design_patterns_solutions_proxy_round->cxx_exercises_design_patterns_proxy_round cxx_exercises_design_patterns_solutions_abstract_factory Solution: Abstract Factory cxx_exercises_design_patterns_solutions_abstract_factory->cxx_exercises_design_patterns_abstract_factory cxx_exercises_design_patterns_solutions_command Solution: Command cxx_exercises_design_patterns_solutions_command->cxx_exercises_design_patterns_command cxx_exercises_design_patterns_solutions_decorator Solution: Decorator cxx_exercises_design_patterns_solutions_decorator->cxx_exercises_design_patterns_decorator cxx_exercises_design_patterns_solutions_observer Solution: Observer cxx_exercises_design_patterns_solutions_observer->cxx_exercises_design_patterns_observer cxx_exercises_design_patterns_solutions_adapter Solution: Adapter cxx_exercises_design_patterns_solutions_adapter->cxx_exercises_design_patterns_adapter cxx_exercises_design_patterns_solutions_singleton_flexible Solution: Singleton (Flexible) cxx_exercises_design_patterns_solutions_singleton_flexible->cxx_exercises_design_patterns_singleton_flexible cxx_exercises_design_patterns_solutions_interpreter_basic Solution: Arithmetic Expression Interpreter cxx_exercises_design_patterns_solutions_interpreter_basic->cxx_exercises_design_patterns_interpreter_basic cxx_exercises_design_patterns_solutions_singleton_inflexible Solution: Singleton (Inflexible) cxx_exercises_design_patterns_solutions_singleton_inflexible->cxx_exercises_design_patterns_singleton_inflexible cxx_exercises_design_patterns_solutions_interpreter_and_adapter Solution: Interpreter Combined With Adapter (And A Proxy) cxx_exercises_design_patterns_solutions_interpreter_and_adapter->cxx_exercises_design_patterns_interpreter_and_adapter cxx_exercises_design_patterns_solutions_composite Solution: Composite cxx_exercises_design_patterns_solutions_composite->cxx_exercises_design_patterns_composite cxx_exercises_design_patterns_solutions_proxy_remote Solution: Proxy (Remote Thermometer) cxx_exercises_design_patterns_solutions_proxy_remote->cxx_exercises_design_patterns_proxy_remote cxx_exercises_design_patterns_solutions_singleton_flexible_strict Solution: Singleton (Flexible And Strict) cxx_exercises_design_patterns_solutions_singleton_flexible_strict->cxx_exercises_design_patterns_singleton_flexible_strict cxx_design_patterns_command->cxx_design_patterns_composite cxx_design_patterns_command->cxx_design_patterns_uml cxx_design_patterns_command->cxx03_inheritance_oo_interface cxx_design_patterns_observer->cxx_design_patterns_uml cxx_design_patterns_observer->cxx03_inheritance_oo_interface cxx_design_patterns_composite->cxx_exercises_design_patterns_proxy_round cxx_design_patterns_composite->cxx_design_patterns_uml cxx_design_patterns_composite->cxx_design_patterns_proxy cxx_design_patterns_composite->cxx_design_patterns_sensor_hierarchy cxx_design_patterns_composite->cxx03_inheritance_oo_interface cxx_design_patterns_singleton->cxx_design_patterns_uml cxx_design_patterns_singleton->cxx03_inheritance_oo_interface cxx_design_patterns_abstract_factory->cxx_design_patterns_singleton cxx_design_patterns_abstract_factory->cxx_design_patterns_uml cxx_design_patterns_abstract_factory->cxx_design_patterns_sensor_hierarchy cxx_design_patterns_abstract_factory->cxx03_inheritance_oo_interface cxx_design_patterns_interpreter->cxx_design_patterns_uml cxx_design_patterns_interpreter->cxx03_inheritance_oo_interface cxx_design_patterns_adapter->cxx_design_patterns_uml cxx_design_patterns_adapter->cxx_design_patterns_sensor_hierarchy cxx_design_patterns_adapter->cxx03_inheritance_oo_interface cxx_design_patterns_uml->cxx03_inheritance_oo_interface cxx_design_patterns_proxy->cxx_design_patterns_uml cxx_design_patterns_proxy->cxx_design_patterns_sensor_hierarchy cxx_design_patterns_proxy->cxx03_inheritance_oo_interface cxx_design_patterns_sensor_hierarchy->cxx_design_patterns_uml cxx_design_patterns_sensor_hierarchy->cxx03_inheritance_oo_interface cxx_design_patterns_decorator->cxx_design_patterns_adapter cxx_design_patterns_decorator->cxx_design_patterns_uml cxx_design_patterns_decorator->cxx_design_patterns_sensor_hierarchy cxx_design_patterns_decorator->cxx03_inheritance_oo_interface c_introduction_installation Installation cxx03_introduction Introduction cxx03_introduction->c_introduction_installation cxx03_data_encapsulation_c Object Oriented Programming In Good Ol’ C cxx03_data_encapsulation_c->cxx03_introduction cxx03_data_encapsulation_ctor_default Default Constructor cxx03_data_encapsulation_ctor_custom Custom Constructor cxx03_data_encapsulation_ctor_default->cxx03_data_encapsulation_ctor_custom cxx03_data_encapsulation_ctor_dtor More Constructors, Destructors cxx03_data_encapsulation_ctor_dtor->cxx03_data_encapsulation_ctor_default cxx03_data_encapsulation_ctor_dtor->cxx03_data_encapsulation_ctor_custom cxx03_data_encapsulation_classes_objects Classes and Objects cxx03_data_encapsulation_classes_objects->cxx03_introduction cxx03_data_encapsulation_classes_objects->cxx03_data_encapsulation_c cxx03_data_encapsulation_ctor_custom->cxx03_data_encapsulation_classes_objects cxx03_inheritance_oo_virtual_destructor Virtual Destructors cxx03_inheritance_oo_polymorphism Polymorphic Usage Of Objects cxx03_inheritance_oo_virtual_destructor->cxx03_inheritance_oo_polymorphism cxx03_inheritance_oo_virtual_method Virtual Methods cxx03_inheritance_oo_virtual_destructor->cxx03_inheritance_oo_virtual_method cxx03_inheritance_oo_destructor Destructors And Inheritance cxx03_inheritance_oo_virtual_destructor->cxx03_inheritance_oo_destructor cxx03_inheritance_oo_polymorphism->cxx03_inheritance_oo_virtual_method cxx03_inheritance_oo_basics Inheritance Basics cxx03_inheritance_oo_virtual_method->cxx03_inheritance_oo_basics cxx03_inheritance_oo_destructor->cxx03_data_encapsulation_ctor_dtor cxx03_inheritance_oo_destructor->cxx03_inheritance_oo_basics cxx03_inheritance_oo_interface->cxx03_inheritance_oo_virtual_destructor cxx03_inheritance_oo_interface->cxx03_inheritance_oo_polymorphism cxx03_inheritance_oo_interface->cxx03_inheritance_oo_virtual_method cxx03_inheritance_oo_basics->cxx03_data_encapsulation_classes_objects