template<class T, int K, class Enable = void>
struct LODPaintFunc
{
inline static void Execute(T * controller, QGraphicsItem * item, QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget)
{
}
};
template<class T>
struct LODPaintFunc<T,0,typename boost::enable_if<IsRoute<T>>::type>
{
inline static void Execute(T * controller, QGraphicsItem * item, QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget)
{
}
};
template<class T>
struct LODPaintFunc<T,1,typename boost::enable_if<IsRoute<T>>::type>
{
inline static void Execute(T * controller, QGraphicsItem * item, QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget)
{
LODPaintFunc<T,0>::Execute(controller, item, painter,option ,widget);