Public Member Functions | Private Member Functions | Private Attributes | List of all members
cDeviceLogKML Class Reference

#include <DeviceLogKML.h>

Inheritance diagram for cDeviceLogKML:
Inheritance graph
[legend]

Public Member Functions

bool CloseAllFiles () OVERRIDE
 
bool CloseWriteFile (int kid, sKmlLog &log)
 
void InitDeviceForWriting (int pHandle, std::string timestamp, std::string directory, uint64_t maxDiskSpace, uint32_t maxFileSize) OVERRIDE
 
std::string LogFileExtention () OVERRIDE
 
bool OpenWithSystemApp (void) OVERRIDE
 
p_data_tReadData () OVERRIDE
 
bool SaveData (p_data_hdr_t *dataHdr, const uint8_t *dataBuf) OVERRIDE
 
void SetSerialNumber (uint32_t serialNumber) OVERRIDE
 
- Public Member Functions inherited from cDeviceLog
 cDeviceLog ()
 
uint32_t FileCount ()
 
uint64_t FileSize ()
 
virtual void Flush ()
 
const dev_info_tGetDeviceInfo ()
 
virtual void InitDeviceForReading ()
 
virtual void InitDeviceForWriting (int pHandle, string timestamp, string directory, uint64_t maxDiskSpace, uint32_t maxFileSize)
 
uint64_t LogSize ()
 
void SetDeviceInfo (const dev_info_t *info)
 
void SetKmlConfig (bool showTracks=true, bool showPoints=true, bool showPointTimestamps=true, double pointUpdatePeriodSec=1.0, bool altClampToGround=true)
 
bool SetupReadInfo (const string &directory, const string &deviceName, const string &timeStamp)
 
virtual ~cDeviceLog ()
 

Private Member Functions

bool OpenNewSaveFile (int kid, sKmlLog &log)
 
bool ReadChunkFromFile ()
 
p_data_tReadDataFromChunk ()
 
bool WriteDateToFile (const p_data_hdr_t *dataHdr, const uint8_t *dataBuf)
 

Private Attributes

cDataKML m_kml
 
sKmlLog m_Log [cDataKML::MAX_NUM_KID]
 

Additional Inherited Members

- Protected Member Functions inherited from cDeviceLog
string GetNewFileName (uint32_t serialNumber, uint32_t fileCount, const char *suffix)
 
void OnReadData (p_data_t *data)
 
bool OpenNewSaveFile ()
 
bool OpenNextReadFile ()
 
- Protected Attributes inherited from cDeviceLog
bool m_altClampToGround
 
dev_info_t m_devInfo
 
string m_directory
 
uint32_t m_fileCount
 
string m_fileName
 
vector< string > m_fileNames
 
uint64_t m_fileSize
 
uint64_t m_logSize
 
uint64_t m_maxDiskSpace
 
uint32_t m_maxFileSize
 
cISLogFileBasem_pFile
 
int m_pHandle
 
double m_pointUpdatePeriodSec
 
bool m_showPoints
 
bool m_showPointTimestamps
 
bool m_showTracks
 
string m_timeStamp
 

Detailed Description

Definition at line 41 of file DeviceLogKML.h.

Member Function Documentation

◆ CloseAllFiles()

bool cDeviceLogKML::CloseAllFiles ( )
virtual

Reimplemented from cDeviceLog.

Definition at line 39 of file DeviceLogKML.cpp.

◆ CloseWriteFile()

bool cDeviceLogKML::CloseWriteFile ( int  kid,
sKmlLog log 
)

Definition at line 53 of file DeviceLogKML.cpp.

◆ InitDeviceForWriting()

void cDeviceLogKML::InitDeviceForWriting ( int  pHandle,
std::string  timestamp,
std::string  directory,
uint64_t  maxDiskSpace,
uint32_t  maxFileSize 
)

Definition at line 31 of file DeviceLogKML.cpp.

◆ LogFileExtention()

std::string cDeviceLogKML::LogFileExtention ( )
inlinevirtual

Implements cDeviceLog.

Definition at line 51 of file DeviceLogKML.h.

◆ OpenNewSaveFile()

bool cDeviceLogKML::OpenNewSaveFile ( int  kid,
sKmlLog log 
)
inlineprivate

Definition at line 54 of file DeviceLogKML.h.

◆ OpenWithSystemApp()

bool cDeviceLogKML::OpenWithSystemApp ( void  )
virtual

Reimplemented from cDeviceLog.

Definition at line 372 of file DeviceLogKML.cpp.

◆ ReadChunkFromFile()

bool cDeviceLogKML::ReadChunkFromFile ( )
private

Definition at line 494 of file DeviceLogKML.cpp.

◆ ReadData()

p_data_t * cDeviceLogKML::ReadData ( )
virtual

Implements cDeviceLog.

Definition at line 468 of file DeviceLogKML.cpp.

◆ ReadDataFromChunk()

p_data_t * cDeviceLogKML::ReadDataFromChunk ( )
private

Definition at line 488 of file DeviceLogKML.cpp.

◆ SaveData()

bool cDeviceLogKML::SaveData ( p_data_hdr_t dataHdr,
const uint8_t *  dataBuf 
)
virtual

Reimplemented from cDeviceLog.

Definition at line 397 of file DeviceLogKML.cpp.

◆ SetSerialNumber()

void cDeviceLogKML::SetSerialNumber ( uint32_t  serialNumber)
virtual

Implements cDeviceLog.

Definition at line 500 of file DeviceLogKML.cpp.

◆ WriteDateToFile()

bool cDeviceLogKML::WriteDateToFile ( const p_data_hdr_t dataHdr,
const uint8_t *  dataBuf 
)
private

Definition at line 433 of file DeviceLogKML.cpp.

Member Data Documentation

◆ m_kml

cDataKML cDeviceLogKML::m_kml
private

Definition at line 59 of file DeviceLogKML.h.

◆ m_Log

sKmlLog cDeviceLogKML::m_Log[cDataKML::MAX_NUM_KID]
private

Definition at line 60 of file DeviceLogKML.h.


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


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:09