WorldModelSingleCopyFuser Class Reference
Single interface copy fuser. More...
#include <single_copy.h>

Public Member Functions | |
| WorldModelSingleCopyFuser (fawkes::BlackBoard *blackboard, const char *type, const char *from_id, const char *to_id) | |
| Constructor. | |
| ~WorldModelSingleCopyFuser () | |
| Destructor. | |
| virtual void | fuse () |
| The single function that makes fusers work. | |
Detailed Description
Single interface copy fuser.This fuser simply copies the data of one interface to another of the same type.
Definition at line 33 of file single_copy.h.
Constructor & Destructor Documentation
| WorldModelSingleCopyFuser::WorldModelSingleCopyFuser | ( | fawkes::BlackBoard * | blackboard, | |
| const char * | type, | |||
| const char * | from_id, | |||
| const char * | to_id | |||
| ) |
Constructor.
- Parameters:
-
blackboard BlackBoard type interface type of both interfaces from_id ID of the interface to copy from to_id ID of the interface to copy to
Definition at line 43 of file single_copy.cpp.
References fawkes::Interface::copy_values(), fawkes::BlackBoard::open_for_reading(), fawkes::BlackBoard::open_for_writing(), fawkes::Interface::read(), and fawkes::Interface::write().
| WorldModelSingleCopyFuser::~WorldModelSingleCopyFuser | ( | ) |
Member Function Documentation
| void WorldModelSingleCopyFuser::fuse | ( | ) | [virtual] |
The single function that makes fusers work.
In this method fusers shall read from their source interfaces, process the data and write to their output interfaces.
Implements WorldModelFuser.
Definition at line 67 of file single_copy.cpp.
References fawkes::Interface::copy_values(), fawkes::Interface::has_writer(), fawkes::Interface::read(), and fawkes::Interface::write().
The documentation for this class was generated from the following files:
- src/plugins/worldmodel/fusers/single_copy.h
- src/plugins/worldmodel/fusers/single_copy.cpp

