Beispiel #1
0
 public PortProfile(global::omg.org.RTC.PortProfile source)
 {
     _Name = source.name;
     _Interfaces = source.interfaces.Select(x => (ReactiveRTM.RTC.PortInterfaceProfile)new ReactiveRTM.RTC.PortInterfaceProfile(x)).ToList();
     _PortRef = new ReactiveRTM.RTC.PortServiceStub(source.port_ref);
     _ConnectorProfiles = source.connector_profiles.Select(x => (ReactiveRTM.RTC.ConnectorProfile)new ReactiveRTM.RTC.ConnectorProfile(x)).ToList();
     _Owner = new ReactiveRTM.RTC.RTObjectStub(source.owner);
     _Properties = Converter.NVListToDictionary(source.properties);
 }
Beispiel #2
0
 public PortProfile()
 {
     _Name = string.Empty;
     _Interfaces = new List<ReactiveRTM.RTC.PortInterfaceProfile>();
     _PortRef = default(ReactiveRTM.RTC.PortService);
     _ConnectorProfiles = new List<ReactiveRTM.RTC.ConnectorProfile>();
     _Owner = default(ReactiveRTM.RTC.RTObject);
     _Properties = new Dictionary<string,object>();
 }
Beispiel #3
0
 public ExecutionContextProfile(global::omg.org.RTC.ExecutionContextProfile source)
 {
     _Kind = (ReactiveRTM.RTC.ExecutionKind)source.kind;
     _Rate = source.rate;
     _Owner = new ReactiveRTM.RTC.RTObjectStub(source.owner);
     _Participants = source.participants.Select(x => (ReactiveRTM.RTC.RTObject)new ReactiveRTM.RTC.RTObjectStub(x)).ToList();
     _Properties = Converter.NVListToDictionary(source.properties);
 }
Beispiel #4
0
 public ExecutionContextProfile()
 {
     _Kind = new ReactiveRTM.RTC.ExecutionKind();
     _Rate = new System.Double();
     _Owner = default(ReactiveRTM.RTC.RTObject);
     _Participants = new List<ReactiveRTM.RTC.RTObject>();
     _Properties = new Dictionary<string,object>();
 }
Beispiel #5
0
 public ComponentProfile(global::omg.org.RTC.ComponentProfile source)
 {
     _InstanceName = source.instance_name;
     _TypeName = source.type_name;
     _Description = source.description;
     _Version = source.version;
     _Vendor = source.vendor;
     _Category = source.category;
     _PortProfiles = source.port_profiles.Select(x => (ReactiveRTM.RTC.PortProfile)new ReactiveRTM.RTC.PortProfile(x)).ToList();
     _Parent = new ReactiveRTM.RTC.RTObjectStub(source.parent);
     _Properties = Converter.NVListToDictionary(source.properties);
 }
Beispiel #6
0
 public ComponentProfile()
 {
     _InstanceName = string.Empty;
     _TypeName = string.Empty;
     _Description = string.Empty;
     _Version = string.Empty;
     _Vendor = string.Empty;
     _Category = string.Empty;
     _PortProfiles = new List<ReactiveRTM.RTC.PortProfile>();
     _Parent = default(ReactiveRTM.RTC.RTObject);
     _Properties = new Dictionary<string,object>();
 }