Go2Py/cpp_bridge/include/unitree/common/dds/dds_traits.hpp

19 lines
394 B
C++
Raw Normal View History

2024-01-04 03:45:40 +08:00
#ifndef __UT_DDS_TRAINTS_HPP__
#define __UT_DDS_TRAINTS_HPP__
namespace unitree
{
namespace common
{
#include <org/eclipse/cyclonedds/topic/TopicTraits.hpp>
#define DdsGetTypeName(TYPE) \
org::eclipse::cyclonedds::topic::TopicTraits<TYPE>::getTypeName()
#define DdsIsKeyless(TYPE) \
org::eclipse::cyclonedds::topic::TopicTraits<TYPE>::isKeyless()
}
}
#endif//__UT_DDS_TRAINTS_HPP__