Base class for all Gazebo GUI unit tests.
More...
#include <QTestFixture.hh>
|
void | GetMemInfo (double &_resident, double &_share) |
| Get memory information about the current process. More...
|
|
void | Load (const std::string &_worldFilename, bool _paused=false, bool _serverScene=true, bool _clientScene=false) |
| Load a world. More...
|
|
void | SetPause (bool _pause) |
| Pause or unpause the world. More...
|
|
Base class for all Gazebo GUI unit tests.
QTestFixture::QTestFixture |
( |
| ) |
|
void QTestFixture::GetMemInfo |
( |
double & |
_resident, |
|
|
double & |
_share |
|
) |
| |
|
protected |
Get memory information about the current process.
- Parameters
-
[out] | _resident | Resident size, in Kb. |
[out] | _share | Shared memory, in Kb. |
void QTestFixture::Load |
( |
const std::string & |
_worldFilename, |
|
|
bool |
_paused = false , |
|
|
bool |
_serverScene = true , |
|
|
bool |
_clientScene = false |
|
) |
| |
|
protected |
Load a world.
- Parameters
-
[in] | _worldFilename | Name of the world to load. |
[in] | _paused | True to start the world paused. |
[in] | _serverScene | True to create a scene on the server |
[in] | _clientScene | True to create a scene on the client |
void QTestFixture::SetPause |
( |
bool |
_pause | ) |
|
|
protected |
Pause or unpause the world.
- Parameters
-
[in] | _pause | True to pause the world |
double QTestFixture::resMaxPercentChange |
|
protected |
Maximum allowed percent change in resident memory usage.
The Gazebo server, which is run in a thread.
boost::thread* QTestFixture::serverThread |
|
protected |
Thread to run the Gazebo server.
double QTestFixture::shareMaxPercentChange |
|
protected |
Maximum allowed percent change in shared memory usage.
The documentation for this class was generated from the following file: