Factory Manager Singleton cache for TransportFactory objects. The manager creates and caches the factories and keeps them in scope for the duration of its lifecycle.
More...
#include <transportfactorymanager.h>
Factory Manager Singleton cache for TransportFactory objects. The manager creates and caches the factories and keeps them in scope for the duration of its lifecycle.
Definition at line 55 of file transportfactorymanager.h.
◆ ~TransportFactoryManager()
EMANE::TransportFactoryManager::~TransportFactoryManager |
( |
| ) |
|
◆ TransportFactoryManager()
EMANE::TransportFactoryManager::TransportFactoryManager |
( |
| ) |
|
|
protected |
◆ destroy()
Destroys the single instance of type T. Once destroyed it cannot be used or recreated. This is not a thread-safe method.
Definition at line 67 of file singleton.h.
◆ getTransportFactory()
const EMANE::TransportFactory & EMANE::TransportFactoryManager::getTransportFactory |
( |
const std::string & |
sLibraryFile | ) |
|
◆ instance()
Provides thread-safe access to a single instance of type T. It does not provide thread-safety for T methods.
- Returns
- A pointer to T
Definition at line 56 of file singleton.h.
The documentation for this class was generated from the following files: