environment_monitor.cpp
Go to the documentation of this file.
1 
29 
32 
33 namespace tesseract_environment
34 {
35 EnvironmentMonitor::EnvironmentMonitor(std::string monitor_namespace) : monitor_namespace_(std::move(monitor_namespace))
36 {
37 }
38 
39 EnvironmentMonitor::EnvironmentMonitor(std::shared_ptr<Environment> env, std::string monitor_namespace)
40  : env_(std::move(env)), monitor_namespace_(std::move(monitor_namespace))
41 {
42 }
43 
44 const std::string& EnvironmentMonitor::getNamespace() const { return monitor_namespace_; }
45 
47 
48 const Environment& EnvironmentMonitor::environment() const { return *env_; }
49 
50 std::shared_ptr<Environment> EnvironmentMonitor::getEnvironment() { return env_; }
51 
52 std::shared_ptr<const Environment> EnvironmentMonitor::getEnvironment() const { return env_; }
53 } // namespace tesseract_environment
tesseract_environment::EnvironmentMonitor::EnvironmentMonitor
EnvironmentMonitor(std::string monitor_namespace)
Constructor.
Definition: environment_monitor.cpp:35
tesseract_environment
Definition: command.h:45
environment_monitor.h
Tesseract Environment Monitor Interface Class.
tesseract_environment::EnvironmentMonitor::monitor_namespace_
std::string monitor_namespace_
Definition: environment_monitor.h:196
tesseract_environment::EnvironmentMonitor::getNamespace
virtual const std::string & getNamespace() const
Get the namespace of this monitor.
Definition: environment_monitor.cpp:44
tesseract_environment::EnvironmentMonitor::getEnvironment
virtual std::shared_ptr< Environment > getEnvironment()
Returns an threadsafe shared pointer to the current environment.
Definition: environment_monitor.cpp:50
kinematic_group.h
tesseract_environment::Environment
Definition: environment.h:71
environment.h
tesseract_environment::EnvironmentMonitor::env_
std::shared_ptr< tesseract_environment::Environment > env_
Definition: environment_monitor.h:195
joint_group.h
tesseract_environment::EnvironmentMonitor::environment
virtual Environment & environment()
Returns an threadsafe reference to the current environment.
Definition: environment_monitor.cpp:46


tesseract_environment
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:02:21