MAK RTIspy API Documentation for HLA 1516
List of all members | Public Member Functions | Public Attributes | Private Member Functions
DtFileInformation Class Reference

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)
DtFileInformationoperator= (const DtFileInformation &orig)

Detailed Description

Helper class for storing files by name.

Constructor & Destructor Documentation

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
DtFileInformation::~DtFileInformation ( )
inline
DtFileInformation::DtFileInformation ( )
private
DtFileInformation::DtFileInformation ( const DtFileInformation orig)
private

Member Function Documentation

DtFileInformation& DtFileInformation::operator= ( const DtFileInformation orig)
private

Member Data Documentation

bool* DtFileInformation::myBlocksReceived

Files are transmitted in fragmented blocks, this array represents which blocks have been recv'd.

Referenced by DtFileInformation(), and ~DtFileInformation().

char* DtFileInformation::myBuffer

Memory storage of current file object.

Referenced by DtFileDistributor::fedFileUploaded(), and ~DtFileInformation().

bool DtFileInformation::myFileOwned

Do I own the filePointer? We allow ownership of the fp to be taken.

Referenced by DtFileDistributor::removeFile(), and ~DtFileInformation().

FILE* DtFileInformation::myFilePointer

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
MAKRti::DtString DtFileInformation::myFomModFileName
bool DtFileInformation::myFullyReceived

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().


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (www.mak.com)