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

#include <DeviceLogJSON.h>

Inheritance diagram for cDeviceLogJSON:
Inheritance graph
[legend]

Public Member Functions

bool CloseAllFiles () OVERRIDE
 
std::string LogFileExtention () 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 ()
 
virtual bool OpenWithSystemApp ()
 
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 GetNextItemForFile ()
 
p_data_tReadDataFromFile ()
 

Private Attributes

p_data_t m_dataBuffer
 
cDataJSON m_json
 
string m_jsonString
 

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 25 of file DeviceLogJSON.h.

Member Function Documentation

◆ CloseAllFiles()

bool cDeviceLogJSON::CloseAllFiles ( )
virtual

Reimplemented from cDeviceLog.

Definition at line 38 of file DeviceLogJSON.cpp.

◆ GetNextItemForFile()

bool cDeviceLogJSON::GetNextItemForFile ( )
private

Definition at line 49 of file DeviceLogJSON.cpp.

◆ LogFileExtention()

std::string cDeviceLogJSON::LogFileExtention ( )
inlinevirtual

Implements cDeviceLog.

Definition at line 32 of file DeviceLogJSON.h.

◆ ReadData()

p_data_t * cDeviceLogJSON::ReadData ( )
virtual

Implements cDeviceLog.

Definition at line 130 of file DeviceLogJSON.cpp.

◆ ReadDataFromFile()

p_data_t * cDeviceLogJSON::ReadDataFromFile ( )
private

Definition at line 145 of file DeviceLogJSON.cpp.

◆ SaveData()

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

Reimplemented from cDeviceLog.

Definition at line 87 of file DeviceLogJSON.cpp.

◆ SetSerialNumber()

void cDeviceLogJSON::SetSerialNumber ( uint32_t  serialNumber)
virtual

Implements cDeviceLog.

Definition at line 165 of file DeviceLogJSON.cpp.

Member Data Documentation

◆ m_dataBuffer

p_data_t cDeviceLogJSON::m_dataBuffer
private

Definition at line 40 of file DeviceLogJSON.h.

◆ m_json

cDataJSON cDeviceLogJSON::m_json
private

Definition at line 39 of file DeviceLogJSON.h.

◆ m_jsonString

string cDeviceLogJSON::m_jsonString
private

Definition at line 38 of file DeviceLogJSON.h.


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


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:02