C
corner76
Hi all,
I have designed, implemented and tested this code, and it runs
perfectly. Now we're porting it to ARM11, and its compiler doesn't
support virtual function in compination with something that's inherent
in our application and cannot be changed.
So I have to figure out how to implement virtuality myself.
I have a base class (representing a prameter) with some derived classes
(one per paramter type). I have a container of the base class objects,
that uses virtual functions to "work" with the objects.
I tried just using a void * array with one entry per virtual function.
The population is an issue because of type converstions. Then invoking
the methods is impossible without casting to the real type. Well - I'm
in a mess.
Help, anyone?
Thanks!
Keren.
I have designed, implemented and tested this code, and it runs
perfectly. Now we're porting it to ARM11, and its compiler doesn't
support virtual function in compination with something that's inherent
in our application and cannot be changed.
So I have to figure out how to implement virtuality myself.
I have a base class (representing a prameter) with some derived classes
(one per paramter type). I have a container of the base class objects,
that uses virtual functions to "work" with the objects.
I tried just using a void * array with one entry per virtual function.
The population is an issue because of type converstions. Then invoking
the methods is impossible without casting to the real type. Well - I'm
in a mess.
Help, anyone?
Thanks!
Keren.