I wonder if there is anyone out there who can help me with a solution to an application I want to create.
This solution will contain two separate platforms, communicating with each other via network, serial ports, or something else. The first platform is a Windows platform and I will be using C#. The second platform is not a Windows platform, and I will be using C++. So, to state the problem as simply as possible;
I will create a class to use on the first platform we can call ClassA, with several member functions, such as FuncA1, FuncA2, etc... We can create any number of objects from this class, such as ClassA_Obj1, ClassA_Obj2, etc.
I will create a class to use on the second platform we can call ClassB, with several member functions, such as FuncB1, FuncB2, etc... We can create any number of objects from this class, such as ClassB_Obj1, ClassB_Obj2, etc.
There should be no naming restrictions on any of the above classes, objects, or functions. There should be no restrictions on the number of objects created from either class. All of the above is a framework to be used for new applications. The idea is that one object from each platform can call the functions of one another, but not from any other object.
This is my dilemma: I don’t want to use ‘if’, or ‘switch’ statements. I don’t want to have to build a table for every application created off of this framework. My intent is to build a framework that can be shared with other developers.
Does anyone know of a link to a video, paper, explanation, or example on the Internet that illustrates a solution to this problem?