3#include <Ice/Exception.h>
6#include <ArmarXCore/interface/components/EmergencyStopInterface.h>
25 ARMARX_WARNING <<
"The emergency stop master proxy is null. Proceeding as if the "
26 "emergency stop were released.";
32 return master_->getEmergencyStopState() == EmergencyStopState::eEmergencyStopActive;
34 catch (
const Ice::Exception& e)
37 <<
"Could not query the emergency stop state: " << e.what()
38 <<
". Assuming the emergency stop is engaged.";
SpamFilterDataPtr deactivateSpam(SpamFilterDataPtr const &spamFilter, float deactivationDurationSec, const std::string &identifier, bool deactivate)
IceEmergencyStop(const EmergencyStopMasterInterfacePrx &master)
bool isActive() const override
Engaged whenever the master says so, and whenever a resolved master cannot be reached.
#define ARMARX_WARNING
The logging level for unexpected behaviour, but not a serious problem.
This file is part of ArmarX.