CANdevStudio
Development tool for CAN bus simulation
|
#include <context.h>
Public Member Functions | |
Context (Args *... args) | |
template<typename T > | |
T & | get () const |
The class provides wrapper that enables to inject multiple dependencies to one class.
NOTE: Interfaces provided as template arguments must be unique
Used to construct the context and and initialize it with implementations. Class takes ownership over implementations
args | pointers to implementation of Args interfaces |
Get implementation of interfaces passed as template parameter