WorldModelSingleCopyFuser Class Reference

Single interface copy fuser. More...

#include <single_copy.h>

Inheritance diagram for WorldModelSingleCopyFuser:

[legend]
List of all members.

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.

Author:
Tim Niemueller

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 (  ) 

Destructor.

Definition at line 59 of file single_copy.cpp.

References fawkes::BlackBoard::close().


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:
Generated on Tue Feb 22 13:31:34 2011 for Fawkes API by  doxygen 1.4.7