diff options
Diffstat (limited to 'modules/CIAO/docs/static_config_rtexample.html')
-rw-r--r-- | modules/CIAO/docs/static_config_rtexample.html | 1079 |
1 files changed, 1079 insertions, 0 deletions
diff --git a/modules/CIAO/docs/static_config_rtexample.html b/modules/CIAO/docs/static_config_rtexample.html new file mode 100644 index 00000000000..2e87e5aabe1 --- /dev/null +++ b/modules/CIAO/docs/static_config_rtexample.html @@ -0,0 +1,1079 @@ +<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en"> +<html> +<head> + <meta http-equiv="Content-Type" + content="text/html; charset=iso-8859-1"> + <meta name="Author" content="Venkita Subramonian"> + <meta name="GENERATOR" + content="Mozilla/4.76 [en] (Windows NT 5.0; U) [Netscape]"> + <title>BasicSP example using CIAO Static Configurator</title> +<!-- $Id$ --> +</head> +<body> +This example illustrates +how to use the CIAO static configurator to build applications using +RTCORBA policies statically. +From the <a href="../examples/OEP/BasicSP">BasicSP</a> directory do +the +following. +<p><b><tt>> cd descriptors</tt></b> +<br> +<b><tt>> $CIAO_ROOT/tools/static_configurator/Static_Assembly_Parser +-a BasicSP-rt.cad</tt></b> +</p> +<p>The following files are generated - +</p> +<p><a href="#Static_Assembly_Config.h">Static_Assembly_Config.h</a> +<br> +<a href="#Modified%20Static_CCM_App.cpp">Static_CCM_App.cpp</a> +<br> +<a href="#Modified%20Static_CCM_App.mpc">Static_CCM_App.mpc</a> +</p> +<p><a href="#Static_Assembly_Config.h">Static_Assembly_Config.h</a> +contains +the intermediate representation of all the parsed component and +assembly +information obtained from the XML files. <a href="#Static_CCM_App.cpp">Static_CCM_App.cpp</a> +contains the main driver application. Here a runtime <a + href="#static_config_engine">static +configuration engine</a> is used to create containers, homes, +components, +etc and then establish necessary connections between the components. +The configuration engine is also used to <a href="#rtconfig">configure</a> +the containers and RTORB with the appropriate RTCORBA policies +specified declaratively in the .rtcad file. In +the BasicSP example, an external controller (see <tt><a + href="../examples/OEP/BasicSP/README">$CIAO_ROOT/examples/OEP/BasicSP/README</a></tt>) +is used to start or stop a pulser. The generated main driver +application +(Static_CCM_App.cpp) is <a href="#Modified%20Static_CCM_App.cpp">modified</a> +to add code to trigger the pulser object on. The generated .mpc file is +<a href="#Modified%20Static_CCM_App.mpc">modified</a> +to add all other necessary files so that the application can be built +statically. +Note that the static configurator only generates only certain file +names +in the .mpc file. These filenames are obtained from the XML descriptor +files. All other necessary files have to be added manually as +indicated. +</p> +<p>Now the static build files can be generated by running the mpc +utility. +</p> +<p><b><tt>> cd ..</tt></b> +<br> +<b><tt>> $ACE_ROOT/bin/mpc -static Static_CCM_App.mpc</tt></b> +</p> +<p><a name="Static_Assembly_Config.h"></a><b><u>Static_Assembly_Config.h</u></b> +<br> +<span style="font-family: monospace;">#include "Static_Assembly.h"</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">#include "CCM_ContainerC.h"</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">#include "Container_Base.h"</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">//Containers</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">CIAO::Static_Config::ContainerAttributes +containers_table_[]= </span><br style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {"POLICY_1", +0},</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> {"", 0}</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">};</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">extern "C" +::Components::HomeExecutorBase_ptr createECHome_Impl (void);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">extern "C" +::PortableServer::Servant createECHome_Servant </span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> + (::Components::HomeExecutorBase_ptr p,</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> + ::CIAO::Session_Container *c</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> + ACE_ENV_ARG_DECL_WITH_DEFAULTS);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">extern "C" +::Components::HomeExecutorBase_ptr createBMDeviceHome_Impl (void);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">extern "C" +::PortableServer::Servant createBMDeviceHome_Servant </span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> + (::Components::HomeExecutorBase_ptr p,</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> + ::CIAO::Session_Container *c</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> + ACE_ENV_ARG_DECL_WITH_DEFAULTS);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">extern "C" +::Components::HomeExecutorBase_ptr createBMClosedEDHome_Impl (void);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">extern "C" +::PortableServer::Servant createBMClosedEDHome_Servant </span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> + (::Components::HomeExecutorBase_ptr p,</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> + ::CIAO::Session_Container *c</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> + ACE_ENV_ARG_DECL_WITH_DEFAULTS);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">extern "C" +::Components::HomeExecutorBase_ptr createBMDisplayHome_Impl (void);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">extern "C" +::PortableServer::Servant createBMDisplayHome_Servant </span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> + (::Components::HomeExecutorBase_ptr p,</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> + ::CIAO::Session_Container *c</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> + ACE_ENV_ARG_DECL_WITH_DEFAULTS);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">//Homes</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">CIAO::Static_Config::HomeAttributes +homes_table_[]= </span><br style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {"a_ECHome", +"DCE:3148F760-F2ED-4204-A775-6B972C10E8CB", "createECHome_Impl", +createECHome_Impl, "DCE:75309233-0E0A-4cfb-B186-3E99F69B1D40", +"createECHome_Servant", createECHome_Servant, 0, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{"a_BMDeviceHome", "DCE:82C2B032-37F0-4315-A59F-7020D3264E4D", +"createBMDeviceHome_Impl", createBMDeviceHome_Impl, +"DCE:93D254CF-9538-44e8-BB98-AABCD134ADD3", +"createBMDeviceHome_Servant", createBMDeviceHome_Servant, 0, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{"a_BMClosedEDHome", "DCE:8E6C468D-A39F-46b4-962B-265F1AA8D538", +"createBMClosedEDHome_Impl", createBMClosedEDHome_Impl, +"DCE:CDC06FCA-50FC-43ca-8ECC-BEFBD33FEE78", +"createBMClosedEDHome_Servant", createBMClosedEDHome_Servant, 0, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{"a_BMDisplayHome", "DCE:8E92655E-CA07-46C8-B127-0F0872A8CC29", +"createBMDisplayHome_Impl", createBMDisplayHome_Impl, +"DCE:D7984625-8561-431d-9927-4E498B317C02", +"createBMDisplayHome_Servant", createBMDisplayHome_Servant, 1, 0 }</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">};</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">//Components</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">CIAO::Static_Config::ComponentAttributes +components_table_[]= </span><br style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {"a_EC", 0, 0, +0 },</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> {"a_BMDevice", +-1, -1, 1 },</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +{"a_BMClosedED", -1, -1, 2 },</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +{"a_BMDisplay", -1, -1, 3 }</span><br style="font-family: monospace;"> +<span style="font-family: monospace;">};</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">//Component Registrations</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">CIAO::Assembly_Placement::componentinstantiation::Register_Info +component_registrations_table_[]= </span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Placement::componentinstantiation::COMPONENT, +CIAO::Assembly_Placement::componentinstantiation::IORFILE, "", "ec.ior" +}</span><br style="font-family: monospace;"> +<span style="font-family: monospace;">};</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">//Connections</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">CIAO::Static_Config::ConnectionAttributes +connections_table_[]= </span><br style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::PUBLISHER_CONSUMER, "", "timeout", 0, 1, 0, +0 },</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::PUBLISHER_CONSUMER, "", "data_available", +3, 4, 0, 0 },</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::PUBLISHER_CONSUMER, "", "out_avail", 6, 7, +0, 0 },</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::INTERFACE, "", "datain", 9, 10, 0, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::INTERFACE, "", "comp_data", 12, 13, 0, 0 }</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">};</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">//Resolver Infos</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">CIAO::Static_Config::ResolveInfoAttributes +resolvers_table_[]= </span><br style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::COMP_IDREF, "a_EC", -1, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::CONSUMER, "timeout", 2, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::COMP_IDREF, "a_BMDevice", -1, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::COMP_IDREF, "a_BMDevice", -1, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::CONSUMER, "in_avail", 5, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::COMP_IDREF, "a_BMClosedED", -1, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::COMP_IDREF, "a_BMClosedED", -1, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::CONSUMER, "data_ready", 8, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::COMP_IDREF, "a_BMDisplay", -1, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::COMP_IDREF, "a_BMClosedED", -1, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::PROVIDER, "data_read", 11, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::COMP_IDREF, "a_BMDevice", -1, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::COMP_IDREF, "a_BMDisplay", -1, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::PROVIDER, "dataout", 14, 0 },</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{CIAO::Assembly_Connection::COMP_IDREF, "a_BMClosedED", -1, 0 }</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">};</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">//Thread Pool</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">CIAO::Static_Config::ThreadPoolAttributes +thread_pool_table_[]= </span><br style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{"common_pool", 0, 10, 20, 1, 0, 0, 0},</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{"high_prio_pool", 0, 2, 2, 3, 0, 0, 0}</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">};</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">//Lanes</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">CIAO::Static_Config::LaneAttributes +lane_table_[]= </span><br style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {1, 100, 300},</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {2, 2, 2},</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {3, 1, 2},</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {1, 10, 30},</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {2, 3, 3},</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {3, 1, 2}</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">};</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">//ThreadPoolLanes</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">CIAO::Static_Config::ThreadPoolLanesAttributes +thread_pool_lanes_table_[]= </span><br style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{"shared_pool", 0, 0, 2, 0, 0, 0, 0},</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {"laned_pool", +0, 3, 5, 0, 0, 0, 0}</span><br style="font-family: monospace;"> +<span style="font-family: monospace;">};</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">//Bands</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">CIAO::Static_Config::BandAttributes +band_table_[]= </span><br style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {1, 1},</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {2, 2},</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {3, 3000}</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">};</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">//PriorityBands</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">CIAO::Static_Config::PriorityBandsAttributes +priority_band_table_[]= </span><br style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{"common_conn", 0, 2}</span><br style="font-family: monospace;"> +<span style="font-family: monospace;">};</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">//Policy Configs</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">CIAO::Static_Config::PolicyConfigAttributes +policy_config_table_[]= </span><br style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{RTCORBA::PRIORITY_MODEL_POLICY_TYPE, "", RTCORBA::SERVER_DECLARED, 2},</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{RTCORBA::THREADPOOL_POLICY_TYPE, "shared_pool", /*dummy variable*/ +RTCORBA::CLIENT_PROPAGATED, 0},</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{RTCORBA::PRIORITY_BANDED_CONNECTION_POLICY_TYPE, "common_conn", +/*dummy variable*/ RTCORBA::CLIENT_PROPAGATED, 0},</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{RTCORBA::THREADPOOL_POLICY_TYPE, "common_pool", /*dummy variable*/ +RTCORBA::CLIENT_PROPAGATED, 0},</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{RTCORBA::PRIORITY_MODEL_POLICY_TYPE, "", RTCORBA::CLIENT_PROPAGATED, 2}</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">};</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">//Policy Set</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">CIAO::Static_Config::PolicySetAttributes +policy_set_table_[]= </span><br style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {"POLICY_1", +0, 2},</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> {"POLICY_2", +3, 4}</span><br style="font-family: monospace;"> +<span style="font-family: monospace;">};</span><br> +<br> +<tt><font color="#3333ff"></font></tt></p> +<tt><font color="#3333ff"></font></tt><a + name="Modified Static_CCM_App.cpp"></a><b><u>Modified +Static_CCM_App.cpp</u></b> <br> +<p><span style="font-family: monospace;"></span><small><span + style="font-weight: bold;">(Highlighted text is manually added to the +generated .cpp file)</span></small></p> +<p><span style="font-family: monospace;">#include "RTServer_Impl.h"</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">#include "CIAO_ServersC.h"</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">#include "Server_init.h"</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">#include "Static_Configurator.h"</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">#include "ace/SString.h"</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">#include "ace/Get_Opt.h"</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">#include +"Static_Assembly_Config.h"</span><br style="font-family: monospace;"> +<span style="font-family: monospace;">#include +"tao/RTPortableServer/RTPortableServer.h"</span><br + style="font-family: monospace;"> +<span + style="font-family: monospace; color: rgb(153, 0, 0); font-weight: bold;">#include +"EC/ECC.h"</span><br + style="font-family: monospace; color: rgb(153, 0, 0); font-weight: bold;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">char *ior_file_name_ = +"comp_serv.ior"; </span><br style="font-family: monospace;"> +<span + style="font-family: monospace; color: rgb(153, 0, 0); font-weight: bold;">int +rate = 2;</span><br style="font-family: monospace;"> +<span style="font-family: monospace;">int</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">parse_args (int argc, char +*argv[])</span><br style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> ACE_Get_Opt get_opts +(argc, argv, "k:o:");</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> int c;</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> while ((c = get_opts ()) +!= -1)</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> switch (c)</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> case +'o': // get the file name to write to</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ior_file_name_ = get_opts.opt_arg ();</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> break;</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> case +'?': // display help for use of the server.</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> default:</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_ERROR_RETURN ((LM_ERROR,</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +"usage: %s\n"</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +"-o <ior_output_file>\n"</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +"\n",</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +argv [0]),</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +-1);</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> }</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> return 0;</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">}</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;">int</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">main (int argc, char *argv[])</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> ACE_TRY_NEW_ENV</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> // +Initialize orb</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +CORBA::ORB_var orb = CORBA::ORB_init (argc,</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +argv</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_ENV_ARG_PARAMETER);</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_TRY_CHECK;</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +CIAO::Server_init (orb.in ());</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> if +(parse_args (argc, argv) != 0)</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +return -1;</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> // +Get reference to Root POA.</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +CORBA::Object_var object =</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +orb->resolve_initial_references ("RootPOA"</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_ENV_ARG_PARAMETER);</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_TRY_CHECK;</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +PortableServer::POA_var root_poa =</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +PortableServer::POA::_narrow (object.in ()</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> + + ACE_ENV_ARG_PARAMETER);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> // Get +reference to RTORB.</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +object =</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +orb->resolve_initial_references ("RTORB"</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_ENV_ARG_PARAMETER);</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_TRY_CHECK;</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +RTCORBA::RTORB_var rt_orb =</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +RTCORBA::RTORB::_narrow (object.in ()</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_ENV_ARG_PARAMETER);</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_TRY_CHECK;</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> // +Activate POA manager</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +PortableServer::POAManager_var poa_manager =</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +root_poa->the_POAManager (ACE_ENV_SINGLE_ARG_PARAMETER);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_TRY_CHECK;</span><small><span style="font-weight: bold;">(Highlighted +files are manually added to the generated mpc file)</span></small><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +poa_manager->activate (ACE_ENV_SINGLE_ARG_PARAMETER);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_TRY_CHECK;</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +CIAO::RTServer::RTComponentServer_Impl *comserv_servant;</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +CIAO::Static_Configurator configurator;</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +int containers_table_size =</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +sizeof +(containers_table_)/sizeof(CIAO::Static_Config::ContainerAttributes);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +int homes_table_size =</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +sizeof (homes_table_)/sizeof(CIAO::Static_Config::HomeAttributes);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +int components_table_size =</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +sizeof +(components_table_)/sizeof(CIAO::Static_Config::ComponentAttributes);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +int component_registrations_table_size =</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +sizeof +(component_registrations_table_)/sizeof(CIAO::Assembly_Placement::componentinstantiation::Register_Info);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +int connections_table_size =</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +sizeof +(connections_table_)/sizeof(CIAO::Static_Config::ConnectionAttributes);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +int resolvers_table_size =</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +sizeof +(resolvers_table_)/sizeof(CIAO::Static_Config::ResolveInfoAttributes);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +int thread_pool_table_size=</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +sizeof(thread_pool_table_)/sizeof(CIAO::Static_Config::ThreadPoolAttributes);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +int thread_pool_lanes_table_size=</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +sizeof(thread_pool_lanes_table_)/sizeof(CIAO::Static_Config::ThreadPoolLanesAttributes);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +int priority_band_table_size=</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +sizeof(priority_band_table_)/sizeof(CIAO::Static_Config::PriorityBandsAttributes);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +int policy_set_table_size=</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +sizeof(policy_set_table_)/sizeof(CIAO::Static_Config::PolicySetAttributes);</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +CIAO::HOMECREATOR_FUNCPTR_MAP home_creator_fptr_map;</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +CIAO::HOMESERVANTCREATOR_FUNCPTR_MAP homesvnt_creator_fptr_map;</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +CIAO::Static_Config_EntryPoints_Maps maps;</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +maps.home_creator_funcptr_map_ = &home_creator_fptr_map;</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +maps.home_servant_creator_funcptr_map_ = &homesvnt_creator_fptr_map;</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +int i=0;</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +for (i=0; i<homes_table_size; ++i)</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +{</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +home_creator_fptr_map.bind (homes_table_[i].executor_entrypt_,</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +homes_table_[i].executor_fptr_);</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +homesvnt_creator_fptr_map.bind (homes_table_[i].servant_entrypt_,</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +homes_table_[i].servant_fptr_);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +}</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_NEW_RETURN (comserv_servant,</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +CIAO::RTServer::RTComponentServer_Impl (orb.in (),</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +rt_orb.in (),</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +root_poa.in (),</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +1, </span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +&maps), </span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +-1);</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +PortableServer::ServantBase_var safe_servant +(comserv_servant); </span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +Components::ConfigValues configs;</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +<span style="color: rgb(255, 0, 0);"><a name="rtconfig"></a>configurator.config_rt_info(configs, +</span></span><br style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +thread_pool_table_, </span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +thread_pool_table_size,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +lane_table_,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +thread_pool_lanes_table_,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +thread_pool_lanes_table_size,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +band_table_,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +priority_band_table_,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +priority_band_table_size,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +policy_config_table_,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +policy_set_table_,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +policy_set_table_size);</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +comserv_servant->init (configs</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_ENV_ARG_PARAMETER);</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_TRY_CHECK;</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> // +Configuring ComponentServer.</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +PortableServer::ObjectId_var cs_oid</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> += root_poa->activate_object (comserv_servant</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_ENV_ARG_PARAMETER);</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_TRY_CHECK; </span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> object = +root_poa->id_to_reference (cs_oid.in ()</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_ENV_ARG_PARAMETER);</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_TRY_CHECK;</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +Components::Deployment::ComponentServer_var comserv_obj =</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +Components::Deployment::ComponentServer::_narrow (object.in ()</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_ENV_ARG_PARAMETER);</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_TRY_CHECK;</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> if +(CORBA::is_nil (comserv_obj.in ()))</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_ERROR_RETURN ((LM_ERROR,</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +"Unable to activate RTComponentServer object\n"),</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +-1);</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +Components::Deployment::ServerActivator_var activator;</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> // +We are just storing the original configuration here.</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> // +Currently, we don't really use this ConfigValues direclty.</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +Components::ConfigValues_var more_config = new Components::ConfigValues;</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +comserv_servant->set_objref (activator.in (),</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +more_config.in (),</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +comserv_obj.in ()</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_ENV_ARG_PARAMETER);</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_TRY_CHECK;</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +<a name="static_config_engine"></a><span style="color: rgb(255, 0, 0);">configurator.configure +(orb.in (),</span></span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +comserv_obj.in (),</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +containers_table_,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +containers_table_size,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +homes_table_,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +homes_table_size,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +components_table_,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +components_table_size,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +component_registrations_table_,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +component_registrations_table_size,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +connections_table_,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +connections_table_size,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +resolvers_table_,</span><br + style="font-family: monospace; color: rgb(255, 0, 0);"> +<span style="font-family: monospace; color: rgb(255, 0, 0);"> +resolvers_table_size);</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +CORBA::String_var str = orb->object_to_string (comserv_obj.in ()</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_ENV_ARG_PARAMETER);</span><br style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +CIAO::Utility::write_IOR (ior_file_name_, str.in ());</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_DEBUG ((LM_INFO, "RTComponentServer IOR: %s\n", str.in ()));</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_DEBUG ((LM_DEBUG,</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> +"Running RTComponentServer...\n"));</span><br + style="font-family: monospace;"> +</p> +<p><b><tt><font color="#990000"> +CORBA::Object_var +pulser_obj</font></tt></b> +<br> +<b><tt><font color="#990000"> += orb->string_to_object ("file://ec.ior"</font></tt></b> +<br> +<b><tt><font color="#990000"> +ACE_ENV_ARG_PARAMETER);</font></tt></b> +<br> +<b><tt><font color="#990000"> +ACE_TRY_CHECK;</font></tt></b> +</p> +<p><b><tt><font color="#990000"> +BasicSP::EC_var +pulser</font></tt></b> +<br> +<b><tt><font color="#990000"> += BasicSP::EC::_narrow (pulser_obj.in ()</font></tt></b> +<br> +<b><tt><font color="#990000"> +ACE_ENV_ARG_PARAMETER);</font></tt></b> +<br> +<b><tt><font color="#990000"> +ACE_TRY_CHECK;</font></tt></b> +</p> +<p><b><tt><font color="#990000"> if +(CORBA::is_nil +(pulser.in ()))</font></tt></b> +<br> +<b><tt><font color="#990000"> +ACE_ERROR_RETURN ((LM_ERROR, "Unable to acquire 'EC' objref\n"), -1);</font></tt></b> +</p> +<p><b><tt><font color="#990000"> +pulser->hertz +(rate</font></tt></b> +<br> +<b><tt><font color="#990000"> +ACE_ENV_ARG_PARAMETER);</font></tt></b> +<br> +<b><tt><font color="#990000"> +ACE_TRY_CHECK;</font></tt></b> +</p> +<p><b><tt><font color="#990000"> +ACE_DEBUG +((LM_DEBUG, "Start up the Event services\n"));</font></tt></b> +</p> +<p><b><tt><font color="#990000"> +pulser->start +(ACE_ENV_SINGLE_ARG_PARAMETER);</font></tt></b> +<br> +<b><tt><font color="#990000"> +ACE_TRY_CHECK;</font></tt></b> +</p> +<p><br style="font-family: monospace;"> +<span style="font-family: monospace;"> // +Run the main event loop for the ORB.</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +orb->run (ACE_ENV_SINGLE_ARG_PARAMETER);</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_TRY_CHECK</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> }</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> ACE_CATCHANY</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> {</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +"server::main \n");</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +return 1;</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> }</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> ACE_ENDTRY;</span><br + style="font-family: monospace;"> +<br style="font-family: monospace;"> +<span style="font-family: monospace;"> return 0;</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">}</span><br> +<tt></tt></p> +<a name="Modified Static_CCM_App.mpc"></a><b><u>Modified +Static_CCM_App.mpc</u></b> +<br> +<small><span style="font-weight: bold;"><br> +(Highlighted files are manually added to the generated mpc file)</span></small><br> +<tt></tt><span style="font-family: monospace;"><br> +project(Static_CCM_App) : ciao_server, ciao_client, rtcorba, +rtportableserver, iortable, acexml{</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">includes += +$(ACE_ROOT)/TAO/CIAO/tools/Assembly_Deployer</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">includes += +$(ACE_ROOT)/TAO/CIAO/tools/static_configurator</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">includes += +$(ACE_ROOT)/TAO/CIAO/tools/RTComponentServer</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">libs += RTComponent_Server +CIAO_XML_Helpers Static_Configurator</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">after += RTComponent_Server +CIAO_XML_Helpers Static_Configurator</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> </span><br + style="font-family: monospace;"> +<span + style="font-family: monospace; color: rgb(153, 0, 0); font-weight: bold;">libs ++= BasicSP_stub BasicSP_svnt</span><br + style="font-family: monospace; color: rgb(153, 0, 0); font-weight: bold;"> +<span + style="font-family: monospace; color: rgb(153, 0, 0); font-weight: bold;">after ++= BasicSP_stub BasicSP_svnt</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">libs += EC_exec</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">after += EC_exec</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">libs += EC_svnt <span + style="font-weight: bold; color: rgb(153, 0, 0);">EC_stub</span></span><br + style="font-family: monospace; font-weight: bold; color: rgb(153, 0, 0);"> +<span style="font-family: monospace;">after += EC_svnt<span + style="font-weight: bold; color: rgb(153, 0, 0);"> EC_stub</span></span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">libs += BMDevice_exec</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">after += BMDevice_exec</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">libs += BMDevice_svnt <span + style="font-weight: bold; color: rgb(153, 0, 0);">BMDevice_stub</span></span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">after += BMDevice_svnt <span + style="font-weight: bold; color: rgb(153, 0, 0);">BMDevice_stub</span></span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">libs += BMClosedED_exec</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">after += BMClosedED_exec</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">libs += BMClosedED_svnt <span + style="font-weight: bold; color: rgb(153, 0, 0);">BMClosedED_stub</span></span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">after += BMClosedED_svnt <span + style="font-weight: bold; color: rgb(153, 0, 0);">BMClosedED_stub</span></span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">libs += BMDisplay_exec</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">after += BMDisplay_exec</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">libs += BMDisplay_svnt <span + style="font-weight: bold; color: rgb(153, 0, 0);">BMDisplay_stub</span></span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">after += BMDisplay_svnt <span + style="font-weight: bold; color: rgb(153, 0, 0);">BMDisplay_stub</span></span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> </span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> Source_Files {</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> +Static_CCM_App.cpp</span><br style="font-family: monospace;"> +<span style="font-family: monospace;"> }</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> </span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> IDL_Files {</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;"> }</span><br + style="font-family: monospace;"> +<span style="font-family: monospace;">}</span><br> +<br> +</body> +</html> |