currently in the C++ implementation the xcp object is based on singleton pattern, because the C-style core code in xcpLite.c. I wonder is it possible to activate multiple xcp servers for c++ application class in one process? And implement the user defined callbacks in XcpAppl.c this way:
ApplXcpGetBaseAddr(void* obj);
thus using void* to to get access to the application class instance.
Maybe it is already planned in V6?
Thank you for your attention!
Hello,
currently in the C++ implementation the xcp object is based on singleton pattern, because the C-style core code in xcpLite.c. I wonder is it possible to activate multiple xcp servers for c++ application class in one process? And implement the user defined callbacks in XcpAppl.c this way:
ApplXcpGetBaseAddr(void* obj);
thus using
void*
to to get access to the application class instance. Maybe it is already planned in V6? Thank you for your attention!Best regards