Fawkes API  Fawkes Development Version
pointcloud.cpp
1 
2 /***************************************************************************
3  * pointcloud.cpp - PointCloud aspect for Fawkes
4  *
5  * Created: Sun Nov 06 22:51:58 2011
6  * Copyright 2006-2010 Tim Niemueller [www.niemueller.de]
7  *
8  ****************************************************************************/
9 
10 /* This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version. A runtime exception applies to
14  * this software (see LICENSE.GPL_WRE file mentioned below for details).
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU Library General Public License for more details.
20  *
21  * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
22  */
23 
24 #include <aspect/pointcloud.h>
25 
26 namespace fawkes {
27 #if 0 /* just to make Emacs auto-indent happy */
28 }
29 #endif
30 
31 /** @class PointCloudAspect <aspect/pointcloud.h>
32  * Thread aspect to provide and access point clouds.
33  *
34  * TODO
35  *
36  * @ingroup Aspects
37  * @author Tim Niemueller
38  */
39 
40 
41 /** Constructor. */
43 {
44  add_aspect("PointCloudAspect");
45 }
46 
47 
48 /** Virtual empty Destructor. */
50 {
51 }
52 
53 
54 /** Set URL manager.
55  * It is guaranteed that this is called for a thread before
56  * Thread::start() is called (when running regularly inside Fawkes).
57  * @param cloud_manager the cloud manager to distribute clouds
58  */
59 void
61 {
62  pcl_manager = cloud_manager;
63 }
64 
65 } // end namespace fawkes
Fawkes library namespace.
PointCloudAspect()
Constructor.
Definition: pointcloud.cpp:42
void add_aspect(const char *name)
Add an aspect to a thread.
Definition: aspect.cpp:52
Point Cloud manager.
PointCloudManager * pcl_manager
Manager to distribute and access point clouds.
Definition: pointcloud.h:50
virtual ~PointCloudAspect()
Virtual empty Destructor.
Definition: pointcloud.cpp:49
void init_PointCloudAspect(PointCloudManager *pcl_manager)
Set URL manager.
Definition: pointcloud.cpp:60