FX::FXIPCChannelIndirector Class Reference

#include <FXIPC.h>

Inheritance diagram for FX::FXIPCChannelIndirector:

FX::TnFXSQLDB_ipc FX::TnFXSQLDBServer List of all members.

Detailed Description

Base class indirecting messages to be sent over a subclass of a FX::FXIPCChannel.

FX::FXIPCChannel can't know what kind of application you have put it to eg; how messages are routed, how you implemented message tunnelling etc. Therefore, to aid code genericity, this little class inspects via metaprogramming how you've subclassed FX::FXIPCChannel so that other TnFOX code can invoke the correct underlying code.

Definition at line 859 of file FXIPC.h.

Protected Member Functions

 FXIPCChannelIndirector ()
FXIPCChannelchannel () const throw ()
FXuint msgChunk () const throw ()
FXuint msgRouting () const throw ()
template<class msgchunk, class channel>
void setIPCChannel (channel *_channel, FXuint addToMsgType=msgchunk::BaseCode, FXuint _routing=0)
template<class msgacktype, class msgtype>
bool sendMsg (msgacktype *FXRESTRICT msgack, msgtype *FXRESTRICT msg, FXuint waitfor=FXINFINITE)
template<class msgacktype, class msgtype>
bool sendMsg (msgacktype &msgack, msgtype &msg, FXuint waitfor=FXINFINITE)
template<class msgtype>
bool sendMsg (msgtype *msg)
template<class msgtype>
bool sendMsg (msgtype &msg)
bool getMsgAck (FXIPCMsg *FXRESTRICT msgack, FXIPCMsg *FXRESTRICT msg, FXuint waitfor=FXINFINITE)
bool getMsgAck (FXIPCMsg &msgack, FXIPCMsg &msg, FXuint waitfor=FXINFINITE)


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:34:33 2009 for TnFOX by doxygen v1.4.7