Example #1
0
 /// <summary>
 /// CDimension constructor. Dimension name must be the same with the one specified in FED/FDD.
 /// </summary>
 public CDimension(String name, CRoutingSpace space)
     : base()
 {
     Name    = name;
     Space   = space;
     _rtiAmb = null;
 }
Example #2
0
        /// <summary>
        ///  CreateRegion.
        /// </summary>
        public void CreateRegion(CRoutingSpace space)
        {
            #region Contracts
            // Preconditions
            Contract.Requires(RtiAmb != null, "RtiAmb is null in CreateRegion()");
            #endregion

            try
            {
                Space = space;
                RtiAmb.createRegion(Name, (uint)Extents.Count, space.Handle);
                SetRangeBounds();
            }
            catch (Exception e)
            {
                string msg = "EXC-(CreateRegion - CRegion): " + e.ToString();
                // !!! add this to Racon logger
            }
        }
Example #3
0
 /// <summary>
 /// HLA13: Adds a routing space to object model.
 /// </summary>
 public void AddToObjectModel(CRoutingSpace rs)
 {
     rs.RtiAmb = RtiAmb;
     RSList.Add(rs);
 }