vizkit3d
Public Member Functions | Protected Member Functions | Friends | List of all members
vizkit3d::VizPluginAddType< T > Class Template Referenceabstract

#include <Vizkit3DPlugin.hpp>

Inheritance diagram for vizkit3d::VizPluginAddType< T >:
vizkit3d::Vizkit3DPlugin< T > vizkit3d::VizPluginAdapter< T >

Public Member Functions

virtual ~VizPluginAddType ()
 

Protected Member Functions

virtual void updateDataIntern (const T &data)=0
 

Friends

template<typename Type >
class Vizkit3DPlugin
 

Detailed Description

template<typename T>
class vizkit3d::VizPluginAddType< T >

Convenience template that adds type-specific handling to VizPluginBase

Use this if you want a single visualization plugin to support multiple types at the same time:

class MyVisualizer : public VizPlugin<FirstType>, , public VizPluginAddType<SecondType> { void updateDataIntern(FirstType const&); void updateDataIntern(SecondType const&); }

Constructor & Destructor Documentation

template<typename T>
virtual vizkit3d::VizPluginAddType< T >::~VizPluginAddType ( )
inlinevirtual

Member Function Documentation

template<typename T>
virtual void vizkit3d::VizPluginAddType< T >::updateDataIntern ( const T &  data)
protectedpure virtual

overide this method and set your internal state such that the next call to updateMainNode will reflect that update.

Parameters
datadata to be updated

Friends And Related Function Documentation

template<typename T>
template<typename Type >
friend class Vizkit3DPlugin
friend

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