1 ### This file has the following configuration:
2 ## EventChannel ec1 with 1 Thread
3 ## SupplierAdmim sa1 with 1 Thread
6 ## Supplier s1 has 1 Thread and is connected to sa1
7 ## Supplier s2 is connected to sa1
9 ## Supplier s3 is connected to sa2
12 ##---- Load the Factories------
13 dynamic TAO_RT_ORB_Loader Service_Object *TAO_RTCORBA:_make_TAO_RT_ORB_Loader () "-ORBPriorityMapping continuous"
15 # Uncomment this line to use SCHED_FIFO
16 #dynamic TAO_RT_ORB_Loader Service_Object *TAO_RTCORBA:_make_TAO_RT_ORB_Loader () "-ORBSchedPolicy SCHED_FIFO -ORBScopePolicy PROCESS -ORBPriorityMapping continuous"
18 dynamic TAO_Notify_Tests_RT_Application_Command_Factory Service_Object * TAO_RT_NotifyTests:_make_TAO_Notify_Tests_RT_Application_Command_Factory () ""
19 ##dynamic TAO_Notify_Tests_Application_Command_Factory Service_Object * TAO_NotifyTests:_make_TAO_Notify_Tests_Application_Command_Factory () ""
20 dynamic TAO_Notify_Tests_EventChannel_Command_Factory Service_Object *TAO_NotifyTests:_make_TAO_Notify_Tests_EventChannel_Command_Factory () ""
21 dynamic TAO_Notify_Tests_SupplierAdmin_Command_Factory Service_Object* TAO_NotifyTests:_make_TAO_Notify_Tests_SupplierAdmin_Command_Factory () ""
23 dynamic TAO_Notify_Tests_Periodic_Supplier_Command_Factory Service_Object* TAO_NotifyTests:_make_TAO_Notify_Tests_Periodic_Supplier_Command_Factory () ""
24 dynamic TAO_Notify_Tests_Filter_Command_Factory Service_Object* TAO_NotifyTests:_make_TAO_Notify_Tests_Filter_Command_Factory () ""
26 ##------- Init the Application Object ----------
27 static Command_Builder "Application -Init"
29 ##------- Create Event Channel ---------------
30 static Command_Builder "EventChannel -Create ec1 NotifyEventChannelFactory"
31 static Command_Builder "EventChannel -Set_QoS ec1 -Lanes 4 -Lane 0 1 0 -Lane 1 1 0 -Lane 2 1 0 -Lane 3 1 0"
32 static Command_Builder "Filter -CreateFactory ff ec1"
34 ### --- Create Supplier Admin 1 ----
35 static Command_Builder "SupplierAdmin -Create sa1 ec1 -AND_OP"
37 ### --- Create Supplier s1 connected to sa1. -----
38 static Command_Builder "PeriodicSupplier -Create s1 -Admin sa1 -Proxy s1_proxy -EventType Path1 -Priority 1 -Period 10000 -ExecTime 10000 -Phase 0 -Iter 5 -Load 1 "
40 static Command_Builder "Filter -CreateFilter f1 ff"
41 static Command_Builder "Filter -Add_Constraint f1 'PoolId = 1'"
42 static Command_Builder "Filter -Add_Constraint f1 'LaneId = 1'"
43 #static Command_Builder "Filter -Add_Filter f1 s1_proxy"
45 ### --- Create Supplier s2 connected to sa1 ----
46 static Command_Builder "PeriodicSupplier -Create s2 -Admin sa1 -Proxy s2_proxy -EventType Path2 -Priority 2 -Period 10000 -ExecTime 10000 -Phase 0 -Iter 5 -Load 1 "
48 static Command_Builder "Filter -CreateFilter f2 ff"
49 static Command_Builder "Filter -Add_Constraint f2 'PoolId = 1'"
50 static Command_Builder "Filter -Add_Constraint f2 'LaneId = 2'"
51 #static Command_Builder "Filter -Add_Filter f2 s2_proxy"
53 ### --- Create Supplier s3 connected to sa2 ----
54 static Command_Builder "PeriodicSupplier -Create s3 -Admin sa1 -Proxy s3_proxy -EventType Path3 -Priority 3 -Period 10000 -ExecTime 10000 -Phase 0 -Iter 5 -Load 1 "
55 static Command_Builder "Filter -CreateFilter f3 ff"
56 static Command_Builder "Filter -Add_Constraint f3 'PoolId = 1'"
57 static Command_Builder "Filter -Add_Constraint f3 'LaneId = 3'"
58 #static Command_Builder "Filter -Add_Filter f3 s3_proxy"
60 ##--------- Run -------------
61 static Command_Builder "Application -WaitToStart"
62 static Command_Builder "Application -Run"
63 static Command_Builder "Application -WaitForEvents"
64 static Command_Builder "Application -Shutdown"