Hey Joseph, Rob,

I guess you are both indicating a limitation: WApplication::bind()
essentially returns a function without arguments, and thus all
arguments already have to be bound before the call, which makes it
useless when you want to pass on information from the external source.

As a workaround, perhaps you can rather than 'push' new information,
make the bound function 'poll' the information from the shared object
?

I believe it should be possible to make WApplication::bind() work
properly with any kind of function, including functions with free
parameters -- although that requires a bit of digging into the
meta-function possiblities of boost-ified c++...

In any case, using WApplication::bind() later on is not very useful --
it needs to happen with the session lock and with the objects bound
guaranteed to be alive at the moment of calling WApplication::bind().

Regards,
koen

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to