[eq-dev] Affecting Collage objects outside an Equalizer application
eilemann at gmail.com
Tue Feb 28 08:49:43 CET 2012
On 28. Feb 2012, at 2:41, cpapado [via Software] wrote:
> Dispatcher::Func(func) will static_cast the "_object" pointer in the functor to co::Dispatcher* (resulting in a pointer offset by 16 bytes). Then in my callback function the "this" pointer still points to the co::Dispatcher* pointer from above, but the pointer is no longer valid (previewing the contents in VS2008 looks weird). However, if I runtime-edit the pointer to point to the original CommandClient* pointer, everything works perfectly....
> Stefan do you have any insight on how to pursue this further?
Good catch. The CommandFunc stuff is really a bad hack. Please open a bug and we'll fix this. As a workaround, reordering your base classes might get rid of the pointer offset.
View this message in context: http://software.1713.n2.nabble.com/Affecting-Collage-objects-outside-an-Equalizer-application-tp7301888p7324763.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
More information about the eq-dev