41 void *
operator new(
size_t nSize) {
42 return PoolMemAlloc(
static_cast<int>(nSize),
"InetConfigsResultMsg", 0);
50 void operator delete(
void *pBlock) {
92 return "InetConfigsResultMsg";
121 std::list<InetConfig> mConfigs;
const char * GetName() const override
Report this message's class name.
Definition inetconfigsresultmsg.h:91
const std::list< InetConfig > & GetConfigs() const
Definition inetconfigsresultmsg.h:105
int GetResult() const
Definition inetconfigsresultmsg.h:115
InetConfigsResultMsg(int nResult)
Construct a result with no configurations.
Definition inetconfigsresultmsg.h:32
Message * Clone() override
Produce a heap copy of this message.
Definition inetconfigsresultmsg.h:69
~InetConfigsResultMsg() override=default
Release the message and its configurations.
void PrintExtra(PrnStream &stream) const override
Write the result, and the configurations after a success.
int Type() override
Report this message's registered identity.
Definition inetconfigsresultmsg.h:80
std::list< InetConfig > & GetConfigs()
Definition inetconfigsresultmsg.h:110
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
Text output stream.
Definition prnstream.h:16
int g_nInetConfigsResultMsgType
Identity that InetConfigsResultMsg::Type() reports.
void * PoolMemAlloc(int nSize, const char *pszTag, int nAlign)
Allocate a block from the pool heaps and bill it to a tag.
void PoolMemFree(void *pBlock)
Return a block PoolMemAlloc() handed out to the pool heap that owns it.