Public Member Functions | Protected Attributes
alvar::DoHandleTest< T > Class Template Reference

This is a default functor for testing which items in the container should be handled by each method. More...

#include <EC.h>

List of all members.

Public Member Functions

 DoHandleTest (int _type_id=-1, bool _needs_has_p2d=false, bool _needs_has_p3d=false)
virtual bool operator() (const T &f) const

Protected Attributes

bool needs_has_p2d
bool needs_has_p3d
int type_id

Detailed Description

template<typename T>
class alvar::DoHandleTest< T >

This is a default functor for testing which items in the container should be handled by each method.

By default this only tests that the only the type_id. If you specify type_id that is not -1 then the functor tests that the item's type_id matches. Naturally you can make whatever tests in your own functors.

Definition at line 182 of file EC.h.


Constructor & Destructor Documentation

template<typename T>
alvar::DoHandleTest< T >::DoHandleTest ( int  _type_id = -1,
bool  _needs_has_p2d = false,
bool  _needs_has_p3d = false 
) [inline]

Definition at line 188 of file EC.h.


Member Function Documentation

template<typename T>
virtual bool alvar::DoHandleTest< T >::operator() ( const T f) const [inline, virtual]

Definition at line 190 of file EC.h.


Member Data Documentation

template<typename T>
bool alvar::DoHandleTest< T >::needs_has_p2d [protected]

Definition at line 185 of file EC.h.

template<typename T>
bool alvar::DoHandleTest< T >::needs_has_p3d [protected]

Definition at line 186 of file EC.h.

template<typename T>
int alvar::DoHandleTest< T >::type_id [protected]

Definition at line 184 of file EC.h.


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


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Thu Jun 6 2019 21:12:55