Course Outline
- What’s an Embedded System?
- Simple Definition
- Key Milestones
- Characteristics
- Why use C++?
- Comparison with C
- C as a subset of C++ – almost
- Performance implications
- Added “Free” Functionality
- Reasons to avoid C++?
- Classes
- Member Variables
- Instance variables
- Class variables
- Member Functions
- Instance functions
- Class functions
- Implicit Methods
- Constructor
- Initialisation
- Delegation
- Destructor
- Copy assignment operator
- Constructor
- Move Semantics – avoiding unnecessary deep copies
- struct in C++
- Package/Namespace
- Member Variables
- Inheritance
- Introduction
- Implementation
- Performance considerations
- Multiple Inheritance
- Virtual Inheritance
- Polymorphism
- Introduction
- Virtual Functions
- Virtual Destructors
- Implementation details
- Runtime Type Information (RTTI)
- Performance implications
- Templates
- Introduction
- Function Templates
- Class Templates
- Variadic Templates
- Code Bloat
- Implementation Strategies
- Template Meta Programming
- Templates versus Inheritance?
- Error Handling
- Exception Handling
- Performance Issues
- Implementation
- Inline Code
- When to Use?
- Strategies
- Start-up
- System Start-up
- The C Component
- The C++ Component
- Standard Library
- Standard Template Library (STL)
- iostream Library
- Key STL extensions from C++11:
- Move semantics
- Variadic Templates
- Concurrency
- Memory Management
- The C++ Memory Model
- stdint-types
- Atomic types and their operations
- Strategies
- Variables
- Placement new
- User Defined Memory Management
- The C++ Memory Model
- Interoperation between C and C++
- Name Mangling
- Static Initialisation
- Dynamic Memory
- struct Contents
- POD – Plain Old Data type
- Design Patterns
- RAII – Resource Acquisition Is Initialisation
- Memory-mapped I/O
- Interrupts
- Initialisation of Static Objects
Requirements
There are no specific requirements needed to attend this course.
Testimonials (3)
Detailed explanation, re-iteration of points in a quite subtle way that really drove the knowledge home very well. Rod's willingness to double-check the odd obscure question that we rasied, to be sure that his answers were 100% right. Also, his interest in discussing the pros & cons of alternate coding styles so that we learnt not only how to use C++ in our intended way, but why it should be done that way.
Nick Dillon - cellxica Ltd
Course - Using C++ in Embedded Systems - Applying C++11/C++14
I enjoyed the time allocated for us to solve the exercices. This was very useful as it allowed us to spend some time thinking about our solutions and implementing them.
Valeriu - Siemens
Course - Using C++ in Embedded Systems - Applying C++11/C++14
The details on how compiler behaves depending on to the syntax usage. The "Quiz" sections are very stimulating