00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef _def_h_DEFINED
00018 #define _def_h_DEFINED
00019
00020
00021
00022
00023 const char* const objectName = "SoundPlay";
00024
00025
00026
00027
00028 const int numOfSubject = 3;
00029 const int numOfObserver = 2;
00030
00031
00032
00033
00034 const char* const subjectService[numOfSubject] =
00035 {
00036 "SoundPlay.Speaker.OSoundVectorData.S",
00037 "SoundPlay.RegisterSoundManager.SoundManager.S",
00038 "SoundPlay.SoundManagerComm.SoundManagerMsg.S"
00039 };
00040
00041 const char* const observerService[numOfObserver] =
00042 {
00043 "SoundPlay.SoundManagerComm.SoundManagerMsg.O",
00044 "SoundPlay.ReceiveEventTranslatorQueue.EventTranslatorQueue.O"
00045 };
00046
00047
00048
00049
00050 const int sbjSpeaker = 0;
00051 const int sbjRegisterSoundManager = 1;
00052 const int sbjSoundManagerComm = 2;
00053
00054
00055
00056
00057 const int obsSoundManagerComm = 0;
00058 const int obsReceiveEventTranslatorQueue = 1;
00059
00060
00061 #endif // _def_h_DEFINED