My Project
|
Public Member Functions | |
virtual NPL::NPLReturnCode | OnActivate (INPLRuntimeState *pState)=0 |
Function to be called when NPL.activate(filename, {msg}); subclass should always overwrite this function. More... | |
void | addref () const |
add reference count of the object. More... | |
bool | delref () const |
decrease reference count of the object. More... | |
int | GetRefCount () const |
get the reference count | |
virtual int | Release () |
Protected Attributes | |
int | m_refcount |
|
inline |
add reference count of the object.
|
inline |
decrease reference count of the object.
|
pure virtual |
Function to be called when NPL.activate(filename, {msg}); subclass should always overwrite this function.
usage: the input message in secure code format. Read data as follows: auto msg = NPLHelper::MsgStringToNPLTable(pState->GetCurrentMsg(), pState->GetCurrentMsgLength()); std::string sType = msg["type"];
Implemented in CNPLFile_ServerMainLoop, NPL::CNPLFile_Stats, and NPL::NPL_C_Func_ActivationFile.