MD5Sum for custom native type
So I'm not sure if what I am trying to do is doable or not, but here it goes.
I want to be able to exchange serialized dotnet classes over ROS. (yes, you read it right :)
This is for a connector I am trying to build to make use of ROS over C# both on Windows and on OSX (roscs isn't enough because I don't have it in windows..)
So after the motivation, what I am trying to do is create my own native type in ros::std_msgs called Object, that would be able to carry a serialized class that I can later deserialize on reception (assuming both the sender and the receptor use the same class definition).
However, while trying to define this class, I see that I must define some values related to MD5 checksum. More specifically:
struct MD5Sum< ::std_msgs::Object_<ContainerAllocator> >
{
static const char* value()
{
return "d41d8cd98f00b204e9800998ecf8427e";
}
static const char* value(const ::std_msgs::Object_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
};
Where do these values come from?
Is it possible for me to generate them for my class?
Thanks for any help!