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 #include <os_report.h>
00021
00022 c_bool
00023 __Quaternion__copyIn(
00024 c_base base,
00025 struct Quaternion *from,
00026 struct _Quaternion *to)
00027 {
00028 c_bool result = TRUE;
00029
00030 to->x = (c_double)from->x;
00031 to->y = (c_double)from->y;
00032 to->z = (c_double)from->z;
00033 to->w = (c_double)from->w;
00034 return result;
00035 }
00036
00037 void
00038 __Quaternion__copyOut(
00039 void *_from,
00040 void *_to)
00041 {
00042 struct _Quaternion *from = (struct _Quaternion *)_from;
00043 struct Quaternion *to = (struct Quaternion *)_to;
00044 to->x = (::DDS::Double)from->x;
00045 to->y = (::DDS::Double)from->y;
00046 to->z = (::DDS::Double)from->z;
00047 to->w = (::DDS::Double)from->w;
00048 }
00049