Go to the documentation of this file.00001 #include "QuaternionSplDcps.h"
00002 #include "ccpp_Quaternion.h"
00003
00004 const char *
00005 __Quaternion__name(void)
00006 {
00007 return (const char*)"Quaternion";
00008 }
00009
00010 const char *
00011 __Quaternion__keys(void)
00012 {
00013 return (const char*)"";
00014 }
00015
00016 #include <v_kernel.h>
00017 #include <v_topic.h>
00018 #include <os_stdlib.h>
00019 #include <string.h>
00020
00021 c_bool
00022 __Quaternion__copyIn(
00023 c_base base,
00024 struct Quaternion *from,
00025 struct _Quaternion *to)
00026 {
00027 c_bool result = TRUE;
00028
00029 to->x = (c_double)from->x;
00030 to->y = (c_double)from->y;
00031 to->z = (c_double)from->z;
00032 to->w = (c_double)from->w;
00033 return result;
00034 }
00035
00036 void
00037 __Quaternion__copyOut(
00038 void *_from,
00039 void *_to)
00040 {
00041 struct _Quaternion *from = (struct _Quaternion *)_from;
00042 struct Quaternion *to = (struct Quaternion *)_to;
00043 to->x = (::DDS::Double)from->x;
00044 to->y = (::DDS::Double)from->y;
00045 to->z = (::DDS::Double)from->z;
00046 to->w = (::DDS::Double)from->w;
00047 }
00048