public FederateSom() : base() { // Construct SOM ShipOC = new stms.Som.CShipOC(); AddToObjectModel(ShipOC); StationOC = new stms.Som.CStationOC(); AddToObjectModel(StationOC); RadioMessageIC = new stms.Som.CRadioMessageIC(); AddToObjectModel(RadioMessageIC); // Add Dimensions AreaOfResponsibility = new HlaDimension("AreaOfResponsibility"); AddToObjectModel(AreaOfResponsibility); CommunicationSpace = new stms.Som.CCommunicationSpace(); AddToObjectModel(CommunicationSpace); }
/// <summary> /// Adds a dimension to object model. /// </summary> /// <param name="dimension"></param> public void AddToObjectModel(HlaDimension dimension) { Dimensions.Add(dimension); }