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
26namespace fawkes {
27
28/** @class PointCloudAspect <aspect/pointcloud.h>
29 * Thread aspect to provide and access point clouds.
30 *
31 * TODO
32 *
33 * @ingroup Aspects
34 * @author Tim Niemueller
35 */
36
37/** Constructor. */
39{
40 add_aspect("PointCloudAspect");
41}
42
43/** Virtual empty Destructor. */
45{
46}
47
48/** Set URL manager.
49 * It is guaranteed that this is called for a thread before
50 * Thread::start() is called (when running regularly inside Fawkes).
51 * @param cloud_manager the cloud manager to distribute clouds
52 */
53void
55{
56 pcl_manager = cloud_manager;
57}
58
59} // end namespace fawkes
void add_aspect(const char *name)
Add an aspect to a thread.
Definition: aspect.cpp:49
void init_PointCloudAspect(PointCloudManager *pcl_manager)
Set URL manager.
Definition: pointcloud.cpp:54
PointCloudManager * pcl_manager
Manager to distribute and access point clouds.
Definition: pointcloud.h:47
virtual ~PointCloudAspect()
Virtual empty Destructor.
Definition: pointcloud.cpp:44
PointCloudAspect()
Constructor.
Definition: pointcloud.cpp:38
Point Cloud manager.
Fawkes library namespace.