NatNet client memory management

NatNet, VRPN, TrackD, and Plugins
Post Reply
JeDi
Posts: 41
Joined: Thu Mar 10, 2011 3:59 am

NatNet client memory management

Post by JeDi »

Hi,

I am using the NatNet client class in C++, and I was wondering if I had to do any memory cleanup. The samples doesn't seem to clean up any memory. The functions I am talking about:

SendMessageAndWait writes to a void* message. How is that memory managed?

GetDataDescriptions writes to a sDataDescriptions** struct. Do I have to delete the struct afterwards?

I guess the memory of the parameters in the data and message callbacks are managed internally?

Greetings,
JeDi
Post Reply