Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::DependencyInjector Class Reference

Proxy class used to obtain dependencies. More...

#include <DependencyManager.h>

Public Member Functions

template<typename T >
T * get ()
 Retrieve a specific dependencies, recording it and tracking unsatisfied dependencies.
 

Friends

class DependencyManager
 

Detailed Description

Proxy class used to obtain dependencies.

Definition at line 182 of file DependencyManager.h.

Member Function Documentation

◆ get()

template<typename T >
T * Boardcore::DependencyInjector::get ( )
inline

Retrieve a specific dependencies, recording it and tracking unsatisfied dependencies.

Returns
The requested dependency or nullptr if not found.

Definition at line 201 of file DependencyManager.h.

Friends And Related Symbol Documentation

◆ DependencyManager

friend class DependencyManager
friend

Definition at line 184 of file DependencyManager.h.


The documentation for this class was generated from the following files: