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

Classes

class  UsbSurveyStorageFactory
 

Public Member Functions

const char * GetDrive ()
 
int Shutdown ()
 
virtual GeoFatFsSurveyStorageGetSimilarStorage ()
 
- Public Member Functions inherited from Geometrics::GeoFatFsSurveyStorage
int QuitAcquisition (int iAcquisitionIndex)
 
virtual int Close (int iFileIndex)
 
int WriteData (const char *pcData, unsigned int iDataSize, UInt32 ui32Topic)
 
int SetSessionFolder (const char **szSurveyName, const int iSessionId)
 
int SetSessionFileName (const char **szFileName, const int iSessionId)
 
int RunTestSuite ()
 
int ForEachFileInfo (const char *strSurveyId, const char *strAcquisitionId, std::function< void(FILINFO *fInfo)> handler)
 
int ListDataFilesEx (const char *strSurveyId, const char *strAcqusitionId, char pSessions[20][12], int iMaxFiles, int *piFilesCounted, int *piFilesReturned)
 
int ListAcquisitions (const char *strSurveyId, GmSessionNames *psnSessions)
 
int GetSessionDataSize (int iAcquisitionIndex, char *szSessionName, UInt32 *uiSize)
 
int SessionTimeString (int iAcquisitionIndex, char *szSessionName, char *szDestination)
 
int CreateNextSurveyEx (const char *strName, char *pcNewIdBuffer, int iBufferLength)
 
int GetActiveSurveyEx (char *szAnswerBuffer, int iAnswerBufferSize)
 
int CreateNewSurveyEx (const char *strId, const char *strName)
 
int GetAcquisitionInfoEx (const char *szSurveyId, const char *szAcquisitionId, char *szAcquisitionNameBuffer, int iAcquisitionNameBufferSize, bool *pFilesInDirectories, int *pDirectorySize)
 
int GetAcquisitionCachedLastFile (const char *szSurveyId, const char *szAcquisitionId, int *pLastFileCounted)
 
int LoadAcquisitionInfoEx (const char *szSurveyId, const char *szAcquisitionId)
 
int CreateAcquisitionEx (char *szSurveyId, const char *strAcquisitionId, const char *szNewAcquisitionName)
 
int CreateNextAcquisitionEx (char *szSurveyId, const char *szNewAcquisitionName, char *pcNewAcquisitionIdBuffer, int iAcquisitionIdBufferLength)
 
int AddAcquisitionInfoEx (const char *strSurveyId, const char *strAcquisitionId, const char *iAcquisitionName, Bool filesInDirectories, int directorySize)
 
int SaveSurveyInfoEx (const char *szSurveyId, const char *szName, Bool filesInDirectories)
 
int ListAcquisitionsEx (char **ppcResponse, const char *szSurveyId)
 
int ListAcquisitionsEx2 (char **ppcResponse, const char *szSurveyId, const Bool includeSizes)
 
int ListSurveysJsonEx (char **ppcResponse)
 
int ListDataFilesJsonEx (char **ppcResponse, const char *strSurveyId, const char *strAcquisitionId)
 
int ListDataFilesJsonEx2 (char **ppcResponse, const char *strSurveyId, const char *strAcquisitionId)
 
int GetActiveAcquisitionEx (char *szSurveyBuffer, int iSurveyBufferSize, char *szAcquisitionBuffer, int iAcquisitionBufferSize)
 
int GetAcquisitionCachedSize (const char *szSurveyId, const char *szAcquisitionId, int *pLastFileCounted, uint32_t *pRecordedSize)
 
int AcquisitionIsSet ()
 
int AddSurveyInfoEx (int iSurveyIndex, char *szSurveyName)
 
int SelectSurveyEx (const char *strSurveyId)
 
int CloseCurrentSurveyEx ()
 
int CloseCurrentAcquisitionEx ()
 
int SelectAcqJsonEx (const char *strSurveyId, const char *strAcquisitionId)
 
int AcquisitionExistsEx (const char *strSurveyId, const char *strAcquisitionId)
 
int SelectAcqEx (const char *strSurveyId, const char *strAcquisitionId)
 
int SurveyExistsEx (const char *strSurveyId)
 
int OpenNextFileEx (int iLastFile, const char *szOpenMode)
 
int FindSurveyByNameEx (const char *strSurveyName, char *strIdBuffer, const int iBufferSize)
 
int DeleteAcquisitionEx (const char *strSurveyId, const char *szAcquisitionId)
 
int CleanOldFiles ()
 
int AcquisitionTotalSize (const char *strSurveyId, const char *strAcquisitionId, UInt32 *pTotalSize, int32_t *pLastFileIndex)
 
int AcquisitionLastFile (const char *strSurveyId, const char *strAcquisitionId, int32_t *pLastFileIndex)
 
int DeleteFullAcquisitionEx (const char *strSurveyId, const char *szAcquisitionId)
 
int FileDataSizeEx (const char *strSurveyId, const char *strAcquisitionId, const char *strFileName, UInt32 *uiSize, const bool filesInDirectories, const int directorySize)
 
int FileDataSizeEx (const char *strSurveyId, const char *strAcquisitionId, const int fileIndex, UInt32 *uiSize, const bool filesInDirectories, const int directorySize)
 
int SurveyFileDataSize (const char *strSurveyId, const char *strAcquisitionId, bool filesInDirectories, int directorySize, int fileIndex, uint32_t *fileSize)
 
int FileTimeStringEx (const char *strSurveyId, const char *strAcquisitionId, const char *strFileName, char *szDestination)
 
int OpenDataFileToRead (const char *strSurveyId, const char *strAcquisitionId, const char *strFileName)
 
int OpenDataFileToRead (const char *strSurveyId, const char *strAcquisitionId, const int fileIndex, const bool filesInDirectories, const int directorySize)
 
int DeleteDataFileEx (const char *strSurveyId, const char *strAcquisitionId, const char *strFileName)
 
Int GetLastError ()
 
int RollAndSynchFile ()
 
void InitPaths ()
 
- Public Member Functions inherited from Geometrics::GeoFatFsStorage
virtual int Open (const char *szName, const char *szReadWrite)
 
int Seek (UInt32 uiLocation)
 
bool EndOfFile ()
 
int Verify (int iMarker)
 
int RunTestSuite ()
 
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 IsFileStorage ()
 
virtual int IsDataStorage ()
 
- Public Member Functions inherited from Geometrics::GmStorage
virtual bool IsOpen ()
 
void SetDatasetId (const int iDataset)
 
int GetDatasetId (bool increment)
 

Static Public Member Functions

static void SetAsSurveyStorageFactory (const char whichStorage)
 
- Static Public Member Functions inherited from Geometrics::GeoFatFsSurveyStorage
static int FileTimeToString (FILINFO *fno, char *szDestination)
 
static int DecodeDownloadName (const char *szDownloadName, char *strSurveyId, char *strAcquisitionName, char *strFileName)
 
static int BuildDownloadName (const char *strSurveyId, const char *strAcquisitionId, const char *strFileName, char *szDest)
 
static ISurveyStorageFactoryGetFactory (const char whichFactory)
 
static void SetFactory (const char whichStorage, ISurveyStorageFactory *pFactory)
 
- Static Public Member Functions inherited from Geometrics::GeoFatFsStorage
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 UsbSurveyStorageFactory s_usbSurveyStorageFactory
 
- Static Public Attributes inherited from Geometrics::GeoFatFsSurveyStorage
static ISurveyStorageFactorys_pSurveyStorageFactoryPrimary
 
static ISurveyStorageFactorys_pSurveyStorageFactoryZero
 
static ISurveyStorageFactorys_pSurveyStorageFactoryOne
 
- Static Public Attributes inherited from Geometrics::GeoFatFsStorage
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 ()
 
- Protected Member Functions inherited from Geometrics::GeoFatFsSurveyStorage
int SearchNextFileIndex (char *strSurveyPath, int *iNextNumber, Bool filesInDirectories, int directorySize)
 
int FindNextFileName (char *dest, const char *strSurveyPath, int *iNextNumber, Bool bIsText, Bool filesInDirectories, int directorySize)
 
int BuildOutputFileName (char *szDest, int iPathIndex, int iFileIndex, bool inDirectories, int directorySize, bool bIsText)
 
int BuildDataSetName (char *szDest, int iPathIndex, char *strDataSet)
 
int BuildOutputFileName (char *szDest, char *strSurveyPath, int iIndex, bool inDirectories, int directorySize, bool bIsText)
 
int GetAcquisitionPath (char *szDest, int iIndex)
 
int WriteNameBase (char *szDest, int iIndex)
 
int FindNextSurveyIndexEx (int *iDest)
 
int FindNextAcquisitionIdEx (const char *strSurveyId, char *pNewAcquisitionIdBuffer, int iBufferLength)
 
int CreateSurveyDirectoryEx (const char *szNewSurveyId)
 
int GetSurveyPath (char *szDest, int iIndex)
 
int CountAcquisitionFilesEx (const char *strSurveyId, const char *strAcquisitionId, int *iCounter)
 
int DeleteAcquisitionFilesEx (const char *strSurveyId, const char *strAcquisitionId)
 
int DeleteAcquisitionConfigFileEx (const char *strSurveyId, const char *strAcquisitionId)
 
int CreateAcquisitionDirectoryEx (const char *szSurveyId, const char *strAcqId)
 
int MakeSurveyId (char *pcDest, const int iBufferSize, const int iNewSurveyIndex)
 
int MakeAcquisitionIdEx (char *pcDest, const int iBufferSize, const int iNewAcquisitionIndex)
 
int OpenNextFileEx (const char *strAcquisitionDirectory, int iLastFile, const char *szOpenMode)
 
int GetAcquisitionConfigFilePath (const char *strSurveyId, const char *strAcquisitionId, char *buffer, const int iBufferSize)
 
int BuildDataFileNameEx (const char *strSurveyId, const char *strAcquisitionId, const char *strFileName, char *strBuffer, int iMaxBufferSize, const bool filesInDirectories, const int directorySize)
 
int BuildDataFileNameEx (const char *strSurveyId, const char *strAcquisitionId, const int fileIndex, char *strBuffer, int iMaxBufferSize, const bool filesInDirectories, const int directorySize)
 

Additional Inherited Members

- Static Protected Member Functions inherited from Geometrics::GeoFatFsSurveyStorage
static int GetAcquisitionDirectory (char *szDest, const char *strSurveyId, const char *strAcquisitionId)
 
static int GetSurveyPathEx (char *szDest, const char *szSurveyId)
 
static int GetAcquisitionPathEx (const char *szSurveyId, const char *strAcqId, char *strBuffer, int iBufferLength)
 
- Protected Attributes inherited from Geometrics::GeoFatFsSurveyStorage
int m_iNextFileIndex
 
char m_szCurrentActiveSurveyId [MAX_SURVEY_ID_LENGTH+1]
 
char m_szCurrentActiveAcquisitionId [MAX_ACQUISITION_ID_LENGTH+1]
 
Bool m_filesInDirectories
 
Bool m_directoriesNested
 
Bool m_directoryInfoLoaded
 
int m_directorySize
 
- Protected Attributes inherited from Geometrics::GeoFatFsStorage
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: