Go to the documentation of this file.00001 #include "PointSplDcps.h"
00002 #include "ccpp_Point.h"
00003
00004 const char *
00005 __Point__name(void)
00006 {
00007 return (const char*)"Point";
00008 }
00009
00010 const char *
00011 __Point__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 __Point__copyIn(
00024 c_base base,
00025 struct Point *from,
00026 struct _Point *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 return result;
00034 }
00035
00036 void
00037 __Point__copyOut(
00038 void *_from,
00039 void *_to)
00040 {
00041 struct _Point *from = (struct _Point *)_from;
00042 struct Point *to = (struct Point *)_to;
00043 to->x = (::DDS::Double)from->x;
00044 to->y = (::DDS::Double)from->y;
00045 to->z = (::DDS::Double)from->z;
00046 }
00047