MRPT  2.0.1
Functions | Variables
CLogFileRecord_unittest.cpp File Reference
#include <gtest/gtest.h>
#include <mrpt/io/CFileGZInputStream.h>
#include <mrpt/nav/reactive/CLogFileRecord.h>
#include <mrpt/serialization/CArchive.h>
#include <mrpt/system/filesystem.h>
#include <test_mrpt_common.h>
Include dependency graph for CLogFileRecord_unittest.cpp:

Go to the source code of this file.

Functions

 TEST (NavTests, Serialization_WriteReadToMem)
 
 TEST (SerializeTestObs, WriteReadToOctectVectors)
 
 TEST (NavTests, NavLogLoadFromTestFile)
 

Variables

const mrpt::rtti::TRuntimeClassIdlstClasses []
 

Function Documentation

◆ TEST() [1/3]

TEST ( NavTests  ,
Serialization_WriteReadToMem   
)

Definition at line 29 of file CLogFileRecord_unittest.cpp.

References mrpt::serialization::archiveFrom(), mrpt::ptr_cast< CAST_TO >::from(), lstClasses, and mrpt::io::CMemoryStream::Seek().

Here is the call graph for this function:

◆ TEST() [2/3]

TEST ( SerializeTestObs  ,
WriteReadToOctectVectors   
)

Definition at line 57 of file CLogFileRecord_unittest.cpp.

References mrpt::ptr_cast< CAST_TO >::from(), lstClasses, mrpt::serialization::ObjectToOctetVector(), and mrpt::serialization::OctetVectorToObject().

Here is the call graph for this function:

◆ TEST() [3/3]

TEST ( NavTests  ,
NavLogLoadFromTestFile   
)

Definition at line 83 of file CLogFileRecord_unittest.cpp.

References mrpt::serialization::archiveFrom(), and mrpt::system::fileExists().

Here is the call graph for this function:

Variable Documentation

◆ lstClasses

const mrpt::rtti::TRuntimeClassId* lstClasses[]
Initial value:
= {
}
A class for storing, saving and loading a reactive navigation log record for the CReactiveNavigationS...
#define CLASS_ID(T)
Access to runtime class ID for a defined class name.
Definition: CObject.h:102

Definition at line 23 of file CLogFileRecord_unittest.cpp.

Referenced by TEST().




Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020