Skip to content
Snippets Groups Projects
Commit 37efa7c5 authored by Raphael's avatar Raphael
Browse files

change LVL1Controller::rtPreActivateController and...

change LVL1Controller::rtPreActivateController and LVL1Controller::rtPreActivateController::rtPostDeactivateController to be protected
parent 8dee9be8
No related branches found
No related tags found
1 merge request!26Rt robot unit v2
......@@ -231,7 +231,7 @@ namespace armarx
{
rtRun(sensorValuesTimestamp, timeSinceLastIteration);
}
protected:
/**
* @brief This function is called before the controller is activated.
* You can use it to activate a thread again (DO NOT SPAWN NEW THREADS!) e.g. via a std::atomic_bool.
......@@ -242,7 +242,7 @@ namespace armarx
* You can use it to deactivate a thread (DO NOT JOIN THREADS!) e.g. via a std::atomic_bool.
*/
virtual void rtPostDeactivateController() {}
public:
bool rtUsesControlDevice(std::size_t deviceIndex) const
{
return controlDeviceUsedBitmap.at(deviceIndex);
......
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