HeaderSplDcps.cpp
Go to the documentation of this file.
00001 #include "HeaderSplDcps.h"
00002 #include "ccpp_Header.h"
00003 
00004 const char *
00005 __Header__name(void)
00006 {
00007     return (const char*)"Header";
00008 }
00009 
00010 const char *
00011 __Header__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 __Header__copyIn(
00023     c_base base,
00024     struct Header *from,
00025     struct _Header *to)
00026 {
00027     c_bool result = TRUE;
00028 
00029     to->seq = (c_ulong)from->seq;
00030     if(result){
00031         extern c_bool __Time__copyIn(c_base, Time *, _Time *);
00032         result = __Time__copyIn(base, &from->stamp, &to->stamp);
00033     }
00034 #ifdef OSPL_BOUNDS_CHECK
00035     if(from->frame_id){
00036         to->frame_id = c_stringNew(base, from->frame_id);
00037     } else {
00038         result = FALSE;
00039     }
00040 #else
00041     to->frame_id = c_stringNew(base, from->frame_id);
00042 #endif
00043     return result;
00044 }
00045 
00046 void
00047 __Header__copyOut(
00048     void *_from,
00049     void *_to)
00050 {
00051     struct _Header *from = (struct _Header *)_from;
00052     struct Header *to = (struct Header *)_to;
00053     to->seq = (::DDS::ULong)from->seq;
00054     {
00055         extern void __Time__copyOut(void *, void *);
00056         __Time__copyOut((void *)&from->stamp, (void *)&to->stamp);
00057     }
00058     to->frame_id = CORBA::string_dup(from->frame_id);
00059 }
00060 


proxyPoseWithCovarianceStamped
Author(s): Ronny Hartanto
autogenerated on Mon Oct 6 2014 06:54:21