Course Outline
- Understanding Embedded Systems
- Basic Definition
- Key Historical Milestones
- Defining Characteristics
- Rationale for Using C++
- C vs. C++ Comparison
- C as a near-subset of C++
- Performance Implications
- Additional 'Free' Functionality in C++
- Arguments Against Using C++
- Class Mechanics
- Member Variables
- Instance Variables
- Class Variables
- Member Functions
- Instance Functions
- Class Functions
- Special Member Functions
- Constructors
- Initialization
- Delegation
- Destructors
- Copy Assignment Operators
- Constructors
- Move Semantics – Preventing Unnecessary Deep Copies
- Usage of struct in C++
- Namespaces and Packaging
- Member Variables
- Inheritance
- Overview
- Implementation Details
- Performance Impact
- Multiple Inheritance
- Virtual Inheritance
- Polymorphism
- Overview
- Virtual Functions
- Virtual Destructors
- Implementation Strategies
- Runtime Type Information (RTTI)
- Performance Considerations
- Templates
- Overview
- Function Templates
- Class Templates
- Variadic Templates
- Addressing Code Bloat
- Implementation Approaches
- Template Meta-Programming
- Templates vs. Inheritance
- Error Management
- Exception Handling
- Performance Concerns
- Underlying Implementation
- Inline Code
- Appropriate Use Cases
- Strategic Considerations
- System Initialization
- System Boot Process
- C Language Components
- C++ Language Components
- Standard Libraries
- Standard Template Library (STL)
- iostream Library
- Key STL Extensions from C++11:
- Move Semantics
- Variadic Templates
- Concurrency
- Memory Handling
- The C++ Memory Model
- stdint Types
- Atomic Types and Operations
- Management Strategies
- Variable Handling
- Placement new
- Custom Memory Management
- The C++ Memory Model
- C and C++ Interoperability
- Name Mangling
- Static Initialization
- Dynamic Memory Interaction
- struct Contents
- POD – Plain Old Data
- Embedded Design Patterns
- RAII – Resource Acquisition Is Initialization
- Memory-Mapped I/O
- Interrupt Handling
- Static Object Initialization
Requirements
No specific prior requirements are necessary 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