PolygonArray.h 515 Bytes
Newer Older
1 2 3 4
#pragma once

#include <QObject>

5
#include "ros_bridge/include/MessageBaseClass.h"
6

Valentin Platzgummer's avatar
Valentin Platzgummer committed
7
typedef ROSBridge::MessageBaseClass ROSMsgBase;
8
template <class PolygonType, template <class,class...> class ContainerType >
9
class PolygonArray : public ROSMsgBase, public ContainerType<PolygonType> {
10
public:
11
    explicit PolygonArray() : ROSMsgBase(), ContainerType<PolygonType>() {}
12 13
    PolygonArray(const PolygonArray &other) : ContainerType<PolygonType>(other) {}

14
    QString type() const override {return "PolygonArray";}
15
};