Just for simple "entity" communication.
I'm currently just reading up about sigslot but was wondering if there where any others.
Recommendations for an Open Source Message System
there are several options
either u use a callback system like sigslot or u make so called universal receive or setFunctions. But doing that u limit ur entities to only receive specific datatypes.
either u use a callback system like sigslot or u make so called universal receive or setFunctions. But doing that u limit ur entities to only receive specific datatypes.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
I wrote my own "any" class which is send via functors to registered entities.vitek wrote:If you don't need something that is very complicated, you can easily write your own. If you need to send/receive arbitrary data types, you can use something like io::IAttributes or boost::any to do that. The messaging system itself should be message type independent.
Travis
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.