Exemple #1
0
void
gapi_subscriptionBuiltinTopicData__copyOut (
    void *_from,
    void *_to)
{
    struct v_subscriptionInfo         *from = (struct v_subscriptionInfo *)_from;
    gapi_subscriptionBuiltinTopicData *to   = (gapi_subscriptionBuiltinTopicData *)_to;

    builtinTopicKeyCopyout(&from->key, &to->key);
    builtinTopicKeyCopyout(&from->participant_key, &to->participant_key);

    to->topic_name = gapi_string_dup(from->topic_name);
    to->type_name  = gapi_string_dup(from->type_name);

    durabilityQosPolicyCopyout(&from->durability, &to->durability);
    deadlineQosPolicyCopyout(&from->deadline, &to->deadline);
    latencyBudgetQosPolicyCopyout(&from->latency_budget, &to->latency_budget);
    livelinessQosPolicyCopyout(&from->liveliness, &to->liveliness);
    reliabilityQosPolicyCopyout(&from->reliability, &to->reliability);
    destinationOrderQosPolicyCopyout(&from->destination_order, &to->destination_order);
    builtinUserDataQosPolicyCopyout(&from->user_data, &to->user_data);
    ownershipQosPolicyCopyout(&from->ownership, &to->ownership);
    timeBasedFilterQosPolicyCopyout(&from->time_based_filter, &to->time_based_filter);
    presentationQosPolicyCopyout(&from->presentation, &to->presentation);
    builtinPartitionQosPolicyCopyout(&from->partition, &to->partition);
    builtinTopicDataQosPolicyCopyout(&from->topic_data, &to->topic_data);
    builtinGroupDataQosPolicyCopyout(&from->group_data, &to->group_data);
}
Exemple #2
0
void
gapi_topicBuiltinTopicData__copyOut (
    void *_from,
    void *_to)
{
    struct v_topicInfo         *from = (struct v_topicInfo *)_from;
    gapi_topicBuiltinTopicData *to   = (gapi_topicBuiltinTopicData *)_to;

    builtinTopicKeyCopyout(&from->key, &to->key);

    to->name       = gapi_string_dup(from->name);
    to->type_name  = gapi_string_dup(from->type_name);

    durabilityQosPolicyCopyout(&from->durability, &to->durability);
    durabilityServiceQosPolicyCopyout(&from->durabilityService, &to->durability_service);
    deadlineQosPolicyCopyout(&from->deadline, &to->deadline);
    latencyBudgetQosPolicyCopyout(&from->latency_budget, &to->latency_budget);
    livelinessQosPolicyCopyout(&from->liveliness, &to->liveliness);
    reliabilityQosPolicyCopyout(&from->reliability, &to->reliability);
    transportPriorityQosPolicyCopyout(&from->transport_priority, &to->transport_priority);
    lifespanQosPolicyCopyout(&from->lifespan, &to->lifespan);
    destinationOrderQosPolicyCopyout(&from->destination_order, &to->destination_order);
    historyQosPolicyCopyout(&from->history, &to->history);
    resourceLimitsQosPolicyCopyout(&from->resource_limits, &to->resource_limits);
    ownershipQosPolicyCopyout(&from->ownership, &to->ownership);
    builtinTopicDataQosPolicyCopyout(&from->topic_data, &to->topic_data);
}
Exemple #3
0
v_result
gapi_publicationBuiltinTopicData__copyOut (
    void *_from,
    void *_to)
{
    struct v_publicationInfo         *from = (struct v_publicationInfo *)_from;
    gapi_publicationBuiltinTopicData *to   = (gapi_publicationBuiltinTopicData *)_to;

    builtinTopicKeyCopyout(&from->key, &to->key);
    builtinTopicKeyCopyout(&from->participant_key, &to->participant_key);

    to->topic_name = gapi_string_dup(from->topic_name);
    to->type_name  = gapi_string_dup(from->type_name);

    durabilityQosPolicyCopyout(&from->durability, &to->durability);
    deadlineQosPolicyCopyout(&from->deadline, &to->deadline);
    latencyBudgetQosPolicyCopyout(&from->latency_budget, &to->latency_budget);
    livelinessQosPolicyCopyout(&from->liveliness, &to->liveliness);
    reliabilityQosPolicyCopyout(&from->reliability, &to->reliability);
    lifespanQosPolicyCopyout(&from->lifespan, &to->lifespan);
    destinationOrderQosPolicyCopyout(&from->destination_order, &to->destination_order);
    builtinUserDataQosPolicyCopyout(&from->user_data, &to->user_data);
    ownershipQosPolicyCopyout(&from->ownership, &to->ownership);
    ownershipStrengthQosPolicyCopyout(&from->ownership_strength, &to->ownership_strength);
    presentationQosPolicyCopyout(&from->presentation, &to->presentation);
    builtinPartitionQosPolicyCopyout(&from->partition, &to->partition);
    builtinTopicDataQosPolicyCopyout(&from->topic_data, &to->topic_data);
    builtinGroupDataQosPolicyCopyout(&from->group_data, &to->group_data);
    return V_RESULT_OK;
}