Tezzeret  1
Tezzeret
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Geometrics::GeoFatFsStorage Class Referenceabstract
Inheritance diagram for Geometrics::GeoFatFsStorage:
Inheritance graph
[legend]
Collaboration diagram for Geometrics::GeoFatFsStorage:
Collaboration graph
[legend]

Classes

class  IFatFsStorageFactory
 

Public Member Functions

virtual int Open (const char *szName, const char *szReadWrite)
 
int Seek (UInt32 uiLocation)
 
bool EndOfFile ()
 
int Verify (int iMarker)
 
int RunTestSuite ()
 
virtual int Shutdown ()=0
 
int Flush ()
 
int FileSize (const char *strFileName, UInt32 *uiSize)
 
int ReadStr (char *strBuffer, int iLength)
 
int ReadRaw (int dummy, char *pcBuffer, UInt32 uiLength, UInt32 *uiActualLengthRead)
 
virtual int Close (int iFileIndex)
 
virtual int WriteData (const char *pcData, unsigned int iDataSize, UInt32 ui32Topic)
 
virtual const char * GetDrive ()=0
 
virtual int IsFileStorage ()
 
virtual int IsDataStorage ()
 
- Public Member Functions inherited from Geometrics::GmStorage
virtual int EnterTransaction ()
 
virtual int LeaveTransaction ()
 
virtual int RollAndSynchFile ()
 
virtual int SelectSurveyEx (const char *strSurveyId)
 
virtual int GetLastError ()
 
virtual bool IsOpen ()
 
void SetDatasetId (const int iDataset)
 
int GetDatasetId (bool increment)
 

Static Public Member Functions

static GeoFatFsStorage::IFatFsStorageFactoryGetFactory (const char whichStorage=0)
 
static void SetFactory (const char whichStorage, GeoFatFsStorage::IFatFsStorageFactory *pFactory)
 
- Static Public Member Functions inherited from Geometrics::GmStorage
static int DecodeDownloadName (const char *szDownloadName, char *strSurveyId, char *strAcquisitionId, char *strFileName)
 

Static Public Attributes

static int s_iLastError = 0
 
static GeoFatFsStorage::IFatFsStorageFactorys_pStorageFactoryPrimary = NULL
 
static GeoFatFsStorage::IFatFsStorageFactorys_pStorageFactoryZero = NULL
 
static GeoFatFsStorage::IFatFsStorageFactorys_pStorageFactoryOne = NULL
 
- Static Public Attributes inherited from Geometrics::GmStorage
static int s_recordsPerFile = BLOCKS_PER_ACQUISITION_DATA_FILE
 

Protected Member Functions

virtual int GetFatFsBlockSize ()=0
 

Protected Attributes

bool m_hasOsFile
 
FIL m_fOsFile
 
char m_caCurrentOpenFileName [50]
 
int m_iCurrentOpenFile
 
int m_iBufferCount
 
bool m_bReadOnly
 
int m_iFatFsBlockSize
 
char m_caBlockBuffer [GEO_MAX_FATFS_BLOCK_SIZE]
 
- Protected Attributes inherited from Geometrics::GmStorage
bool m_bIsOpen
 
int m_iCurrentDataSetId
 
bool mIncrementDatasetId
 

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