Skip to content
Snippets Groups Projects
Commit 20908b2e authored by Fabian Reister's avatar Fabian Reister
Browse files

Merge branch 'feature/robot-const-correctness' into 'master'

Feature/robot const correctness

See merge request Simox/simox!66
parents d799797d 74fbdd47
No related branches found
No related tags found
No related merge requests found
......@@ -44,3 +44,5 @@ moc_*
.cmake/api/v1/query/codemodel-v2
.cmake/api/v1/query/cmakeFiles-v1
# vscode stuff
.vscode
......@@ -352,7 +352,7 @@ namespace VirtualRobot
/**
* \return VirtualRobot::Robot::name
*/
std::string Robot::getName()
std::string Robot::getName() const
{
return name;
}
......@@ -360,7 +360,7 @@ namespace VirtualRobot
/**
* \return VirtualRobot::Robot::type
*/
std::string Robot::getType()
std::string Robot::getType() const
{
return type;
}
......@@ -966,7 +966,7 @@ namespace VirtualRobot
this->filename = filename;
}
std::string Robot::getFilename()
std::string Robot::getFilename() const
{
return filename;
}
......
......@@ -118,8 +118,8 @@ namespace VirtualRobot
void setupVisualization(bool showVisualization, bool showAttachedVisualizations) override;
virtual std::string getName();
virtual std::string getType();
virtual std::string getName() const;
virtual std::string getType() const;
/*!
Print status information.
......@@ -261,7 +261,7 @@ namespace VirtualRobot
virtual void setFilename(const std::string& filename);
//! Retrieve the stored filename.
virtual std::string getFilename();
virtual std::string getFilename() const;
/*!
This readlock can be used to protect data access. It locks the mutex until deletion.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment