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


proxyJoy
Author(s): Ronny Hartanto
autogenerated on Mon Oct 6 2014 06:54:35