internal static void CopyOut(v_entityFactoryPolicyI_s from, ref EntityFactoryQosPolicy to) { if (to == null) { to = new EntityFactoryQosPolicy(); } // Set autoenable_created_entities field to.AutoenableCreatedEntities = from.v.autoenable_created_entities; }
internal static DDS.ReturnCode CopyIn(EntityFactoryQosPolicy from, ref v_entityFactoryPolicyI_s to) { DDS.ReturnCode result = DDS.ReturnCode.Ok; if (from != null) { // Set autoenable_created_entities field to.v.autoenable_created_entities = from.AutoenableCreatedEntities; } else { result = DDS.ReturnCode.BadParameter; ReportStack.Report(result, "EntityFactoryQosPolicy attribute may not be a null pointer."); } return(result); }
public ModifiableEntityFactoryQosPolicy CopyFrom(EntityFactoryQosPolicy other) { return new ModifiableEntityFactoryQosPolicyImpl(other.IsAutoEnableCreatedEntities(), other.GetBootstrap()); }
public ModifiableEntityFactoryQosPolicyImpl(EntityFactoryQosPolicy qos) { this.innerQos = qos as EntityFactoryQosPolicyImpl; }
internal static void CopyOut(IntPtr from, ref EntityFactoryQosPolicy to, int offset) { if (to == null) to = new EntityFactoryQosPolicy(); // Set autoenable_created_entities field to.AutoenableCreatedEntities = BaseMarshaler.ReadBoolean(from, offset + offset_autoenable_created_entities); }
internal void CopyOut(ref EntityFactoryQosPolicy to) { CopyOut(GapiPtr, ref to, 0); }
internal static DDS.ReturnCode CopyIn(EntityFactoryQosPolicy from, IntPtr to, int offset) { DDS.ReturnCode result = DDS.ReturnCode.Ok; if (from != null) { // Set autoenable_created_entities field BaseMarshaler.Write(to, offset + offset_autoenable_created_entities, from.AutoenableCreatedEntities); } else { result = DDS.ReturnCode.BadParameter; DDS.OpenSplice.OS.Report( DDS.OpenSplice.ReportType.OS_ERROR, "DDS.OpenSplice.CustomMarshalers.EntityFactoryQosPolicyMarshaler.CopyIn", "DDS/OpenSplice/CustomMarshalers/QosContainedMarshalers.cs", DDS.ErrorCode.InvalidValue, "EntityFactoryQosPolicy attribute may not be a null pointer."); } return result; }
internal DDS.ReturnCode CopyIn(EntityFactoryQosPolicy from) { cleanupRequired = true; return CopyIn(from, GapiPtr, 0); }