Fawkes API
Fawkes Development Version
|
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. More... | |
~WorldModelSingleCopyFuser () | |
Destructor. More... | |
virtual void | fuse () |
The single function that makes fusers work. More... | |
![]() | |
virtual | ~WorldModelFuser () |
Virtual empty destructor. More... | |
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.
WorldModelSingleCopyFuser::WorldModelSingleCopyFuser | ( | fawkes::BlackBoard * | blackboard, |
const char * | type, | ||
const char * | from_id, | ||
const char * | to_id | ||
) |
Constructor.
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::BlackBoard::open_for_reading(), fawkes::BlackBoard::open_for_writing(), and fawkes::Interface::read().
WorldModelSingleCopyFuser::~WorldModelSingleCopyFuser | ( | ) |
Destructor.
Definition at line 59 of file single_copy.cpp.
|
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.