Public Member Functions | |
const Burger::StaticRTTI * | get_StaticRTTI (void) const noexcept override |
Get the description to the class. | |
NetworkModule (NetworkManager *pNetworkManager, eNetworkProtocol uType) | |
Base constructor for a NetworkModule. | |
virtual | ~NetworkModule () |
Base destructor for a NetworkModule. | |
ForwardLink * | GetForwardLink (void) |
uint_t | IsAllocated (void) const |
eNetworkProtocol | GetType (void) const |
NetworkManager * | GetNetworkManager (void) const |
virtual eError | GetInfo (NetworkModuleInfo_t *pOutput) const =0 |
virtual NetworkEndpoint * | NewEndpoint (void)=0 |
virtual NetworkModuleSettings * | NewSettings (uint32_t uGameID, const char *pGameName)=0 |
virtual eError | NotificationLock (eSocketFlags uFlags) |
Obtain the module lock. | |
virtual eError | NotificationUnlock (eSocketFlags uFlags) |
Release the module lock. | |
void | Poll (void) noexcept |
Public Member Functions inherited from Burger::Base | |
const char * | get_class_name (void) const noexcept |
Get the name of the class. | |
virtual | ~Base () noexcept=default |
Destructor. | |
Static Public Member Functions | |
static NetworkModule * | Fixup (ForwardLink *pInput) |
Static Public Attributes | |
static const Burger::StaticRTTI | g_StaticRTTI |
static const uint32_t | kVersion = 0x100 |
Version 1.0. | |
Static Public Attributes inherited from Burger::Base | |
static const Burger::StaticRTTI | g_StaticRTTI |
The global description of the class. | |
Protected Attributes | |
ForwardLink | m_NextModule |
Next module in the linked list. | |
NetworkManager * | m_pNetworkManager |
Parent network manager. | |
uint_t | m_bAllocated |
Was allocated using New() | |
eNetworkProtocol | m_uType |
Module type. | |
Private Member Functions | |
NetworkModule (const NetworkModule &)=delete | |
NetworkModule & | operator= (const NetworkModule &)=delete |
NetworkModule (NetworkModule &&)=delete | |
NetworkModule & | operator= (NetworkModule &&)=delete |
|
privatedelete |
|
privatedelete |
Burger::NetworkModule::NetworkModule | ( | NetworkManager * | pNetworkManager, |
eNetworkProtocol | uType ) |
Base constructor for a NetworkModule.
pNetworkManager | Pointer a NetworkManager that handles global network OS calls. |
uType | Protocol type set by the derived class |
|
virtual |
Base destructor for a NetworkModule.
|
inlinestatic |
|
overridevirtualnoexcept |
Get the description to the class.
This virtual function will pull the pointer to the StaticRTTI instance that has the name of the class. Due to it being virtual, it will be the name of the most derived class.
Reimplemented from Burger::Base.
|
inline |
|
pure virtual |
Implemented in Burger::NetworkModuleTCP.
|
inline |
|
inline |
|
inline |
|
pure virtual |
Implemented in Burger::NetworkModuleTCP.
|
pure virtual |
Implemented in Burger::NetworkModuleTCP.
|
virtual |
Obtain the module lock.
uFlags | Which lock is requested, the datagram or the stream? |
Reimplemented in Burger::NetworkModuleTCP.
|
virtual |
Release the module lock.
uFlags | Which lock is requested, the datagram or the stream? |
Reimplemented in Burger::NetworkModuleTCP.
|
privatedelete |
|
privatedelete |
|
inlinenoexcept |
|
static |
|
static |
Version 1.0.
|
protected |
Next module in the linked list.
|
protected |
Parent network manager.
|
protected |
Module type.