Migrates residual Lts sources to generated rtiddsgen API
Adds NmeaManagement tests, fixes codegen includes and Qt6 SerialPort CMake target.
This commit is contained in:
1 parent
5485a90385
commit
881d44f4dd
512 files changed
+6887
-6426
No files matched your search
@@ -129,10 +129,10 @@ class ObjectBase : public QObject
|
||||
static qint64 toMSec(const QDateTime &dt);
|
||||
template <typename T> dds::core::optional<T> toOptional(T inVal) { return inVal != T() ? dds::core::optional<T>(inVal) : dds::core::optional<T>(); }
|
||||
|
||||
dds::core::optional<qint64> toOptional(const QDateTime &dt)
|
||||
dds::core::optional<int64_t> toOptional(const QDateTime &dt)
|
||||
{
|
||||
qint64 t = (dt.isValid() && !dt.isNull()) ? dt.toMSecsSinceEpoch() : 0;
|
||||
return toOptional(t);
|
||||
return toOptional<int64_t>(t);
|
||||
}
|
||||
|
||||
template <typename T, typename U> static inline void ddsVecFromPoly(const T &in, const U &heights, std::vector<Core::GeoPosition> &out)
|
||||
|
||||
Reference in new issue
Block a user