My Project
Public Member Functions | List of all members
NPL::CNPLFile_Stats Class Reference

this is a sample code of how to explicitly define a INPLActivationFile handler in C++. More...

#include <NPLActivationFile.h>

Inheritance diagram for NPL::CNPLFile_Stats:
NPL::INPLActivationFile

Public Member Functions

virtual NPL::NPLReturnCode OnActivate (INPLRuntimeState *pState)
 example of EXPLICITLY define a function that is callable via NPL. More...
 
- Public Member Functions inherited from NPL::INPLActivationFile
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 ()
 

Additional Inherited Members

- Protected Attributes inherited from NPL::INPLActivationFile
int m_refcount
 

Detailed Description

this is a sample code of how to explicitly define a INPLActivationFile handler in C++.

Member Function Documentation

§ OnActivate()

NPL::NPLReturnCode CNPLFile_Stats::OnActivate ( INPLRuntimeState pState)
virtual

example of EXPLICITLY define a function that is callable via NPL.

NPL side: NPL.activate("stats.cpp", {type="log", text="hello world C++ file!"});

Implements NPL::INPLActivationFile.


The documentation for this class was generated from the following files: