Fawkes API  Fawkes Development Version
tf.h
1 
2 /***************************************************************************
3  * tf.h - Fawkes TransformAspect initializer/finalizer
4  *
5  * Created: Tue Oct 25 22:31:12 2011
6  * Copyright 2006-2011 Tim Niemueller [www.niemueller.de]
7  ****************************************************************************/
8 
9 /* This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version. A runtime exception applies to
13  * this software (see LICENSE.GPL_WRE file mentioned below for details).
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Library General Public License for more details.
19  *
20  * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
21  */
22 
23 #ifndef _ASPECT_INIFINS_TF_H_
24 #define _ASPECT_INIFINS_TF_H_
25 
26 #include <aspect/inifins/inifin.h>
27 
28 namespace fawkes {
29 namespace tf {
30 class Transformer;
31 }
32 
33 class BlackBoard;
34 
36 {
37 public:
38  TransformAspectIniFin(BlackBoard *blackboard, tf::Transformer *transformer);
39 
40  virtual void init(Thread *thread);
41  virtual void finalize(Thread *thread);
42 
43 private:
44  BlackBoard * blackboard_;
45  tf::Transformer *transformer_;
46 };
47 
48 } // end namespace fawkes
49 
50 #endif
Fawkes library namespace.
Thread class encapsulation of pthreads.
Definition: thread.h:45
TransformAspectIniFin(BlackBoard *blackboard, tf::Transformer *transformer)
Constructor.
Definition: tf.cpp:42
virtual void init(Thread *thread)
Initialize thread.
Definition: tf.cpp:50
virtual void finalize(Thread *thread)
Finalize thread.
Definition: tf.cpp:65
The BlackBoard abstract class.
Definition: blackboard.h:45
Coordinate transforms between any two frames in a system.
Definition: transformer.h:64
Aspect initializer/finalizer base class.
Definition: inifin.h:33
Initializer/finalizer for the TransformAspect.
Definition: tf.h:35