Go to the documentation of this file.00001 #include "TimeSplDcps.h"
00002 #include "ccpp_Time.h"
00003
00004 const char *
00005 __Time__name(void)
00006 {
00007 return (const char*)"Time";
00008 }
00009
00010 const char *
00011 __Time__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 __Time__copyIn(
00024 c_base base,
00025 struct Time *from,
00026 struct _Time *to)
00027 {
00028 c_bool result = TRUE;
00029
00030 to->sec = (c_long)from->sec;
00031 to->nsec = (c_long)from->nsec;
00032 return result;
00033 }
00034
00035 void
00036 __Time__copyOut(
00037 void *_from,
00038 void *_to)
00039 {
00040 struct _Time *from = (struct _Time *)_from;
00041 struct Time *to = (struct Time *)_to;
00042 to->sec = (::DDS::Long)from->sec;
00043 to->nsec = (::DDS::Long)from->nsec;
00044 }
00045