SafetyGuard.cpp
Go to the documentation of this file.
1
#include "
SafetyGuard.h
"
2
3
#include <
ArmarXCore/core/exceptions/local/ExpressionException.h
>
4
5
#include <
RobotAPI/components/ArViz/Client/ScopedClient.h
>
6
7
namespace
armarx::navigation::safety_guard
8
{
9
10
SafetyGuard::SafetyGuard
(
const
core::Scene
& scene,
const
Context
& ctx) :
11
scene(scene), context(ctx)
12
{
13
ARMARX_CHECK_NOT_NULL
(context.
arviz
);
14
viz
=
viz::ScopedClient
(*context.
arviz
);
15
}
16
}
// namespace armarx::navigation::safety_guard
armarx::navigation::safety_guard::SafetyGuard::SafetyGuard
SafetyGuard(const core::Scene &scene, const Context &ctx)
Definition:
SafetyGuard.cpp:10
ARMARX_CHECK_NOT_NULL
#define ARMARX_CHECK_NOT_NULL(ptr)
This macro evaluates whether ptr is not null and if it turns out to be false it will throw an Express...
Definition:
ExpressionException.h:206
ScopedClient.h
armarx::navigation::safety_guard
This file is part of ArmarX.
Definition:
fwd.h:54
armarx::viz::ScopedClient
viz::Client that will delete (clear) committed layers when destroyed.
Definition:
ScopedClient.h:42
armarx::navigation::safety_guard::SafetyGuard::Context::arviz
std::experimental::observer_ptr< viz::Client > arviz
Definition:
SafetyGuard.h:78
armarx::navigation::safety_guard::SafetyGuard::Context
Definition:
SafetyGuard.h:76
armarx::navigation::core::Scene
Definition:
types.h:60
ExpressionException.h
armarx::viz
This file is part of ArmarX.
Definition:
ArVizStorage.cpp:418
SafetyGuard.h
armarx
navigation
safety_guard
SafetyGuard.cpp
Generated on Sat Mar 29 2025 09:17:35 for armarx_documentation by
1.8.17