Gazebo Common

API Reference

6.0.1
CMakeTestPaths Class Reference

Implementation of TestPaths interface for CMake. More...

#include <CMakeTestPaths.hh>

Public Member Functions

 CMakeTestPaths (const std::string &_projectSourcePath=kTestingProjectSourceDir)
 Constructor.
 
 ~CMakeTestPaths () override
 Destructor.
 
bool ProjectSourcePath (std::string &_sourceDir) override
 Documentation inherited.
 
bool TestTmpPath (std::string &_tmpDir) override
 Documentation inherited.
 
- Public Member Functions inherited from TestPaths
 TestPaths (const std::string &_projectSourcePath=kTestingProjectSourceDir)
 Constructor.
 
virtual ~TestPaths ()
 Destructor.
 

Additional Inherited Members

- Protected Attributes inherited from TestPaths
std::string projectSourcePath
 Path to the root of the project source.
 

Detailed Description

Implementation of TestPaths interface for CMake.

It is not intended that users will directly construct this, but rather utilize the TestPathFactory.

Constructor & Destructor Documentation

◆ CMakeTestPaths()

CMakeTestPaths ( const std::string _projectSourcePath = kTestingProjectSourceDir)
explicit

Constructor.

Parameters
[in]_projectSourcePathPath to the root of the project source

◆ ~CMakeTestPaths()

~CMakeTestPaths ( )
override

Destructor.

Member Function Documentation

◆ ProjectSourcePath()

bool ProjectSourcePath ( std::string _sourceDir)
overridevirtual

Documentation inherited.

Implements TestPaths.

◆ TestTmpPath()

bool TestTmpPath ( std::string _tmpDir)
overridevirtual

Documentation inherited.

Implements TestPaths.


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