01vxcom.cdf
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:3k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* 01vxcom.cdf - VxCOM Component description for T2.x */
  2. /* Copyright (c) 1999-2001 Wind River systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01b,13mar02,nel  SPR#73973. Remove invalid reference to
  7.                  INCLUDE_COM_CORE_KERNEL.
  8. 01a,17dec01,nel  written
  9. */
  10. Folder FOLDER_COM {
  11. NAME VxCOM (Component Object Model)
  12. SYNOPSIS COM (Component Object Model) Support
  13. _CHILDREN FOLDER_ROOT
  14. CHILDREN FOLDER_COM_CORE 
  15. FOLDER_COM_CPLUS
  16. }
  17. /* COM Core Support */
  18. Folder FOLDER_COM_CORE {
  19. NAME COM Core
  20. SYNOPSIS COM (Component Object Model) Core Support
  21. CHILDREN INCLUDE_COM_CORE 
  22. INCLUDE_COM_SHOW 
  23. INCLUDE_COM_NTP_TIME
  24. DEFAULTS INCLUDE_COM_CORE
  25. }
  26. Component INCLUDE_COM_CORE {
  27. NAME COM Core 
  28. SYNOPSIS COM (Component Object Model) Core API
  29.         PROTOTYPE void comCoreLibInit (void);
  30. INIT_RTN comCoreLibInit (); 
  31. _INIT_ORDER usrRoot
  32. MODULES comCoreLib.o 
  33. comRegistry.o 
  34. comCoreTypes_i.o 
  35. comSysLib.o 
  36. vxidl_i.o 
  37. vxStream_i.o
  38. INCLUDE_WHEN INCLUDE_COM
  39. }
  40. Component INCLUDE_COM_SHOW {
  41.         NAME            COM show routines
  42.         SYNOPSIS        enable display of COM registry, etc.
  43.         PROTOTYPE int comShowInit (void); 
  44. int include_vxcom_comShow (void);
  45.         INIT_RTN        comShowInit (); 
  46. include_vxcom_comShow ();
  47.         _INIT_ORDER     usrShowInit
  48. }
  49. Component INCLUDE_COM_NTP_TIME {
  50.         NAME            COM NTP Time support
  51.         SYNOPSIS        Use NTP to provide an adjustment to the system clock.
  52.         PROTOTYPE void comSysNtpInit (int, char *, unsigned init);
  53.         INIT_RTN        comSysNtpInit (VXCOM_NTP_BROADCAST, VXCOM_NTP_SERVER, VXCOM_NTP_TIMEOUT);
  54.         _INIT_ORDER     usrRoot
  55. CFG_PARAMS VXCOM_NTP_BROADCAST 
  56. VXCOM_NTP_SERVER 
  57. VXCOM_NTP_TIMEOUT
  58.         MODULES         comSysNtp.o
  59. }
  60. Parameter VXCOM_NTP_BROADCAST {
  61.         NAME            NTP Broadcast
  62.         SYNOPSIS        Use the NTP broadcast to get NTP server time
  63.         TYPE            bool
  64.         DEFAULT         FALSE
  65. }
  66. Parameter VXCOM_NTP_SERVER {
  67.         NAME            NTP Server
  68.         SYNOPSIS        NTP Server to use or ignored if broadcast mode is set.
  69.         TYPE            string
  70.         DEFAULT         "ntp"
  71. }
  72. Parameter VXCOM_NTP_TIMEOUT {
  73. NAME NTP Timeout
  74. SYNOPSIS NTP Timeout used when trying to retrieve time.
  75. TYPE uint
  76. DEFAULT 5
  77. }
  78. /* Enhanced COM Support */
  79. Folder FOLDER_COM_CPLUS {
  80. NAME Enhanced COM Support
  81. SYNOPSIS Enhanced COM (Component Object Model) Support
  82. CHILDREN INCLUDE_COM
  83. DEFAULTS INCLUDE_COM
  84. }
  85. Component INCLUDE_COM {
  86. NAME Enhanced COM Support
  87. SYNOPSIS Enhanced COM (Component Object Model) Support
  88.         PROTOTYPE void comLibInit (void); 
  89. int include_vxcom_comLib (void); 
  90. int include_vxcom_comMisc (void); 
  91. int include_vxcom_TaskAllocator (void); 
  92. int include_vxcom_MemoryStream (void);
  93. INIT_RTN comLibInit (); 
  94. include_vxcom_comLib (); 
  95. include_vxcom_comMisc (); 
  96. include_vxcom_TaskAllocator (); 
  97. include_vxcom_MemoryStream ();
  98.         _INIT_ORDER     usrRoot
  99. MODULES DebugHooks.o
  100. }