Thread-unsafe type container (for backwards compatibility). 更多...
#include <TypeContainer.h>
类 FTypeContainer 继承关系图:额外继承的成员函数 | |
Public 成员函数 继承自 TTypeContainer< ESPMode::Fast > | |
| TSharedRef< R, Mode > | GetInstance () const |
| Gets a shared pointer to an instance of the specified class. 更多... | |
| TSharedRef< R, Mode > | GetInstanceRef () const |
| Gets a shared reference to an instance of the specified class. 更多... | |
| bool | IsRegistered () const |
| Check whether the specified class has been registered. 更多... | |
| void | RegisterClass (ETypeContainerScope Scope=ETypeContainerScope::Process) |
| Registers a class for instances of the specified class. 更多... | |
| void | RegisterDelegate (D Delegate) |
| Register a factory delegate for the specified class. 更多... | |
| void | RegisterFactory (const TFunction< TSharedRef< R, Mode >()> &CreateFunc) |
| Register a factory function for the specified class. 更多... | |
| void | RegisterFactory (const TFunction< TSharedRef< R, Mode >(TSharedRef< P0, Mode >, TSharedRef< P, Mode >...)> &CreateFunc) |
| Register a factory function for the specified class. 更多... | |
| void | RegisterInstance (const TSharedRef< T, Mode > &Instance) |
| Registers an existing instance for the specified class. 更多... | |
| void | Unregister () |
| Unregisters the instance or class for a previously registered class. 更多... | |
Protected 成员函数 继承自 TTypeContainer< ESPMode::Fast > | |
| void | AddProvider (const TCHAR *Name, const TSharedPtr< IInstanceProvider > &Provider) |
| Add an instance provider to the container. 更多... | |
Thread-unsafe type container (for backwards compatibility).