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
00021 c_bool
00022 __Point__copyIn(
00023 c_base base,
00024 struct Point *from,
00025 struct _Point *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 return result;
00033 }
00034
00035 void
00036 __Point__copyOut(
00037 void *_from,
00038 void *_to)
00039 {
00040 struct _Point *from = (struct _Point *)_from;
00041 struct Point *to = (struct Point *)_to;
00042 to->x = (::DDS::Double)from->x;
00043 to->y = (::DDS::Double)from->y;
00044 to->z = (::DDS::Double)from->z;
00045 }
00046