VisualizationObserver.h
Go to the documentation of this file.
1 
2 /* This file is part of ArmarX.
3 *
4 * ArmarX is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * ArmarX is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * @package ArmarXGuiPlugins::RobotTrajectoryDesigner::Visualization
17 * @author Timo Birr
18 * @date 2018
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22 #ifndef VisualizationObserver_H
23 #define VisualizationObserver_H
24 
25 #include <memory>
26 
27 
28 namespace armarx
29 {
30  /**
31  * @brief The AdvancedVisualizationFactory class is the abstract decorator of the Decorator-Pattern and decorates the VisualizationFactoy in Simox
32  *
33  * The additional Functionality is that it can also generate the Visualization for a Manipulator
34  */
36  {
37  public:
38  /**
39  * @brief refresh gets all relevant data from subject an updates itself accoringly
40  * should be called by subject but can also be called from elsewhere
41  */
42  virtual void refresh() = 0;
43  };
44 
45  using VisualizationObserverPtr = std::shared_ptr<VisualizationObserver>;
46 }
47 
48 #endif
armarx::VisualizationObserverPtr
std::shared_ptr< VisualizationObserver > VisualizationObserverPtr
Definition: VisualizationObserver.h:45
armarx::VisualizationObserver::refresh
virtual void refresh()=0
refresh gets all relevant data from subject an updates itself accoringly should be called by subject ...
armarx::VisualizationObserver
The AdvancedVisualizationFactory class is the abstract decorator of the Decorator-Pattern and decorat...
Definition: VisualizationObserver.h:35
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28