On Tuesday 14 May 2002 08:34, you wrote:

> Yeah, tell the people I work for not to use C++... ;-)

Will they listen if you tell them that, contrary to how it was advertised, 
rtlinux actually does not provide good support for C++? It is, after all, 
true...

We are currently working on a project in which the user side code is C++ and 
all the RT module code is plain C, and it's not a problem. After all, you can 
only communicate through shared memory or fifos...

Finally, if they really want an object oriented architecture, you can "build 
your own" objects in C: make your own C classes by using structs and 
functions that take a pointer to the struct as their first parameter 
(mimicking what C++ does "under the covers"). I did this when I needed to use 
a linked list and wanted to encapsulate it. A little more work and fewer 
features, but at least it compiles! The problem with the higher end features 
of C++ is that they were never designed for an RT environment.

Good luck,

Pablo Alvarez
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to