Gazebo Gazebo

API Reference

3.15.2
PathModel Class Reference

Provides a model by which the resource spawner qml plugin pulls and updates from. More...

#include <ResourceSpawner.hh>

Public Member Functions

 PathModel ()
 Constructor. More...
 
 ~PathModel () override=default
 Destructor. More...
 
void AddPath (const std::string &_path)
 Add a path. param[in] _path The path to be added. More...
 
void RemovePath (const std::string &_path)
 Remove a path. param[in] _path The path to be removed. More...
 
QHash< int, QByteArray > roleNames () const override
 

Detailed Description

Provides a model by which the resource spawner qml plugin pulls and updates from.

Constructor & Destructor Documentation

◆ PathModel()

PathModel ( )
explicit

Constructor.

◆ ~PathModel()

~PathModel ( )
overridedefault

Destructor.

Member Function Documentation

◆ AddPath()

void AddPath ( const std::string _path)

Add a path. param[in] _path The path to be added.

◆ RemovePath()

void RemovePath ( const std::string _path)

Remove a path. param[in] _path The path to be removed.

◆ roleNames()

QHash<int, QByteArray> roleNames ( ) const
override

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