Fawkes API Fawkes Development Version
action_executor_dispatcher_inifin.h
1/***************************************************************************
2 * action_executor_dispatcher_inifin.h - Inifin for the Golog++ Executor
3 *
4 * Created: Sat 12 Oct 2019 12:06:31 CEST 12:06
5 * Copyright 2019 Till Hofmann <hofmann@kbsg.rwth-aachen.de>
6 ****************************************************************************/
7
8/* This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Library General Public License for more details.
17 *
18 * Read the full text in the LICENSE.GPL file in the doc directory.
19 */
20
21#ifndef FAWKES_GOLOGPP_ASPECT_ACTION_EXECUTOR_DISPATCHER_INIFIN_H
22#define FAWKES_GOLOGPP_ASPECT_ACTION_EXECUTOR_DISPATCHER_INIFIN_H
23
24#include "action_executor_dispatcher.h"
25
26#include <aspect/inifins/inifin.h>
27
28namespace fawkes {
29
31{
32public:
35 virtual void init(Thread *thread);
36 virtual void finalize(Thread *thread);
37
38private:
39 GologppDispatcherAspect * get_aspect(Thread *thread) const;
41};
42
43} // namespace fawkes
44
45#endif /* !FAWKES_GOLOGPP_ASPECT_ACTION_EXECUTOR_DISPATCHER_INIFIN_H */
Aspect initializer/finalizer base class.
Definition: inifin.h:34
The initializer/finalizer for the GologppDispatcherAspect.
virtual void init(Thread *thread)
Initialize the thread with the aspect.
virtual void finalize(Thread *thread)
Finalize the aspect of the given thread.
An aspect that provides access to the Golog++ Action Executor Dispatcher.
Thread class encapsulation of pthreads.
Definition: thread.h:46
Dispatch an activity to a number of registered executors by checking all registered executors subsequ...
Fawkes library namespace.