text: /*
   * @(#)commend_readerService_impl.h    generated by: makeheader    Mon Dec  3 23:08:09 2007
   *
   *		built from:	readerService_impl.ifc
   */
  
  #ifndef commend_readerService_impl_h
  #define commend_readerService_impl_h
  
  
    #ifndef osapi_bufferUtils_h
      #include "osapi/osapi_bufferUtils.h"
    #endif
    #ifndef mig_interpreter_h
      #include "mig/mig_interpreter.h"
    #endif
  #ifdef __cplusplus
      extern "C" {
  #endif
  
  
  
  #define COMMENDReaderServiceProperty_copy(to, from) \
      RTIOsapiMemory_copy(to, from, sizeof(struct COMMENDReaderServiceProperty))
  
  #define COMMENDReaderServiceData_set(me, context, sn, setFirstSn, statusInfo, \
  userData, parameter, var) \
    (me)->writer.prefix.hostId   = (context)->sourceHostId;                 \
    (me)->writer.prefix.appId    = (context)->sourceAppId;                  \
    (me)->writer.prefix.instanceId    = (context)->sourceInstanceId;        \
    (me)->writer.objectId = (context)->writerObjectId;                      \
    (me)->reader.prefix.hostId   = (context)->destinationHostId;            \
    (me)->reader.prefix.appId    = (context)->destinationAppId;             \
    (me)->reader.prefix.instanceId    = (context)->destinationInstanceId;   \
    (me)->reader.objectId = (context)->readerObjectId;                      \
    MIGGeneratorSample_set(&((me)->sample), (sn), (setFirstSn), (var),      \
  	((context)->haveTimestamp ? &((context)->timestamp) : NULL),      \
          NULL, (context)->submessageFlags, (context)->dataExtraFlags,      \
          (statusInfo), (userData), (parameter), NULL, NULL);
  
  
  
  #ifdef __cplusplus
      }	/* extern "C" */
  #endif
  
  #endif /* commend_readerService_impl_h */
  