ARMmaster17 / GDOTtrafficlights

A private research initiative to build a "smart" traffic light control system
Other
1 stars 1 forks source link

Port TLpserver to C++ #37

Closed ARMmaster17 closed 9 years ago

ARMmaster17 commented 9 years ago

TLpserver in its current state needs to be ported to C++ to avoid hits from CLR.

ARMmaster17 commented 9 years ago

Dependent of issue #36

ARMmaster17 commented 9 years ago

Ok, I added the project file. Just go into the TLpservercpp directory and start editing pipeMangaerCpp.cpp and pipeMangaerCpp.h. Just copy the code from TLpserver/Class1.cs but translating it into C++.

ARMmaster17 commented 9 years ago

Also, if a method is marked as "public" in Class1.cs, then remember to prototype it in the header file. This should help with access to the managed pipes: http://www.codeproject.com/Tips/420582/Inter-Process-Communication-between-Csharp-and-Cpl

ARMmaster17 commented 9 years ago

@SPiZlE you want to take this?

ARMmaster17 commented 9 years ago

Ok, porting it into a DLL type project may not be that simple. https://msdn.microsoft.com/en-us/library/ms235636.aspx

ARMmaster17 commented 9 years ago

Putting on hold until we actually start experiencing performance hits

ARMmaster17 commented 9 years ago

Closed, we will be doing the logic core in C#, so this is not neccessary