init
This commit is contained in:
18
unitree_SDK/include/unitree/common/dds/dds_traits.hpp
Normal file
18
unitree_SDK/include/unitree/common/dds/dds_traits.hpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#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__
|
Reference in New Issue
Block a user