simGetSimulatorMessageRetrieves and removes the next message in the C/C++ or Lua message queues. Use this in a while-loop until all messages have been extracted. While the C/C++ interface has one single message queue, each Lua script has its own message queue. The C/C++ version of this function should only be called from the CoppeliaSim client application. A given message queue cannot hold more than 64 messages, unread messages will be discarded. C++ synopsischar* simGetSimulatorMessage(int* messageID, int* auxiliaryData, int* returnedDataSize)
Arguments
Return
|