Oo

Lecture 6 Design Patterns

Design Patterns in C++

Lecture 5 Introduction to OO

Introduction to OO

Lecture 6 Inheritance From Generalization to Specialization

Inheritance in C++

Lecture 6 Classes and Objects

Classes and Objects

Lecture 7 Design Patterns

Design Patterns

Lecture 7 Object Lifetimes

Object Lifetimes

Lecture 8 Operator Overloading

Operator Overloading

Lecture 9 The Standard Template Library

STL in C++

Lab 3 Test Driven Development

Aims The aim of this lab is to introduce the process of test driven development (TDD) and develop some simple tests, we will use the following steps. Project Setup Test Setup Test Driven Design of a Simple RGBA class using Version control Storing Pixels It is common to store image pixel data using a single unsigned int32_t data type. In C/C++ this is quite simple, however in python these things are a little harder as we don’t have the same data types. For our example we are going to use a single integer value called pixel to store our RGBA values but we will need to encode them using some logic.

Lab 4 OO in Python

Aims The aim of this lab is to investigate Object Orientation in python The principles of S.O.L.I.D Classes in Python OO Design principles SOLID Is A mnemonic to remember the first five principles of Object Oriented design