![]() |
MAK RTIspy API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 2007 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: forwarderFedexMsgProcessor.h,v $ $Revision: 1.4 $ $State: Exp $ 00007 *********************************************************************/ 00010 00011 #ifndef DtForwarderFedexMsgProcessor_H_ 00012 #define DtForwarderFedexMsgProcessor_H_ 00013 00014 #include "forwarderNode.h" 00015 #include "rtiMsConfig.h" 00016 #include <vlutil/vlUtil.h> 00017 00018 class DtForwarderFedexMsgFilter; 00019 00028 class DT_DLL_FORWARDER DtForwarderFedexMsgProcessor 00029 { 00030 public: 00032 typedef bool (DtForwarderFedexMsgProcessor::* DestinationProcessingMemberCb)( 00033 const DtInetAddrAndPort& src, DtForwarderPort::DtAddressPortList& destinations ); 00034 00036 DtForwarderFedexMsgProcessor( DtBoost::shared_ptr<DtForwarderNode> parent ); 00037 00039 virtual ~DtForwarderFedexMsgProcessor(); 00040 00043 virtual bool processFedexMsgDestinations ( const DtInetAddrAndPort& src, 00044 DtForwarderPort::DtAddressPortList& destinations ); 00045 00047 virtual DtInetAddrAndPort rootForwarder(); 00048 00050 virtual DtInetAddrAndPort localNodeAddress(); 00051 00053 virtual bool isSmartForwardingEnabled(); 00054 00055 protected: 00056 00057 DtBoost::shared_ptr<DtForwarderNode> myParent; 00058 DtForwarderFedexMsgFilter* myMsgToOutFilter; 00059 00060 }; 00061 00062 #endif //! DtForwarderFedexMsgProcessor_H_ 00063