⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userpkg.sbs

📁 基于Rhapsody平台的无操作系统支持的例子
💻 SBS
📖 第 1 页 / 共 3 页
字号:
							- m_bgFlag = 0;
						}
						- m_lineWidth = 1;
						- m_arrow = 2 8.37703190082248 11.8731120121504  10.8242129661408 7.03194946989036  ;
						- m_lineWidth = 1;
						- m_anglePoint1 = 0 -1 ;
						- m_anglePoint2 = 0 -1 ;
						- m_line_style = 1;
						- m_pInheritsFrom = { IHandle 
							- _m2Class = "";
						}
						- m_nInheritanceMask = 0;
					}
					{ CGITrans 
						- _id = GUID cb326b3a-34d5-441e-93b9-c38284b3a276;
						- m_type = 28;
						- m_pModelObject = { IHandle 
							- _m2Class = "ITransition";
							- _id = GUID f47d8916-70a3-47d9-b369-3562080fd6cd;
						}
						- m_pParent = ;
						- m_name = { CGIText 
							- m_str = "";
							- m_style = "Arial" 10 0 0 0 1 ;
							- m_color = { IColor 
								- m_fgColor = 0;
								- m_bgColor = 0;
								- m_bgFlag = 0;
							}
							- m_position = 1 0 0  ;
							- m_nIdent = 0;
							- m_bImplicitSetRectPoints = 0;
						}
						- m_drawBehavior = 4096;
						- m_pSource = GUID 0eb248e3-b310-468b-846d-6d7f332b684c;
						- m_sourceType = 'F';
						- m_pTarget = GUID 3eeb953d-100e-47cd-a35d-30bd52b83882;
						- m_targetType = 'T';
						- m_direction = ' ';
						- m_rpn = { CGIText 
							- m_str = "ev1";
							- m_style = "Arial" 10 0 0 0 1 ;
							- m_color = { IColor 
								- m_fgColor = 2;
								- m_bgColor = 2;
								- m_bgFlag = 0;
							}
							- m_position = 1 0 0  ;
							- m_nIdent = 0;
							- m_bImplicitSetRectPoints = 0;
						}
						- m_color = { IColor 
							- m_fgColor = 4;
							- m_bgColor = 4;
							- m_bgFlag = 0;
						}
						- m_lineWidth = 1;
						- m_arrow = 2 15.5589763316478 7.03194946989036  19.1765483412487 10.2771243608559  ;
						- m_lineWidth = 1;
						- m_anglePoint1 = 0 1 ;
						- m_anglePoint2 = 0 1 ;
						- m_line_style = 1;
						- m_pInheritsFrom = { IHandle 
							- _m2Class = "";
						}
						- m_nInheritanceMask = 0;
					}
					{ CGIState 
						- _id = GUID d96f1f2c-7a24-4648-b5ca-b0977a03751e;
						- m_type = 8;
						- m_pModelObject = { IHandle 
							- _m2Class = "IState";
							- _id = GUID 4ceb54dc-8b0c-4ca8-bcd8-f9217aea1184;
						}
						- m_pParent = GUID 3de21c65-dc32-44d0-9ef4-5261482451fc;
						- m_name = { CGIText 
							- m_str = "state_0";
							- m_style = "Arial" 10 0 0 0 1 ;
							- m_color = { IColor 
								- m_fgColor = 0;
								- m_bgColor = 0;
								- m_bgFlag = 0;
							}
							- m_position = 1 6.73848457882677 13.7458897844806  ;
							- m_nIdent = 0;
							- m_bImplicitSetRectPoints = 0;
						}
						- m_drawBehavior = 4096;
						- m_color = { IColor 
							- m_fgColor = 32;
							- m_bgColor = 21;
							- m_bgFlag = 0;
						}
						- m_lineWidth = 1;
						- m_polygon = 4 5.50425412849234 14.7458897844806  11.6754063801645 14.7458897844806  11.6754063801645 11.8731120121504  5.50425412849234 11.8731120121504  ;
						- m_nNameFormat = 0;
						- m_nIsNameFormat = 0;
						- nAndLineCount = 0;
						- m_pInheritsFrom = { IHandle 
							- _m2Class = "";
						}
						- m_nInheritanceMask = 0;
						- m_pDefaultComponentRelation = ;
					}
					
					- m_access = 'Z';
					- m_modified = 'N';
					- m_fileVersion = "";
					- m_nModifyDate = 0;
					- m_nCreateDate = 0;
					- m_creator = "";
					- m_bScaleWithZoom = 1;
					- m_arrowStyle = 'S';
					- m_pRoot = GUID 3de21c65-dc32-44d0-9ef4-5261482451fc;
					- m_currentLeftTop = 0 0 ;
					- m_currentRightBottom = 0 0 ;
					- m_pInheritsFrom = { IHandle 
						- _m2Class = "";
					}
				}
				- _defNumber = 3;
				- Transitions = { IRPYRawContainer 
					- size = 3;
					- value = 
					{ IDefaultDrvdTrans 
						- _id = GUID 2f8e3bc7-5781-4bc4-92ee-06c488e04514;
						- _myState = 2048;
						- _name = "defaulttransition_0";
						- _itsLabel = { ILabel 
							- _id = GUID 635ba2b7-e171-4285-8b32-ac8494dc0e8c;
							- _itsTrigger = NULL;
							- _itsGuard = NULL;
							- _itsAction = NULL;
						}
						- _itsTarget = GUID 4ceb54dc-8b0c-4ca8-bcd8-f9217aea1184;
						- _staticReaction = 0;
						- _itsSource = ;
						- _ofState = GUID 6730b78c-5059-49f7-b67e-863da287fbda;
					}
					{ ITransition 
						- _id = GUID 7b8c54b1-4447-4f88-89c0-7bf285146010;
						- _myState = 2048;
						- _name = "transition_1";
						- _itsLabel = { ILabel 
							- _id = GUID 15c88d18-6867-4408-83d4-e3e851cdde0a;
							- _itsTrigger = { IInterfaceItemTrigger 
								- _id = GUID 82c3d616-8ba3-4855-91c7-9e862b752d00;
								- _body = "ev1";
								- _info = "";
								- _itsInterfaceItem = { IHandle 
									- _m2Class = "IEvent";
									- _id = GUID d296f18e-dab9-4668-9a08-2fc47e2e8f54;
								}
							}
							- _itsGuard = NULL;
							- _itsAction = NULL;
						}
						- _itsTarget = GUID 2059d16a-b4dc-4dec-899d-f8bea49b0686;
						- _staticReaction = 0;
						- _itsSource = GUID 4ceb54dc-8b0c-4ca8-bcd8-f9217aea1184;
					}
					{ ITransition 
						- _id = GUID f47d8916-70a3-47d9-b369-3562080fd6cd;
						- _myState = 2048;
						- _name = "transition_2";
						- _itsLabel = { ILabel 
							- _id = GUID 6f55b2f7-7542-4b1e-998a-97ed814a5aa9;
							- _itsTrigger = { IInterfaceItemTrigger 
								- _id = GUID 2ad8507e-3567-4859-9b95-d3e5a5d1ae16;
								- _body = "ev1";
								- _info = "";
								- _itsInterfaceItem = { IHandle 
									- _m2Class = "IEvent";
									- _id = GUID d296f18e-dab9-4668-9a08-2fc47e2e8f54;
								}
							}
							- _itsGuard = NULL;
							- _itsAction = NULL;
						}
						- _itsTarget = GUID 3a37ee3c-618f-4f61-9ca5-604c23b69f6f;
						- _staticReaction = 0;
						- _itsSource = GUID 2059d16a-b4dc-4dec-899d-f8bea49b0686;
					}
				}
				- Connectors = { IRPYRawContainer 
					- size = 0;
				}
				- States = { IRPYRawContainer 
					- size = 4;
					- value = 
					{ IState 
						- _id = GUID 6730b78c-5059-49f7-b67e-863da287fbda;
						- _parent = ;
						- _defaultTrans = GUID 2f8e3bc7-5781-4bc4-92ee-06c488e04514;
					}
					{ IState 
						- _id = GUID 4ceb54dc-8b0c-4ca8-bcd8-f9217aea1184;
						- _myState = 2048;
						- _name = "state_0";
						- _parent = GUID 6730b78c-5059-49f7-b67e-863da287fbda;
						- _defaultTrans = ;
					}
					{ IState 
						- _id = GUID 2059d16a-b4dc-4dec-899d-f8bea49b0686;
						- _myState = 2048;
						- _name = "state_1";
						- _parent = GUID 6730b78c-5059-49f7-b67e-863da287fbda;
						- _defaultTrans = ;
						- _entryAction = { IAction 
							- _id = GUID 7b2c64ff-324d-478f-bf3e-6a37b4e5f0d4;
							- _myState = 4096;
							- _body = "cout << \"In class_7's state_1\" << endl;";
						}
					}
					{ IState 
						- _id = GUID 3a37ee3c-618f-4f61-9ca5-604c23b69f6f;
						- _myState = 2048;
						- _name = "state_2";
						- _parent = GUID 6730b78c-5059-49f7-b67e-863da287fbda;
						- _defaultTrans = ;
					}
				}
				- _version = 2.19.2004::9:13:49;
				- _baseVersion = 1.2.1990::0:0:0;
			}
			- Associations = { IRPYRawContainer 
				- size = 2;
				- value = 
				{ IAssociationEnd 
					- _id = GUID 0521d717-e815-4b61-bc4e-298c2f468734;
					- _myState = 2048;
					- _name = "itsClass_3";
					- _multiplicity = "1";
					- _otherClass = { IClassHandle 
						- _m2Class = "IClass";
						- _id = GUID 53218f90-893a-4d17-a1bf-11ef625d1b25;
					}
					- _inverse = { IHandle 
						- _m2Class = "";
					}
					- _linkName = "";
					- _linkType = Assoc;
					- _navigability = Navigable;
				}
				{ IAssociationEnd 
					- _id = GUID 5ffb1f2b-4eaa-4703-9200-0fe955316ad4;
					- _myState = 2048;
					- _name = "itsClass_8";
					- _multiplicity = "1";
					- _otherClass = { IClassHandle 
						- _m2Class = "IClass";
						- _id = GUID a434407a-693e-40c0-bc95-fda3e5044365;
					}
					- _inverse = { IHandle 
						- _m2Class = "";
					}
					- _linkName = "";
					- _linkType = Assoc;
					- _navigability = Navigable;
				}
			}
			- PrimitiveOperations = { IRPYRawContainer 
				- size = 2;
				- value = 
				{ IConstructor 
					- _id = GUID 8cbd5160-fa4a-4eb6-8b13-93da926992a6;
					- _virtual = 0;
					- Args = { IRPYRawContainer 
						- size = 0;
					}
					- _returnType = { IHandle 
						- _m2Class = "";
					}
					- _abstract = 0;
					- _final = 0;
					- _concurrency = Sequential;
					- _protection = iPublic;
					- _static = 0;
					- _constant = 0;
					- _itsBody = { IBody 
						- _bodyData = "cout << \"In class_7 constructor\" << endl;    

rootState_entDef();   

setItsClass_3(new class_3);
setItsClass_8(new class_8); 

// Send synchronous event to state machines
this->callEv1();
getItsClass_8()->callEv1();";
					}
					- _initializer = "";
				}
				{ IPrimitiveOperation 
					- _id = GUID 4e996681-158c-41f8-9d18-ef16c0bd7afa;
					- _name = "callEv1";
					- _virtual = 0;
					- Args = { IRPYRawContainer 
						- size = 0;
					}
					- _returnType = { IHandle 
						- _m2Class = "IType";
						- _filename = "PredefinedTypes.sbs";
						- _subsystem = "PredefinedTypes";
						- _class = "";
						- _name = "void";
						- _id = GUID c6b70728-b655-45a0-abb7-8ea5d3da94be;
					}
					- _abstract = 0;
					- _final = 0;
					- _concurrency = Sequential;
					- _protection = iPublic;
					- _static = 0;
					- _constant = 0;
					- _itsBody = { IBody 
						- _bodyData = "rootState_dispatchEvent(ev1_UserPkg_id);";
					}
				}
			}
			- TriggeredOperations = { IRPYRawContainer 
				- size = 0;
			}
			- Receptions = { IRPYRawContainer 
				- size = 1;
				- value = 
				{ IReception 
					- _id = GUID 8ccff540-fba1-4a59-9503-f4e4adc19a5f;
					- _virtual = 0;
					- Args = { IRPYRawContainer 
						- size = 0;
					}
					- _event = { IHandle 
						- _m2Class = "IEvent";
						- _id = GUID d296f18e-dab9-4668-9a08-2fc47e2e8f54;
					}
				}
			}
			- Attrs = { IRPYRawContainer 
				- size = 0;
			}
			- ObjectLinks = { IRPYRawContainer 
				- size = 0;
			}
			- _classModifier = Unspecified;
		}
		{ IClass 
			- _id = GUID a434407a-693e-40c0-bc95-fda3e5044365;
			- _myState = 10240;
			- _properties = { IPropertyContainer 
				- Subjects = { IRPYRawContainer 
					- size = 1;
					- value = 
					{ IPropertySubject 
						- _Name = "CPP_CG";
						- Metaclasses = { IRPYRawContainer 
							- size = 1;
							- value = 
							{ IPropertyMetaclass 
								- _Name = "Class";
								- Properties = { IRPYRawContainer 
									- size = 1;
									- value = 
									{ IProperty 
										- _Name = "ImpIncludes";
										- _Value = "iostream.h";
										- _Type = String;
									}
								}
							}
						}
					}
				}
			}
			- _name = "class_8";
			- _theMainDiagram = { IHandle 
				- _m2Class = "IDiagram";
				- _filename = "Overview.omd";
				- _subsystem = "UserPkg";
				- _class = "";
				- _name = "Overview";
				- _id = GUID 58f61d39-e72a-4426-bf5a-9440aec71a6b;
			}
			- weakCGTime = 3.18.2004::12:52:48;
			- strongCGTime = 3.18.2004::12:39:26;
			- AssociationElements = { IRPYRawContainer 
				- size = 0;
			}
			- _multiplicity = "";
			- _itsStateChart = { IStateChart 
				- _id = GUID 503b44d3-d09f-444b-9cb0-dc7f2da75587;
				- _myState = 8192;
				- _lastID = 2;
				- _graphicChart = { CGIStateChart 
					- _id = GUID 0c19000d-248c-4c9f-bb7a-a05b2cbf71e2;
					- m_type = 0;
					- m_pModelObject = { IHandle 
						- _m2Class = "IStateChart";
						- _id = GUID 503b44d3-d09f-444b-9cb0-dc7f2da75587;
					}
					- m_pParent = ;
					- m_name = { CGIText 
						- m_str = "";
						- m_style = "Arial" 10 0 0 0 1 ;
						- m_color = { IColor 
							- m_fgColor = 0;
							- m_bgColor = 0;
							- m_bgFlag = 0;
						}
						- m_position = 1 0 0  ;
						- m_nIdent = 0;
						- m_bImplicitSetRectPoints = 0;
					}
					- m_drawBehavior = 0;
					- elementList = 5;
					{ CGIState 
						- _id = GUID 15f19490-b8f1-4773-80c6-bde3730d6dee;
						- m_type = 8;
						- m_pModelObject = { IHandle 
							- _m2Class = "IState";
							- _id = GUID 43225535-9864-4388-8124-09c2a5629366;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -