My Project
|
define this to enable debugging of NPL code in visual studio More...
Classes | |
class | CAutoUpdaterClient |
CAutoUpdaterClietn also implements a dummy INPL Runtime state, so that it can receive call back from the autoupdater.dll activation. More... | |
struct | ChannelProperty |
default channel property More... | |
class | CNeuronFileState |
each neuron file that is activated will have a CNeuronFileState structure kept. More... | |
class | CNPL_imp |
implementation of INPL More... | |
class | CNPLConfig |
Current NPL configuration settings. More... | |
class | CNPLConnection |
A incoming or outgoing connection. More... | |
class | CNPLConnectionManager |
All incoming and outgoing connection sessions. More... | |
class | CNPLDispatcher |
this class serves as an interface between the low level socket interface and NPL message queues. More... | |
class | CNPLFile_Stats |
this is a sample code of how to explicitly define a INPLActivationFile handler in C++. More... | |
class | CNPLMessageQueue |
Message queue implementation. More... | |
class | CNPLMsgOut_gen |
for generating raw NPL output message. More... | |
class | CNPLNetServer |
Current NPL configuration settings. More... | |
class | CNPLRuntime |
CNPLRuntime is a wrapper of the NPL application programming interface (NPL API). More... | |
class | CNPLRuntimeState |
A runtime state contains the scripting runtime stack and can be run in a single thread. More... | |
class | CNPLStateMemAllocator |
memory allocator for NPL runtime state. More... | |
class | CNPLWriterT |
a simple class for creating NPL script code, especially data table code. More... | |
class | concurrent_ptr_queue |
it implements a producer/consumer(s) queue design pattern. More... | |
class | dummy_condition_variable |
dummy condition variable More... | |
struct | GliaFile |
GliaFiles in NPL are always executed in the receiver environment and share the same global environment in which they are executed. More... | |
class | IAutoUpdaterClient |
auto updater interface. More... | |
class | IMonoScriptingState |
This is the NPLMono DLL plugin interface. More... | |
class | INPL |
NPL root interface It can be used by plug-in dlls to access the NPL interface. More... | |
class | INPLActivationFile |
class | INPLRuntime |
NPL Runtime Environment interface. More... | |
class | INPLRuntimeState |
INPLRuntimeState interface for DLL interface. More... | |
class | INPLScriptingState |
NPLScriptingState interface. More... | |
struct | LexState |
lex state More... | |
struct | NeuronFile |
Neuron file is the primary file in NPL. More... | |
class | NPL_C_Func_ActivationFile |
for automatic C function NPL.activate() without registration. More... | |
struct | NPLAddress |
Obsoleted: the address of NPL runtime environment. More... | |
class | NPLBoolObject |
a boolean More... | |
class | NPLCodec |
transport layer NPL message compressor(encoder) and decompresser(decoder) Currently, we use a very simply custom encoding/decoding algorithm. More... | |
struct | NPLConnection_PtrOps |
a compare class connection ptr More... | |
struct | NPLFileName |
a globally unique name of a NPL file name instance. More... | |
class | NPLHelper |
a collection of helper functions. More... | |
class | NPLLex |
for lexer for NPL files More... | |
struct | NPLMessage |
an NPL message in the message queue. More... | |
struct | NPLMsgHeader |
header name and value pairs. More... | |
struct | NPLMsgIn |
A NPL msg received from a socket. More... | |
class | NPLMsgIn_parser |
Parser for incoming requests. More... | |
class | NPLMsgOut |
An outgoing message to be sent by a socket. More... | |
class | NPLNumberObject |
a floating point number More... | |
class | NPLObjectBase |
base class for all NPL date members. More... | |
class | NPLObjectProxy |
NPL object proxy. More... | |
class | NPLParser |
parser for NPL files. More... | |
struct | NPLRuntimeAddress |
The globally unique address of NPL runtime. More... | |
struct | NPLRuntimeState_PtrOps |
compare functions for runtime state ptr More... | |
class | NPLServerInfo |
Information of the local or a remote server. More... | |
class | NPLStringObject |
a floating point number More... | |
class | NPLTable |
this is a pure c++ implementation of lua table. More... | |
struct | NPLTimer |
timer struct More... | |
struct | SemInfo |
struct | STableStack |
only used internally More... | |
struct | Token |
class | UIReceivers |
NOT USED YET: a list of NPL runtime address. More... | |
struct | Zio |
Functions | |
ParaEngine::ClassDescriptor * | NPL_GetClassDesc () |
bool | DeserializePureDataBlock (LexState *ls, luabind::object_index_proxy &objProxy) |
bool | DeserializePureNPLDataBlock (LexState *ls, NPLObjectProxy &objProxy) |
void * | npl_mem_dl_alloc (void *ud, void *ptr, size_t osize, size_t nsize) |
this function can be provided as Lua memory allocator using dl_malloc e.g. More... | |
void * | npl_mem_alloc (void *ud, void *ptr, size_t osize, size_t nsize) |
this function can be provided as Lua memory allocator using CNPLStateMemAllocator e.g. More... | |
define this to enable debugging of NPL code in visual studio
Neural Parallel Language Runtime environment implementation is in this namespace.
whether to use .Net plugin for networking functionalities. If not, the C++ version is used.
bool NPL::DeserializePureDataBlock | ( | LexState * | ls, |
luabind::object_index_proxy & | objProxy | ||
) |
Fixed: 2008.6.3 LiXizhi the following is for auto indexed table items {"string1", "string2\r\n", 213, nil,["A"]="B", true, false, {"another table", "field1"}}
void* NPL::npl_mem_alloc | ( | void * | ud, |
void * | ptr, | ||
size_t | osize, | ||
size_t | nsize | ||
) |
this function can be provided as Lua memory allocator using CNPLStateMemAllocator e.g.
CNPLStateMemAllocator* m_pMemAlloc = new CNPLStateMemAllocator(); m_pState = lua_newstate(NPL::npl_mem_alloc, m_pMemAlloc);
ud | this must be pointer to CNPLStateMemAllocator |
void* NPL::npl_mem_dl_alloc | ( | void * | ud, |
void * | ptr, | ||
size_t | osize, | ||
size_t | nsize | ||
) |
this function can be provided as Lua memory allocator using dl_malloc e.g.
void* m_mspace = create_mspace(0, 0); m_pState = lua_newstate(NPL::npl_mem_dl_alloc, m_mspace);
ud | this must be mspace returned by create_mspace(0, 0); |