RTEC_Basic
所属分类:Windows编程
开发工具:WINDOWS
文件大小:10KB
下载次数:6
上传日期:2004-09-20 16:15:19
上 传 者:
zqc99
说明: corba RTEC_Basic
文件列表:
RTEC_Basic (0, 2004-08-16)
RTEC_Basic\VC++ (0, 2004-08-16)
RTEC_Basic\.cvsignore (56, 1999-07-02)
RTEC_Basic\EchoEventConsumer.dsp (3997, 2002-03-08)
RTEC_Basic\EchoEventConsumerMain.cpp (3049, 2002-03-08)
RTEC_Basic\EchoEventConsumer_i.cpp (1534, 2002-03-08)
RTEC_Basic\EchoEventConsumer_i.h (699, 2002-03-08)
RTEC_Basic\EchoEventSupplier.dsp (3938, 2002-03-08)
RTEC_Basic\EchoEventSupplierMain.cpp (3588, 2002-03-08)
RTEC_Basic\EchoEventSupplier_i.cpp (755, 2002-01-29)
RTEC_Basic\EchoEventSupplier_i.h (506, 2002-01-29)
RTEC_Basic\ExceptionUtil.h (1257, 2002-02-27)
RTEC_Basic\Makefile (5053, 2002-02-09)
RTEC_Basic\RTEC_Basic.dsw (752, 2002-01-24)
RTEC_Basic\run_test.pl (1421, 2002-03-08)
Real-Time Event Service
File: examples/EventServices/RTEC_Basic/README
This directory contains a simple example of using the RT Event service.
This example uses the push/push model:
EchoEventSupplier ------> Event_Service ------> EchoEventConsumer
-------------------------------------------------------------------------
Note: To test this, you must first run the Naming Service and the
Event Service, e.g.:
$TAO_ROOT/orbsvcs/Naming_Service/Naming_Service -o ns.ior&
$TAO_ROOT/orbsvcs/Event_Service/Event_Service -ORBInitRef NameService=file://ns.ior&
-------------------------------------------------------------------------
EchoEventSupplerMain.cpp
Main program for a PushSupplier.
EchoEventSupplier -ORBInitRef NameService=file://ns.ior
It will publish an event to the event channel every 1 second.
Use Control-C to kill the process.
-------------------------------------------------------------------------
EchoEventConsumerMain.cpp
Main program for a PushConsumer.
To run it:
EchoEventConsumer -ORBInitRef NameService=file://ns.ior
Use Control-C to kill the process.
-------------------------------------------------------------------------
EchoEventConsumer_i.{h,cpp}
Call which implements the RtecEventComm::PushConsumer interface.
Exeuction via Perl Script
-------------------------
A Perl script has been created to automate the steps shown
above. This script can be run via the following command:
./run_test.pl
近期下载者:
相关文件:
收藏者: