Distributes fomModule files from initiating federate to RtiExec and then from RtiExec to all joining federates.
More...
|
| | DtAsyncFileDistributorRunnable (DtFedExec *parent) |
| | Fedex Constructor. More...
|
| |
| virtual | ~DtAsyncFileDistributorRunnable () |
| | Destructor. More...
|
| |
virtual DtUniquePtr
< DtDistributorThreadEvent > | getNextEvent () |
| |
| virtual void | postCommand (DtUniquePtr< DtFedExecDistribFunctor > cmd) |
| |
| virtual void | setOnExitHandler (const DtDistributorThreadEvent &fn) |
| |
| virtual void | registerUploadFedFileToExecEvent (const DtDistribFunctor &fn) |
| |
| virtual void | registerFedFileRequestsEvent (const DtDistribFunctor &fn) |
| |
| virtual void | registerRequestedModulesArrivedEvent (const DtDistribFunctor &fn) |
| |
| virtual void | registerTakeFileEvent (const DtDistribFunctor &fn) |
| |
| virtual void | registerPushFedFileToFederatesEvent (const DtDistribFunctor &fn) |
| |
| virtual void | registerPushFedFileToSingleFederateEvent (const DtDistribFunctor &fn) |
| |
| virtual void | run () |
| | Thread Functions. More...
|
| |
| virtual void | requestFedFileUploadToExec (const unsigned long initiatingFedID, const std::vector< DtString > *modules) |
| |
| virtual bool | sendFedFile (const std::vector< DtString > &modules, DtFederateHandle recipient) |
| |
| virtual void | fedFileUploaded (const DtString fileUploaded) |
| | Called when Fom Module received successfully. More...
|
| |
| void | processTakeFileCmd (std::map< DtString, DtFileInformation * >) |
| |
| void | processPushFedFileToAllFederates (DtString name, int size, const char *buff, unsigned long destination) |
| |
| void | processFileRequested (const DtFomModuleRequestMsg &cmd) |
| |
| void | processFileReceived (const DtFomModuleDistributionMsg &cmd) |
| |
| bool | requestsPending () const |
| | Are there outstanding requests to be handled? More...
|
| |
| virtual bool | sendFedFile (const std::vector< MAKRti::DtString > &modules) |
| | Override sendFedFile upload fed files passed in. More...
|
| |
| virtual bool | pushFedFile (DtConnectionMgr *connMgr, const MAKRti::DtString &fileName, const unsigned int fileSize, const char *fileBuffer, const DtFederateHandle destination=0) |
| | pushFedFile More...
|
| |
| virtual void | fedFileUploaded (const MAKRti::DtString fileUploaded) |
| | Called when Fom Module received successfully. More...
|
| |
| virtual bool | fileReceived (const DtFomModuleDistributionMsg &msg, bool &areAllHere) |
| |
| virtual bool | fileRequested (const DtFomModuleRequestMsg &msg) |
| |
| virtual void | removeFile (const MAKRti::DtString fileName) |
| | Remove all knowledge of this file from myFiles. More...
|
| |
| virtual void | removeFiles (const std::vector< MAKRti::DtString > &modules) |
| | Remove all knowledge of these file from myFiles. More...
|
| |
| virtual bool | fedFileReady (const MAKRti::DtString &fileName) const |
| | Does the distributor have a valid copy of this fom Module. More...
|
| |
| virtual bool | fedFilesReady (const std::vector< MAKRti::DtString > *fileNames) const |
| | Does the distributor have a valid copy of all of these fom Modules. More...
|
| |
| const FILE * | fedFilePtr (MAKRti::DtString fileName) const |
| | Get the fed file pointer. More...
|
| |
| const char * | fedFileBuff (MAKRti::DtString fileName) const |
| | Get the fed file buffer. More...
|
| |
| DtFileInformation * | takeFedFile (MAKRti::DtString fileName) |
| | Take ownership of the file. More...
|
| |
| unsigned int | fileSize (MAKRti::DtString fileName) const |
| |
| FILE * | getTmpFile () |
| |
| void | setFedHandle (unsigned int newHandle) |
| | Set the Fed Handle of the distributor. More...
|
| |
| void | setFedexHandle (unsigned int newHandle) |
| |
| bool | requestsPending () const |
| | Are there outstanding requests to be handled? More...
|
| |
Distributes fomModule files from initiating federate to RtiExec and then from RtiExec to all joining federates.