Skip to content

Commit

Permalink
Adding japanese marking files and some example arcs for #6
Browse files Browse the repository at this point in the history
	new file:   schema/colors/bridge.jap
	new file:   schema/colors/datatype.jap
	new file:   schema/colors/domain.jap
	new file:   schema/colors/event.jap
	new file:   schema/colors/object.jap
	new file:   schema/colors/populate.arc
	new file:   schema/colors/sys_functions.arc
	new file:   schema/colors/system.jap
  • Loading branch information
keithbrown committed Feb 21, 2013
1 parent 4d993f7 commit cdeb729
Show file tree
Hide file tree
Showing 8 changed files with 1,272 additions and 0 deletions.
44 changes: 44 additions & 0 deletions schema/colors/bridge.jap
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
.//============================================================================
.// File: bridge.mark
.//
.// Description:
.// �h�?�C���Ԃ̃u���b�W�ɑ΂���?F�Â��t�@�C���ł�?B
.//
.// Notice:
.// (C) Copyright 1999-2010 Mentor Graphics Corporation
.// All rights reserved.
.//============================================================================
.//
.//============================================================================
.// Notes:
.// (1) ?F�t����archetype function invocation(s)�̃t�@�C���̒��Ŏw�肳��܂�?B
.// �K���P?s�ɋL?q���邱��?B�e��?��̓��̓p���??[�^�͑S�Ē�`���邱��?B
.// .invoke�Ŏn�܂�?F�t����`�����ɉ�?s�����Ȃ�����?B
.// (2) ������p���??[�^��?A�啶��?E?������̈Ⴂ������?B
.// (3) .// �Ŏn�܂�?s���R�?���g�ƂȂ�?B
.// (4) �{�t�@�C�����ɂ͋�?s�����Ȃ�����?B
.//============================================================================
.//
.//
.//============================================================================
.// �����T?[�r�X��?��̓o�^:
.//
.// ���f��?E�R���p�C��?[��?A����?��݃n���h��?[���邢�͑��̔񓯊�?��?�����
.// ���{��Synchronous Service�Œ�`���܂�?B
.// �eSynchronous Service����1�‚̒�`���Ŏw�肷��?B
.//
.// TagSyncServiceSafeForInterrupts( "domain", "sync_service" )
.//
.// �p���??[�^���͎͂��̒ʂ�ł�:
.// domain = xtUML�h�?�C����(�o�^��)?B
.// sync_service = �����T?[�r�X��
.//
.// Example:
.// .invoke TagSyncServiceSafeForInterrupts( "ILB", "PumpReady" )
.//
.//============================================================================
.//
.//
.//============================================================================
.// Do not add anything at the end of this file!
.//============================================================================
157 changes: 157 additions & 0 deletions schema/colors/datatype.jap
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
.//============================================================================
.// File: datatype.mark
.//
.// Description:
.// ���[�U��`�^�̏ڍׂ�F�Â����`����B
.//
.// IMPORTANT NOTE:
.// �{�F�t���t�@�C���Ŏw�肷��h���C�����͑S��'registry.mark' �œo�^����
.// �h���C���ɑ΂���o�^�����g�p���邱�ƁB
.// BridgePoint�̃��|�W�g�����i�h���C�����j�͎g�p���Ȃ����ƁB
.//
.// Notice:
.// (C) Copyright 1999-2010 Mentor Graphics Corporation
.// All rights reserved.
.//============================================================================
.// Notes:
.// (1) �F�t����archetype function invocation(s)�̃t�@�C���̒��Ŏw�肳��܂��B
.// .invoke�Ŏn�܂�F�t����`�����ɉ��s�����Ȃ����ƁB
.// �K���P�s�ɋL�q���邱�ƁB�e�֐��̓��̓p�����[�^�͑S�Ē�`���邱�ƁB
.// (2) ������p�����[�^�́A�啶���E�������̈Ⴂ������B
.// (3) .// �Ŏn�܂�s���R�����g�ƂȂ�B
.// (4) �{�t�@�C�����ɂ͋󔒍s�����Ȃ����ƁB
.//============================================================================
.//
.//============================================================================
.// ���[�U��`�^�̏ڍג�`:
.//
.// �\�t�g�E�F�A�E�A�[�L�e�N�`���[�Ƀ��[�U�ɒ�`���ꂽ�f�[�^�E�^�C�v��
.// (BridgePoint'Subsystem Partitioning Model'domain data editor�ɒ�`���ꂽ)
.//�u���m�v�Ɏ������߂ɂ́A���̊֐���`�����Ă�������:
.//
.// TagDataTypePrecision( "domain", "dt_name", "tagged_name", "initial_value" )
.//
.// �p�����[�^���͎͂��̒ʂ�ł�:
.// domain - �h���C���̓o�^���B(�V�X�e���S�̂ɋ��ʂ̃��[�U��`�^�̏ꍇ��'*')
.//�@ dt_name - BridgePoint�Œ�`�������[�U��`�^
.// tagged_name - �R�[�h��Ŏ�������^�� (��:2)
.// initial_value - �i�I�v�V�����j�����l (��:3)
.// �i��Fint�^�̏ꍇ��0 , real �̏ꍇ��0.0���j
.//
.// Examples:
.// �h���C����:
.// .invoke TagDataTypePrecision( "MyDom", "Octet", "uchar_t", "" )
.// .invoke TagDataTypePrecision( "MyDom", "FunkyReal", "double", "666.999" )
.// .invoke TagDataTypePrecision( "AS", "position", "char", "-1" )
.// System Wide Precision:
.// .invoke TagDataTypePrecision( "*", "SysWideLong", "long int", "-1" )
.//
.// Notes:
.// (1) �{�F�t�����ł��郆�[�U��`�^�́ABridgePoint�Œ�`�������[�U��`�^�ŁA
.// core data type �� 'integer' ���� 'real'�̌^�A����enumeration�^�����ł���
.// �ienumeratin�^��core data type��'string'�ł��邪integer�Ɠ��l�̈����ɂȂ�j�B
.// ����core data type�̃��[�U��`�^���w�肵���ꍇ�́A�R�[�h�������̃G���[��
.// �Ȃ�B
.// (2) tagged_name�́A�W���I��C/C++�Œ�`����Ă���^���`���邱�ƁB
.//�@�@�@�@�@��F "unsigned char", "long long", "double" ��
.// POSIX�̌^("uchar_t", ulong_t"��)����`�”\�ł���B
.// (3) �f�B�t�H���g�̏����l��int�^��0, real(float�^)��0.0�ɂȂ�B
.// �@�@�{�p�����[�^�́A�����̃f�B�t�H���g�l�ȊO�������l�Ƃ���ꍇ�Ɏg�p����B
.// (3.a) "(unsigned)EACCESS"���̃L���X�g���g�p������`���”\�ł��邪�A
.// ���ӂ��Ďg�p���邱�ƁB
.// (3.b) �����l�̒�`�ԈႢ�̓R�[�h�������̃G���[�ɂ͂Ȃ�Ȃ��B
.//============================================================================
.//
.//
.//============================================================================
.// ���[�U��`�^���|�C���^�[�Ŏ�������ꍇ�̏ڍג�`:
.//
.// BridgePoint�Œ�`�������[�U��`�^���|�C���^�[�Ƃ��Ď�������ꍇ��
.// �ڍׂ��`����B:
.//
.// MapDataTypeAsPointer( "domain", "dt_name", "pointer_type", "include_file" )
.//
.// �p�����[�^���͎͂��̒ʂ�ł�:
.// domain - �h���C���̓o�^���B�i�V�X�e���S�̂ɋ��ʂ̃��[�U��`�^�̏ꍇ��'*')
.// dt_name - BridgePoint�Œ�`�������[�U��`�^
.// pointer_type - �R�[�h��Ŏ�������|�C���^�[�^��
.// include_file - �|�C���^�[�^���`����C���N���[�h�t�@�C����
.//
.// Examples:
.// Domain specific:
.// .invoke MapDataTypeAsPointer( "MyDom", "DataPacket", "char", "" )
.// .invoke MapDataTypeAsPointer( "MyDom", "AcmeType", "SomeStruct_t", "legacy.h" )
.// System Wide:
.// .invoke MapDataTypeAsPointer( "*", "OpaquePtr", "void", "" )
.//
.// Notes:
.// (1) 'pointer_type'��'*'���L�q���Ȃ��Ȃ����ƁB�L�q�����ꍇ�́A�|�C���^�[��
.// �|�C���^�[�Ƃ��Ď��������B
.//
.//============================================================================
.//
.//
.//============================================================================
.// Specifying Values for Enumerators
.//
.// To indicate to the model compiler that a user defined enumeration
.// data type enumerator (defined in the BridgePoint Subsystem Partitioning
.// Model (SPM) domain data editor) shall have a value other than the default,
.// use the following invocation:
.//
.// TagEnumeratorDiscreteValue( "domain", "enumeration", "enumerator", "value" )
.//
.// Where the input parameters are:
.// domain - Registered domain name. Use "*" to indicate a system wide
.// enumeration data type (to be applied to all domains containing
.// the user defined enumeration data type).
.// enumeration - Name of the enumeration data type as known in the
.// application analysis.
.// enumerator - Name of the enumerator as known in the application analysis.
.// value - A string containing the value to be assigned to the enumerator.
.//
.// Examples:
.// Domain specific:
.// .invoke TagEnumeratorDiscreteValue( "MO", "wattage", "low", "4" )
.// .invoke TagEnumeratorDiscreteValue( "MO", "wattage", "med", "0x20" )
.// System Wide:
.// .invoke TagEnumeratorDiscreteValue( "*", "wattage", "high", "0x40" )
.//
.//============================================================================
.//
.//
.//============================================================================
.// Specifying Value for the Default Un-Initialized Enumerator
.//
.// To indicate to the software architecture that the un-initialized enumerator
.// of an enumeration (defined in the BridgePoint Subsystem Partitioning Model
.// (SPM) domain data editor) shall have a value other than the default,
.// use the following invocation:
.//
.// TagUninitializedEnumerationValue( "domain", "enumeration", "value" )
.//
.// Where the input parameters are:
.// domain - Registered domain name. Use "*" to indicate a system wide
.// enumeration data type (to be applied to all domains containing
.// the user defined enumeration data type).
.// enumeration - Name of the enumeration data type as known in the
.// application analysis. Use "*" to indicate ALL enumerations.
.// value - A string containing the value to be assigned to the uninitialized
.// enumerator.
.//
.// Examples:
.// Domain specific:
.// .invoke TagUninitializedEnumerationValue( "MO", "wattage", "4" )
.// All Enumerations in Domain:
.// .invoke TagUninitializedEnumerationValue( "MO", "*", "0x40" )
.// System Wide:
.// .invoke TagUninitializedEnumerationValue( "*", "wattage", "0x20" )
.// All Enumerations in All Domains:
.// .invoke TagUninitializedEnumerationValue( "*", "*", "100" )
.//
.//============================================================================
.//
.//
.//============================================================================
.// Do not add anything at the end of this file!
.//============================================================================
Loading

0 comments on commit cdeb729

Please sign in to comment.