Public Member Functions | Private Attributes | List of all members
grid_map::MockFilter< T > Class Template Reference

#include <MockFilter.hpp>

Inheritance diagram for grid_map::MockFilter< T >:
Inheritance graph
[legend]

Public Member Functions

virtual bool configure ()
 
 MockFilter ()
 
virtual bool update (const T &mapIn, T &mapOut)
 
virtual ~MockFilter ()
 
- Public Member Functions inherited from filters::FilterBase< T >
bool configure (const std::string &param_name, ros::NodeHandle node_handle=ros::NodeHandle())
 
bool configure (XmlRpc::XmlRpcValue &config)
 
 FilterBase ()
 
const std::string & getName ()
 
std::string getType ()
 
virtual ~FilterBase ()
 

Private Attributes

bool printName_
 Flag indicating wheter to also log on update. More...
 
uint processingTime_
 The time [ms] that the update function takes. More...
 

Additional Inherited Members

- Protected Member Functions inherited from filters::FilterBase< T >
bool getParam (const std::string &name, std::string &value)
 
bool getParam (const std::string &name, XmlRpc::XmlRpcValue &value)
 
bool getParam (const std::string &name, double &value)
 
bool getParam (const std::string &name, std::vector< double > &value)
 
bool getParam (const std::string &name, unsigned int &value)
 
bool getParam (const std::string &name, int &value)
 
bool getParam (const std::string &name, std::vector< std::string > &value)
 
bool getParam (const std::string &name, bool &value)
 
bool loadConfiguration (XmlRpc::XmlRpcValue &config)
 
- Protected Attributes inherited from filters::FilterBase< T >
bool configured_
 
std::string filter_name_
 
std::string filter_type_
 
string_map_t params_
 

Detailed Description

template<typename T>
class grid_map::MockFilter< T >

Duplication filter class duplicates a layer of a grid map.

Definition at line 21 of file MockFilter.hpp.

Constructor & Destructor Documentation

template<typename T >
grid_map::MockFilter< T >::MockFilter ( )

Constructor

Definition at line 21 of file MockFilter.cpp.

template<typename T >
grid_map::MockFilter< T >::~MockFilter ( )
virtual

Destructor.

Definition at line 26 of file MockFilter.cpp.

Member Function Documentation

template<typename T >
bool grid_map::MockFilter< T >::configure ( )
virtual

Configures the filter from parameters on the parameter server.

Implements filters::FilterBase< T >.

Definition at line 31 of file MockFilter.cpp.

template<typename T >
bool grid_map::MockFilter< T >::update ( const T &  mapIn,
T &  mapOut 
)
virtual

Copies the input to the output. The time for the update is specified by processingTime_. Optionally the update is logged.

Parameters
mapInInput.
mapOutOutput.

Implements filters::FilterBase< T >.

Definition at line 47 of file MockFilter.cpp.

Member Data Documentation

template<typename T >
bool grid_map::MockFilter< T >::printName_
private

Flag indicating wheter to also log on update.

Definition at line 50 of file MockFilter.hpp.

template<typename T >
uint grid_map::MockFilter< T >::processingTime_
private

The time [ms] that the update function takes.

Definition at line 53 of file MockFilter.hpp.


The documentation for this class was generated from the following files:


grid_map_filters
Author(s): Péter Fankhauser , Martin Wermelinger
autogenerated on Tue Jun 1 2021 02:13:38