![]() |
MAK RTIspy API Documentation for HLA 1516
|
Helper class for storing files by name. More...
Collaboration diagram for DtFileInformation:Public Member Functions | |
| DtFileInformation (MAKRti::DtString fomModFileName, unsigned int numBlocks=0, FILE *fp=0, char *buff=0, bool fullyReceived=false, unsigned int fileSize=0, bool owned=true) | |
| ~DtFileInformation () | |
Public Attributes | |
| MAKRti::DtString | myFomModFileName |
| const unsigned int | myNumBlocks |
| How many blocks were specified in the original message. | |
| unsigned int | myFileSize |
| FILE * | myFilePointer |
| The fp to the. This may be deprecated as we can simply receive and process mem buffers. | |
| bool | myFileOwned |
| Do I own the filePointer? We allow ownership of the fp to be taken. | |
| char * | myBuffer |
| Memory storage of current file object. | |
| bool | myFullyReceived |
| Is the file object complete? Does buff represent the whole file? | |
| bool * | myBlocksReceived |
| Files are transmitted in fragmented blocks, this array represents which blocks have been recv'd. | |
Private Member Functions | |
| DtFileInformation () | |
| DtFileInformation (const DtFileInformation &orig) | |
| DtFileInformation & | operator= (const DtFileInformation &orig) |
Helper class for storing files by name.
| DtFileInformation::DtFileInformation | ( | MAKRti::DtString | fomModFileName, |
| unsigned int | numBlocks = 0, |
||
| FILE * | fp = 0, |
||
| char * | buff = 0, |
||
| bool | fullyReceived = false, |
||
| unsigned int | fileSize = 0, |
||
| bool | owned = true |
||
| ) | [inline] |
References myBlocksReceived, myFullyReceived, and myNumBlocks.
| DtFileInformation::~DtFileInformation | ( | ) | [inline] |
References myBlocksReceived, myBuffer, myFileOwned, and myFilePointer.
| DtFileInformation::DtFileInformation | ( | ) | [private] |
| DtFileInformation::DtFileInformation | ( | const DtFileInformation & | orig | ) | [private] |
| DtFileInformation& DtFileInformation::operator= | ( | const DtFileInformation & | orig | ) | [private] |
Files are transmitted in fragmented blocks, this array represents which blocks have been recv'd.
Referenced by DtFileInformation(), and ~DtFileInformation().
Memory storage of current file object.
Referenced by DtFileDistributor::fedFileUploaded(), and ~DtFileInformation().
Do I own the filePointer? We allow ownership of the fp to be taken.
Referenced by DtFileDistributor::removeFile(), and ~DtFileInformation().
The fp to the. This may be deprecated as we can simply receive and process mem buffers.
Referenced by DtFileDistributor::fedFileUploaded(), DtFedExec::processJoin(), and ~DtFileInformation().
| unsigned int DtFileInformation::myFileSize |
Referenced by DtFileDistributor::fedFileUploaded().
| MAKRti::DtString DtFileInformation::myFomModFileName |
Referenced by DtFileDistributor::sendFedFile().
Is the file object complete? Does buff represent the whole file?
Referenced by DtFileInformation().
| const unsigned int DtFileInformation::myNumBlocks |
How many blocks were specified in the original message.
Referenced by DtFileInformation().