MRPT  2.0.4
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.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020