engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FSocketSubsystemModule类 参考

Socket subsystem module class Wraps the loading of an socket subsystem by name and allows new services to register themselves for use 更多...

#include <SocketSubsystemModule.h>

+ 类 FSocketSubsystemModule 继承关系图:

Public 成员函数

virtual class ISocketSubsystem * GetSocketSubsystem (const FName InSubsystemName=NAME_None)
 Main entry point for accessing a socket subsystem by name Will load the appropriate module if the subsystem isn't currently loaded It's possible that the subsystem doesn't exist and therefore can return NULL 更多...
 
virtual void RegisterSocketSubsystem (const FName FactoryName, class ISocketSubsystem *Factory, bool bMakeDefault=false)
 Register a new socket subsystem interface with the base level factory provider 更多...
 
virtual void ShutdownModule () override
 Called before the module is unloaded, right before the module object is destroyed. 更多...
 
virtual void StartupModule () override
 Called right after the module DLL has been loaded and the module object has been created Overloaded to allow the default subsystem a chance to load
 
virtual bool SupportsAutomaticShutdown () override
 Override this to set whether your module would like cleanup on application shutdown 更多...
 
virtual bool SupportsDynamicReloading () override
 Override this to set whether your module is allowed to be unloaded on the fly 更多...
 
virtual void UnregisterSocketSubsystem (const FName FactoryName)
 Unregister an existing online subsystem interface from the base level factory provider 更多...
 
- Public 成员函数 继承自 IModuleInterface
virtual bool IsGameModule () const
 Returns true if this module hosts gameplay code 更多...
 
virtual void PostLoadCallback ()
 Called after the module has been reloaded
 
virtual void PreUnloadCallback ()
 Called before the module has been unloaded
 
virtual void ShutdownModule ()
 Called before the module is unloaded, right before the module object is destroyed. 更多...
 
virtual void StartupModule ()
 Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. 更多...
 
virtual bool SupportsAutomaticShutdown ()
 Override this to set whether your module would like cleanup on application shutdown 更多...
 
virtual bool SupportsDynamicReloading ()
 Override this to set whether your module is allowed to be unloaded on the fly 更多...
 
virtual ~IModuleInterface ()
 Note: Even though this is an interface class we need a virtual destructor here because modules are deleted via a pointer to this interface

 

详细描述

Socket subsystem module class Wraps the loading of an socket subsystem by name and allows new services to register themselves for use

成员函数说明

◆ GetSocketSubsystem()

virtual class ISocketSubsystem * FSocketSubsystemModule::GetSocketSubsystem ( const FName  InSubsystemName = NAME_None)
virtual

Main entry point for accessing a socket subsystem by name Will load the appropriate module if the subsystem isn't currently loaded It's possible that the subsystem doesn't exist and therefore can return NULL

参数
SubsystemName- name of subsystem as referenced by consumers
返回
Requested socket subsystem, or NULL if that subsystem was unable to load or doesn't exist

◆ RegisterSocketSubsystem()

virtual void FSocketSubsystemModule::RegisterSocketSubsystem ( const FName  FactoryName,
class ISocketSubsystem *  Factory,
bool  bMakeDefault = false 
)
virtual

Register a new socket subsystem interface with the base level factory provider

参数
FactoryName- name of subsystem as referenced by consumers
Factory- instantiation of the socket subsystem interface, this will take ownership
bMakeDefault- make this subsystem the default

◆ ShutdownModule()

virtual void FSocketSubsystemModule::ShutdownModule ( )
overridevirtual

Called before the module is unloaded, right before the module object is destroyed.

Overloaded to shut down all loaded online subsystems

重载 IModuleInterface .

◆ SupportsAutomaticShutdown()

virtual bool FSocketSubsystemModule::SupportsAutomaticShutdown ( )
inlineoverridevirtual

Override this to set whether your module would like cleanup on application shutdown

返回
Whether the module supports shutdown on application exit

重载 IModuleInterface .

◆ SupportsDynamicReloading()

virtual bool FSocketSubsystemModule::SupportsDynamicReloading ( )
inlineoverridevirtual

Override this to set whether your module is allowed to be unloaded on the fly

返回
Whether the module supports shutdown separate from the rest of the engine.

重载 IModuleInterface .

◆ UnregisterSocketSubsystem()

virtual void FSocketSubsystemModule::UnregisterSocketSubsystem ( const FName  FactoryName)
virtual

Unregister an existing online subsystem interface from the base level factory provider

参数
FactoryName- name of subsystem as referenced by consumers

该类的文档由以下文件生成: