diff options
Diffstat (limited to 'TAO/examples/Simulator/Event_Supplier')
21 files changed, 0 insertions, 6005 deletions
diff --git a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp b/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp deleted file mode 100644 index eb1ec2bcc55..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp +++ /dev/null @@ -1,519 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// DOVE_Supplier.cpp -// -// = DESCRIPTION -// A wrapper around the event service initialization and -// marshalling -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include "DOVE_Supplier.h" - -ACE_RCSID(Event_Supplier, DOVE_Supplier, "$Id$") - -// Static pointer member initialization for Singleton. - -ACE_Scheduler_Factory::POD_RT_Info * -DOVE_Supplier::pod_rt_info_instance_ = 0; - -// Constructor. - -DOVE_Supplier::DOVE_Supplier () - : initialized_ (0), - connected_ (0), - connection_params_list_ (0), - current_connection_params_ (0), - connection_count_ (0), - current_connection_index_ (0), - internal_DOVE_Supplier_ptr_ (0), - MIB_name_ (0) -{ - ACE_NEW (internal_DOVE_Supplier_ptr_, - Internal_DOVE_Supplier (this)); - - if (internal_DOVE_Supplier_ptr_ == 0) - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::DOVE_Supplier internal " - "supplier not allocated.")); - } -} - -// Destructor. - -DOVE_Supplier::~DOVE_Supplier () -{ - for (int i = 0; i < this->connection_count_; ++i) - { - delete (this->connection_params_list_ [i]); - } - - delete [] this->connection_params_list_; - - delete internal_DOVE_Supplier_ptr_; - -} - -// Initialize the ORB and the connection to the Name Service - -int -DOVE_Supplier::init (void) -{ - TAO_TRY - { - // Connect to the RootPOA. - CORBA::Object_var poaObject_var = - TAO_ORB_Core_instance()->orb()->resolve_initial_references("RootPOA"); - - if (CORBA::is_nil (poaObject_var.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - -1); - - this->root_POA_var_ = - PortableServer::POA::_narrow (poaObject_var.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - this->poa_manager_ = - root_POA_var_->the_POAManager (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Get the Naming Service object reference. - CORBA::Object_var namingObj_var = - TAO_ORB_Core_instance()->orb()->resolve_initial_references ("NameService"); - - if (CORBA::is_nil (namingObj_var.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to get the Naming Service.\n"), - -1); - - this->namingContext_var_ = - CosNaming::NamingContext::_narrow (namingObj_var.in (), - TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("DOVE_Supplier::init"); - return -1; - } - TAO_ENDTRY; - - initialized_ = 1; - return 0; -} - -int -DOVE_Supplier::connect (const char* MIB_name, - const char* es_name, - const char * ss_name, - ACE_Scheduler_Factory::POD_RT_Info * pod_rt_info) -{ - // Initialize the supplier if this has not already been done. - if ((initialized_ == 0) && (this->init () == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the DOVE_Supplier.\n"), - -1); - } - - - // Grab the default RT_Info settings if others were not provided. - if (pod_rt_info == 0) - { - // Get the default singleton if we were not passed the data - pod_rt_info = DOVE_Supplier::pod_rt_info_instance (); - if (pod_rt_info == 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to obtain" - " the default RT_Info data.\n"), - -1); - } - } - - // Save the passed MIB name - MIB_name_ = (MIB_name == 0) ? "MIB_unknown" : MIB_name; - - // Create a new connection parameters structure. - Connection_Params * cp_temp = 0; - ACE_NEW_RETURN (cp_temp, Connection_Params, -1); - - // Populate the known fields of the new connection params struct. - cp_temp->pod_rt_info_ = *pod_rt_info; - cp_temp->es_name_ = (es_name == 0) ? "EventService" : es_name; - cp_temp->ss_name_ = (ss_name == 0) ? "ScheduleService" : ss_name; - - // Allocate a new connection parameters pointer array. - // Cannot use ACE_NEW_RETURN here, as we need to clean up - // cp_temp if we fail here, and we need what cp_temp points - // to after the current scope if we succeed here. - Connection_Params ** cp_list_temp; - cp_list_temp = - new Connection_Params * [this->connection_count_ + 1]; - if (cp_list_temp == 0) - { - // Avoid a memory leak if we failed to allocate. - delete cp_temp; - - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) DOVE_Supplier::connect could not " - "reallocate connection params list"), - -1); - } - - // Copy the connection struct pointers from - // the old list (if any) to the new one. - for (int i = 0; i < this->connection_count_; ++i) - { - cp_list_temp [i] = - this->connection_params_list_ [i]; - } - - // Put a pointer to the new connection params structure - // in the new list, increment the connection params count, - // and point to the latest connection parameters. - cp_list_temp [this->connection_count_] = cp_temp; - this->current_connection_params_ = cp_temp; - current_connection_index_ = connection_count_; - ++ (this->connection_count_); - - // Replace the old list of pointers with the new one - delete [] this->connection_params_list_; - this->connection_params_list_ = cp_list_temp; - - // Resolve the event service reference. - if (this->get_EventChannel () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to resolve the event service.\n"), - -1); - } - - // Resolve the scheduling service reference. - if (this->get_Scheduler () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to resolve the scheduler.\n"), - -1); - } - - // Connect to the event service as a supplier. - if (this->connect_Supplier () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to connect to the event service.\n"), - -1); - } - - return 0; - -} - - -// This method is invoked after all connect calls are done. - -void -DOVE_Supplier::connected () -{ - if (! connected_) - { - // Code to do post-connection-establishment - // one-time logic goes here. - - connected_ = 1; - } -} - - -void -DOVE_Supplier::disconnect () -{ -} - - -void -DOVE_Supplier::notify (CORBA::Any &message) -{ - // Finalize connection establishment no later than the first event notification - if (! connected_) - { - this->connected (); - } - - TAO_TRY - { - RtecEventComm::Event event; - event.header.source = SOURCE_ID; - event.header.type = ACE_ES_EVENT_NOTIFICATION; - event.header.ttl = 1; - ACE_hrtime_t creation_time = ACE_OS::gethrtime (); - ORBSVCS_Time::hrtime_to_TimeT (event.header.creation_time, creation_time); - event.header.ec_recv_time = ORBSVCS_Time::zero; - event.header.ec_send_time = ORBSVCS_Time::zero; - event.data.any_value = message; - - RtecEventComm::EventSet events; - events.length (1); - events[0] = event; - - // Now we invoke a RPC - this->current_connection_params_->proxyPushConsumer_var_->push (events, - TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::notify: " - "unexpected exception.\n")); - } - TAO_ENDTRY; -} - - -// Use the next connection in the list of established connections. - -void -DOVE_Supplier::use_next_connection () -{ - if (connection_count_ > 0) - { - current_connection_index_ = - (current_connection_index_ == connection_count_ - 1) - ? 0 : current_connection_index_ + 1; - - current_connection_params_ = - connection_params_list_ [current_connection_index_]; - } -} - - -// Use the previous connection in the list of established connections. - -void -DOVE_Supplier::use_prev_connection () -{ - if (connection_count_ > 0) - { - current_connection_index_ = - (current_connection_index_ == 0) - ? connection_count_ - 1 - : current_connection_index_ - 1; - - current_connection_params_ = - connection_params_list_ [current_connection_index_]; - } -} - - - -// -------------------- Internal Demo Supplier ----------------------------- - -DOVE_Supplier::Internal_DOVE_Supplier::Internal_DOVE_Supplier (DOVE_Supplier *impl_ptr) - : impl_ptr_ (impl_ptr) -{ -} - -// ---------------------------------------------------------------------------- - -int -DOVE_Supplier::get_Scheduler () -{ - TAO_TRY - { - CosNaming::Name schedule_name (1); - schedule_name.length (1); - schedule_name[0].id = - CORBA::string_dup (this->current_connection_params_->ss_name_); - - CORBA::Object_var objref = - namingContext_var_->resolve (schedule_name, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - this->current_connection_params_->scheduler_var_ = - RtecScheduler::Scheduler::_narrow(objref.in (), - TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - current_connection_params_->scheduler_var_ = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "DOVE_Supplier::get_Scheduler: " - "error while resolving scheduler %s\n", - this->current_connection_params_->ss_name_), - -1); - } - TAO_ENDTRY; - - return 0; -} - - -int -DOVE_Supplier::get_EventChannel () -{ - TAO_TRY - { - // Get a reference to the Event Service - CosNaming::Name channel_name (1); - channel_name.length (1); - channel_name[0].id = - CORBA::string_dup (this->current_connection_params_->es_name_); - - CORBA::Object_var eventServiceObj_var = - this->namingContext_var_->resolve (channel_name, TAO_TRY_ENV); - TAO_CHECK_ENV; - - this->current_connection_params_->eventChannel_var_ = - RtecEventChannelAdmin::EventChannel::_narrow (eventServiceObj_var.in(), - TAO_TRY_ENV); - TAO_CHECK_ENV; - - if (CORBA::is_nil (this->current_connection_params_->eventChannel_var_.in())) - ACE_ERROR_RETURN ((LM_ERROR, - "The reference to the event channel is nil!"), - 1); - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("DOVE_Supplier::get_EventChannel"); - return -1; - } - TAO_ENDTRY; - - return 0; -} - - -int -DOVE_Supplier::connect_Supplier () -{ - TAO_TRY - { - // Generate the Real-time information descriptor. - this->current_connection_params_->rt_info_ = - this->current_connection_params_-> - scheduler_var_-> - create (this->current_connection_params_->pod_rt_info_.entry_point, - TAO_TRY_ENV); - - TAO_CHECK_ENV; - - this->current_connection_params_->scheduler_var_-> - set (this->current_connection_params_->rt_info_, - ACE_static_cast (RtecScheduler::Criticality_t, - this->current_connection_params_->pod_rt_info_.criticality), - this->current_connection_params_->pod_rt_info_.worst_case_execution_time, - this->current_connection_params_->pod_rt_info_.typical_execution_time, - this->current_connection_params_->pod_rt_info_.cached_execution_time, - this->current_connection_params_->pod_rt_info_.period, - ACE_static_cast (RtecScheduler::Importance_t, - this->current_connection_params_->pod_rt_info_.importance), - this->current_connection_params_->pod_rt_info_.quantum, - this->current_connection_params_->pod_rt_info_.threads, - ACE_static_cast (RtecScheduler::Info_Type_t, - this->current_connection_params_->pod_rt_info_.info_type), - TAO_TRY_ENV); - - TAO_CHECK_ENV; - - - // Set the publications to report them to the event channel. - - CORBA::Short x = 0; - RtecEventChannelAdmin::SupplierQOS qos; - qos.publications.length (1); - qos.publications[0].event.header.source = SOURCE_ID; - qos.publications[0].event.header.type = ACE_ES_EVENT_NOTIFICATION; - qos.publications[0].event.header.ttl = 1; - qos.publications[0].event.header.creation_time = ORBSVCS_Time::zero; - qos.publications[0].event.header.ec_recv_time = ORBSVCS_Time::zero; - qos.publications[0].event.header.ec_send_time = ORBSVCS_Time::zero; - qos.publications[0].event.data.any_value.replace (CORBA::_tc_short, - &x, - 0, - TAO_TRY_ENV); - TAO_CHECK_ENV; - qos.publications[0].dependency_info.number_of_calls = 1; - qos.publications[0].dependency_info.rt_info = - this->current_connection_params_->rt_info_; - - // = Connect as a supplier. - this->current_connection_params_->supplierAdmin_var_ = - this->current_connection_params_->eventChannel_var_->for_suppliers (TAO_TRY_ENV); - TAO_CHECK_ENV; - - this->current_connection_params_->proxyPushConsumer_var_ = - this->current_connection_params_->supplierAdmin_var_->obtain_push_consumer (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // In calling _this we get back an object reference and register - // the servant with the POA. - RtecEventComm::PushSupplier_var pushSupplier_var = - this->internal_DOVE_Supplier_ptr_->_this (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Connect the supplier to the proxy consumer. - ACE_SupplierQOS_Factory::debug (qos); - this->current_connection_params_-> - proxyPushConsumer_var_->connect_push_supplier (pushSupplier_var.in (), - qos, - TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("DOVE_Supplier::connect_supplier"); - return -1; - } - TAO_ENDTRY; - - return 0; - -} - - -// Access the default rt_info singleton. - -ACE_Scheduler_Factory::POD_RT_Info * -DOVE_Supplier::pod_rt_info_instance () -{ - if (DOVE_Supplier::pod_rt_info_instance_ == 0) - { - ACE_NEW_RETURN (DOVE_Supplier::pod_rt_info_instance_, - ACE_Scheduler_Factory::POD_RT_Info, - 0); - - // Set up the default data. - DOVE_Supplier::pod_rt_info_instance_->entry_point = "ABC"; - DOVE_Supplier::pod_rt_info_instance_->criticality = - RtecScheduler::VERY_LOW_CRITICALITY; - DOVE_Supplier::pod_rt_info_instance_->worst_case_execution_time = - ORBSVCS_Time::zero; - DOVE_Supplier::pod_rt_info_instance_->typical_execution_time = - ORBSVCS_Time::zero; - DOVE_Supplier::pod_rt_info_instance_->cached_execution_time = - ORBSVCS_Time::zero; - DOVE_Supplier::pod_rt_info_instance_->period = 10000000; - DOVE_Supplier::pod_rt_info_instance_->importance = - RtecScheduler::VERY_LOW_IMPORTANCE; - DOVE_Supplier::pod_rt_info_instance_->quantum = ORBSVCS_Time::zero; - DOVE_Supplier::pod_rt_info_instance_->threads = 1; - DOVE_Supplier::pod_rt_info_instance_->info_type = - RtecScheduler::OPERATION; - } - - return DOVE_Supplier::pod_rt_info_instance_; -} - - diff --git a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.h b/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.h deleted file mode 100644 index 05c1d68dd39..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.h +++ /dev/null @@ -1,140 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// DOVE_Supplier.h -// -// = DESCRIPTION -// A wrapper around the event service initialization and marshalling. -// -// = AUTHORS -// Michael Kircher (mk1@cs.wustl.edu) -// Chris Gill (cdgill@cs.wustl.edu) -// ============================================================================ - -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/corba.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/RtecEventCommS.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/Scheduler_Factory.h" - - -#ifndef DOVE_SUPPLIER_H -#define DOVE_SUPPLIER_H - -#define SOURCE_ID 123 - -class DOVE_Supplier -{ -public: - - DOVE_Supplier (); - // Constructor. - - ~DOVE_Supplier (void); - // Destructor. - - int init (void); - // Initialize the ORB and the connection to the Name Service - - int connect (const char * MIB_name = 0, - const char* es_name = 0, - const char * ss_name = 0, - ACE_Scheduler_Factory::POD_RT_Info * pod_rt_info = 0); - // Connect to the event service. - - void connected (); - // Perform all post-connection-establishment processing. - - void disconnect (); - // Disconnect from the event service. - - void notify (CORBA::Any& message); - // Notify the consumer proxy that we have events - - void use_next_connection (); - // Use the next connection in the list of established connections. - - void use_prev_connection (); - // Use the previous connection in the list of established connections. - -private: - - // The following Supplier is needed because DOVE_Supplier has not - // inherited from PushSupplier. - - class Internal_DOVE_Supplier : public POA_RtecEventComm::PushSupplier - { - friend class DOVE_Supplier; - - public: - - virtual void disconnect_push_supplier (CORBA::Environment &) - { - } - - private: - - Internal_DOVE_Supplier (DOVE_Supplier* impl_ptr); - - DOVE_Supplier* impl_ptr_; - }; - -private: - - struct Connection_Params - { - const char * es_name_; - const char * ss_name_; - RtecEventChannelAdmin::EventChannel_var eventChannel_var_; - RtecEventChannelAdmin::SupplierAdmin_var supplierAdmin_var_; - RtecEventChannelAdmin::ProxyPushConsumer_var proxyPushConsumer_var_; - RtecScheduler::Scheduler_var scheduler_var_; - RtecScheduler::handle_t rt_info_; - ACE_Scheduler_Factory::POD_RT_Info pod_rt_info_; - }; - - int get_EventChannel (); - // Get the event channel reference. - - int get_Scheduler (); - // Get the scheduler reference. - - int connect_Supplier (); - // Connect the the supplier with the event channel. - - static ACE_Scheduler_Factory::POD_RT_Info * pod_rt_info_instance (); - // Access the default rt_info singleton. - - static ACE_Scheduler_Factory::POD_RT_Info * pod_rt_info_instance_; - - // Object initialization flags - int initialized_; - int connected_; - - Connection_Params ** connection_params_list_; - Connection_Params * current_connection_params_; - int connection_count_; - int current_connection_index_; - - // = ORB, ORB Services adminstration references. - CosNaming::NamingContext_var namingContext_var_; - PortableServer::POA_var root_POA_var_; - PortableServer::POAManager_var poa_manager_; - - Internal_DOVE_Supplier* internal_DOVE_Supplier_ptr_; - - const char * MIB_name_; - // Keep the name of the MIB around. -}; - -#endif /* DOVE_SUPPLIER_H */ - diff --git a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp b/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp deleted file mode 100644 index ceb8710c86f..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.cpp +++ /dev/null @@ -1,1202 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// DualEC_Sup.cpp -// -// = DESCRIPTION -// Event Supplier for visualizing scheduling behavior, using arrival -// and dispatch data logged by an event channel dispatch command object -// -// = AUTHOR -// Chris Gill (cdgill@cs.wustl.edu) -// -// Adapted from the DOVE simulation event supplier -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include <limits.h> - -#include "tao/corba.h" -#include "tao/TAO.h" -#include "ace/Get_Opt.h" -#include "ace/Sched_Params.h" -//#include "ace/Profile_Timer.h" -#include "ace/OS.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/orbsvcs/Sched/Config_Scheduler.h" -#include "orbsvcs/orbsvcs/Runtime_Scheduler.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "DualEC_Sup.h" -#include "NavWeapC.h" - -ACE_RCSID(Event_Supplier, DualEC_Sup, "$Id$") - -static const char usage [] = -"[[-?]\n" -" -f <name of input data file>\n" -" [-O[RBport] ORB port number]\n" -" [-m <count> of messages to send (2000)]\n" -" [-b <count> at which to break navigation event\n" -" stream out onto its own channel (1000)]\n" -" [-n <usec> pause between navigation events (100000)]\n" -" [-w <usec> pause between weapons events (100000)]\n" -" [-d to dump scheduler header files]\n" -" [-s to suppress data updates by EC]\n" -" [-r to use runtime schedulers]\n" -" [-p to suppress prioritization of operations]\n"; - -DualEC_Supplier::DualEC_Supplier (int argc, char** argv) -: nav_pause_ (0, 100000), - weap_pause_ (0, 100000), - channel_hi_name_ (1), - channel_lo_name_ (1), - sched_hi_name_ (1), - sched_lo_name_ (1), - sched_hi_impl_ (0), - sched_lo_impl_ (0), - ec_hi_impl_ (0), - ec_lo_impl_ (0), - argc_(argc), - argv_(argv), - total_messages_ (2000), - break_count_(-1), - input_file_name_(0), - update_data_ (1), - dump_schedule_headers_ (0), - use_runtime_schedulers_ (0), - suppress_priority_ (0), - hi_schedule_file_name_ ("DualEC_Runtime_Hi.h"), - lo_schedule_file_name_ ("DualEC_Runtime_Lo.h"), - nav_roll_ (0), - nav_pitch_ (0) -{ - TAO_TRY - { - this->sched_hi_name_.length (1); - this->sched_hi_name_[0].id = CORBA::string_dup ("DUAL_SCHED_HI"); - TAO_CHECK_ENV; - - this->sched_lo_name_.length (1); - this->sched_lo_name_[0].id = CORBA::string_dup ("DUAL_SCHED_LO"); - TAO_CHECK_ENV; - - this->channel_hi_name_.length (1); - this->channel_hi_name_[0].id = CORBA::string_dup ("DUAL_EC_HI"); - TAO_CHECK_ENV; - - this->channel_lo_name_.length (1); - this->channel_lo_name_[0].id = CORBA::string_dup ("DUAL_EC_LO"); - TAO_CHECK_ENV; - - this->terminator_ = terminator_impl_._this (TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("DualEC_Supplier::DualEC_Supplier : could " - "not resolve reference to terminator"); - } - TAO_ENDTRY; - - // Initialize the high priority RT_Info data - rt_info_nav_hi_.entry_point = "DUALEC_NAV_HI"; - rt_info_nav_hi_.criticality = RtecScheduler::VERY_HIGH_CRITICALITY; - rt_info_nav_hi_.worst_case_execution_time = ORBSVCS_Time::zero; - rt_info_nav_hi_.typical_execution_time = ORBSVCS_Time::zero; - rt_info_nav_hi_.cached_execution_time = ORBSVCS_Time::zero; - rt_info_nav_hi_.period = 2500000; - rt_info_nav_hi_.importance = RtecScheduler::VERY_HIGH_IMPORTANCE; - rt_info_nav_hi_.quantum = ORBSVCS_Time::zero; - rt_info_nav_hi_.threads = 1; - rt_info_nav_hi_.info_type = RtecScheduler::OPERATION; - rt_info_weap_hi_ = rt_info_nav_hi_; - rt_info_weap_hi_.entry_point = "DUALEC_WEAP_HI"; - rt_info_dummy_hi_ = rt_info_nav_hi_; - rt_info_dummy_hi_.entry_point = "DUALEC_DUMMY_HI"; - - // Initialize the low priority RT_Info data - rt_info_nav_lo_.entry_point = "DUALEC_NAV_LO"; - rt_info_nav_lo_.criticality = RtecScheduler::VERY_LOW_CRITICALITY; - rt_info_nav_lo_.worst_case_execution_time = ORBSVCS_Time::zero; - rt_info_nav_lo_.typical_execution_time = ORBSVCS_Time::zero; - rt_info_nav_lo_.cached_execution_time = ORBSVCS_Time::zero; - rt_info_nav_lo_.period = 10000000; - rt_info_nav_lo_.importance = RtecScheduler::VERY_LOW_IMPORTANCE; - rt_info_nav_lo_.quantum = ORBSVCS_Time::zero; - rt_info_nav_lo_.threads = 1; - rt_info_nav_lo_.info_type = RtecScheduler::OPERATION; - rt_info_weap_lo_ = rt_info_nav_lo_; - rt_info_weap_lo_.entry_point = "DUALEC_WEAP_LO"; - rt_info_dummy_lo_ = rt_info_nav_lo_; - rt_info_dummy_lo_.entry_point = "DUALEC_DUMMY_LO"; -} - -DualEC_Supplier::~DualEC_Supplier () -{ - TAO_TRY - { - this->navigation_Supplier_.disconnect (); - this->weapons_Supplier_.disconnect (); - - // Unbind the schedulers from the NS. - this->naming_context_->unbind (this->sched_hi_name_, TAO_TRY_ENV); - TAO_CHECK_ENV; - this->naming_context_->unbind (this->sched_lo_name_, TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Unbind the ECs from the NS. - this->naming_context_->unbind (this->channel_hi_name_, TAO_TRY_ENV); - TAO_CHECK_ENV; - this->naming_context_->unbind (this->channel_lo_name_, TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("DualEC_Supplier::~DualEC_Supplier"); - } - TAO_ENDTRY; - - // @@TBD - destroy the ECs - // @@TBD - destroy the schedulers -} - -int -DualEC_Supplier::init () -{ - this->get_options (argc_, argv_); - - TAO_TRY - { - // Connect to the RootPOA. - CORBA::Object_var poaObject_var = - TAO_ORB_Core_instance()->orb()->resolve_initial_references("RootPOA"); - - if (CORBA::is_nil (poaObject_var.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - this->root_POA_var_ = - PortableServer::POA::_narrow (poaObject_var.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - this->poa_manager_ = - root_POA_var_->the_POAManager (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Get the Naming Service object reference. - CORBA::Object_var namingObj_var = - TAO_ORB_Core_instance()->orb()->resolve_initial_references ("NameService"); - - if (CORBA::is_nil (namingObj_var.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to get the Naming Service.\n"), - -1); - - this->naming_context_ = - CosNaming::NamingContext::_narrow (namingObj_var.in (), - TAO_TRY_ENV); - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("DualEC_Supplier::init"); - return -1; - } - TAO_ENDTRY; - - // Create two scheduling service instances. - if (this->create_schedulers () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Could not create schedulers"), - -1); - } - - // Create two event channels. - if (this->create_event_channels () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Could not create event channels"), - -1); - } - - // Connect suppliers to the respective event channels. - ACE_Scheduler_Factory::POD_RT_Info * rt_info_nav_hi = - (suppress_priority_) ? 0 : &rt_info_nav_hi_; - ACE_Scheduler_Factory::POD_RT_Info * rt_info_weap_hi = - (suppress_priority_) ? 0 : &rt_info_weap_hi_; - ACE_Scheduler_Factory::POD_RT_Info * rt_info_nav_lo = - (suppress_priority_) ? 0 : &rt_info_nav_lo_; - ACE_Scheduler_Factory::POD_RT_Info * rt_info_weap_lo = - (suppress_priority_) ? 0 : &rt_info_weap_lo_; - - if (this->navigation_Supplier_.connect ("MIB_unknown", - "DUAL_EC_HI", - "DUAL_SCHED_HI", - rt_info_nav_hi) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Could not connect navigation supplier to DUAL_EC_HI"), - -1); - } - - if (this->navigation_Supplier_.connect ("MIB_unknown", - "DUAL_EC_LO", - "DUAL_SCHED_LO", - rt_info_nav_lo) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Could not connect navigation supplier to DUAL_EC_LO"), - -1); - } - - if (this->weapons_Supplier_.connect ("MIB_unknown", - "DUAL_EC_HI", - "DUAL_SCHED_HI", - rt_info_weap_hi) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Could not connect weapons supplier to DUAL_EC_HI"), - -1); - } - - if (this->weapons_Supplier_.connect ("MIB_unknown", - "DUAL_EC_LO", - "DUAL_SCHED_LO", - rt_info_weap_lo) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Could not connect weapons supplier to DUAL_EC_LO"), - -1); - } - - return 0; -} - -// Private class that implements a termination servant. - -void -DualEC_Supplier::Terminator::shutdown (CORBA::Environment &_env) -{ - TAO_TRY - { - TAO_ORB_Core_instance ()->orb ()->shutdown (); - } - TAO_CATCHANY - { - } - TAO_ENDTRY; -} - - -// Run the ORB event loop. - -void * -DualEC_Supplier::run_orb (void *) -{ - TAO_TRY - { - TAO_ORB_Core_instance ()->orb ()->run (); - } - TAO_CATCHANY - { - } - TAO_ENDTRY; - - return 0; -} - - -// Run navigation event generation thread. - -void * -DualEC_Supplier::run_nav_thread (void *arg) -{ - DualEC_Supplier * sup = - ACE_static_cast (DualEC_Supplier *, arg); - - TAO_TRY - { - ACE_Unbounded_Queue_Iterator<Navigation *> - nav_iter (sup->navigation_data_); - - if (nav_iter.done ()) - { - ACE_ERROR_RETURN ((LM_ERROR, - "DualEC_Supplier::run_event_thread: " - "there is no navigation data\n"), 0); - } - - CORBA::Any any; - - long total_sent = 0; - - do - { - // Insert the event data - Navigation **nav; - - if ((nav_iter.next (nav)) && (nav) && (*nav)) - { - any.replace (_tc_Navigation, *nav, 0, TAO_TRY_ENV); - - // Sleep briefly to avoid too much livelock (a little is good). - ACE_OS::sleep (sup->nav_pause_); - - // If the break count has been reached, change the - // channel that is being used by the NAV supplier - if (total_sent == sup->break_count_) - { - ACE_DEBUG ((LM_DEBUG, - "breaking out nav at event: %d\n", - sup->break_count_)); - - sup->navigation_Supplier_.use_next_connection (); - } - - sup->navigation_Supplier_.notify (any); - } - else - { - ACE_ERROR ((LM_ERROR, - "DualEC_Supplier::run_nav_thread:" - "Could Not access navigation data")); - } - - if (total_sent < 5) - ACE_DEBUG ((LM_DEBUG, - "Pushing event data.\n")); - else if (total_sent == 5) - ACE_DEBUG ((LM_DEBUG, - "Everything is running. Going to be mute.\n")); - - nav_iter.advance (); - - if (nav_iter.done ()) - nav_iter.first (); - - } - while (++total_sent < sup->total_messages_); - - } - TAO_CATCHANY - { - } - TAO_ENDTRY; - - return 0; -} - - -// Run weapons event generation thread. - -void * -DualEC_Supplier::run_weap_thread (void *arg) -{ - DualEC_Supplier * sup = - ACE_static_cast (DualEC_Supplier *, arg); - - TAO_TRY - { - ACE_Unbounded_Queue_Iterator<Weapons *> - weap_iter (sup->weapons_data_); - - if (weap_iter.done ()) - { - ACE_ERROR_RETURN ((LM_ERROR, - "DualEC_Supplier::run_event_thread: " - "there is no navigation data\n"), 0); - } - - CORBA::Any any; - - long total_sent = 0; - - do - { - // Insert the event data - Weapons **weap; - - if ((weap_iter.next (weap)) && (weap) && (*weap)) - { - any.replace (_tc_Weapons, *weap, 0, TAO_TRY_ENV); - - // Sleep briefly to avoid too much livelock (a little is good). - ACE_OS::sleep (sup->weap_pause_); - - sup->weapons_Supplier_.notify (any); - } - else - { - ACE_ERROR ((LM_ERROR, - "DualEC_Supplier::run_weap_thread:" - "Could Not access weapons data")); - } - - if (total_sent < 5) - ACE_DEBUG ((LM_DEBUG, - "Pushing event data.\n")); - else if (total_sent == 5) - ACE_DEBUG ((LM_DEBUG, - "Everything is running. Going to be mute.\n")); - - weap_iter.advance (); - - if (weap_iter.done ()) - weap_iter.first (); - - } - while (++total_sent < sup->total_messages_); - - } - TAO_CATCHANY - { - } - TAO_ENDTRY; - - return 0; -} - - - -// Create two scheduling service instances, register -// them with the Naming Service. - -int -DualEC_Supplier::create_schedulers (void) -{ - // @@TBD - look at a command line modified setting, - // create either a runtime or a config scheduler for - // each instance - - TAO_TRY - { - if (use_runtime_schedulers_) - { - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Runtime Schedulers not implemented\n"), - -1); - } - else - { - // Create Event Service Implementations, passing in the respective - // Scheduling Service Implementations (which must already be created). - - ACE_NEW_RETURN (this->sched_hi_impl_, - ACE_Config_Scheduler, - -1); - - this->sched_hi_ = sched_hi_impl_->_this (TAO_TRY_ENV); - TAO_CHECK_ENV; - - ACE_NEW_RETURN (this->sched_lo_impl_, - ACE_Config_Scheduler, - -1); - - this->sched_lo_ = sched_lo_impl_->_this (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Register Scheduling Service Implementations with Naming Service - - this->naming_context_->bind (this ->sched_hi_name_, - this->sched_hi_.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - naming_context_->bind (this->sched_lo_name_, - this->sched_lo_.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Register high and low priority rt_infos with the - // schedulers to force priority differentiation. - - this->sched_hi_rt_info_hi_ = - this->sched_hi_-> - create (this->rt_info_dummy_hi_.entry_point, - TAO_TRY_ENV); - - TAO_CHECK_ENV; - - this->sched_hi_-> - set (this->sched_hi_rt_info_hi_, - ACE_static_cast (RtecScheduler::Criticality_t, - this->rt_info_dummy_hi_.criticality), - this->rt_info_dummy_hi_.worst_case_execution_time, - this->rt_info_dummy_hi_.typical_execution_time, - this->rt_info_dummy_hi_.cached_execution_time, - this->rt_info_dummy_hi_.period, - ACE_static_cast (RtecScheduler::Importance_t, - this->rt_info_dummy_hi_.importance), - this->rt_info_dummy_hi_.quantum, - this->rt_info_dummy_hi_.threads, - ACE_static_cast (RtecScheduler::Info_Type_t, - this->rt_info_dummy_hi_.info_type), - TAO_TRY_ENV); - - TAO_CHECK_ENV; - - this->sched_hi_rt_info_lo_ = - this->sched_hi_-> - create (this->rt_info_dummy_lo_.entry_point, - TAO_TRY_ENV); - - TAO_CHECK_ENV; - - this->sched_hi_-> - set (this->sched_hi_rt_info_lo_, - ACE_static_cast (RtecScheduler::Criticality_t, - this->rt_info_dummy_lo_.criticality), - this->rt_info_dummy_lo_.worst_case_execution_time, - this->rt_info_dummy_lo_.typical_execution_time, - this->rt_info_dummy_lo_.cached_execution_time, - this->rt_info_dummy_lo_.period, - ACE_static_cast (RtecScheduler::Importance_t, - this->rt_info_dummy_lo_.importance), - this->rt_info_dummy_lo_.quantum, - this->rt_info_dummy_lo_.threads, - ACE_static_cast (RtecScheduler::Info_Type_t, - this->rt_info_dummy_lo_.info_type), - TAO_TRY_ENV); - - TAO_CHECK_ENV; - - this->sched_hi_rt_info_hi_ = - this->sched_lo_-> - create (this->rt_info_dummy_hi_.entry_point, - TAO_TRY_ENV); - - TAO_CHECK_ENV; - - this->sched_lo_-> - set (this->sched_hi_rt_info_hi_, - ACE_static_cast (RtecScheduler::Criticality_t, - this->rt_info_dummy_hi_.criticality), - this->rt_info_dummy_hi_.worst_case_execution_time, - this->rt_info_dummy_hi_.typical_execution_time, - this->rt_info_dummy_hi_.cached_execution_time, - this->rt_info_dummy_hi_.period, - ACE_static_cast (RtecScheduler::Importance_t, - this->rt_info_dummy_hi_.importance), - this->rt_info_dummy_hi_.quantum, - this->rt_info_dummy_hi_.threads, - ACE_static_cast (RtecScheduler::Info_Type_t, - this->rt_info_dummy_hi_.info_type), - TAO_TRY_ENV); - - TAO_CHECK_ENV; - - this->sched_hi_rt_info_lo_ = - this->sched_lo_-> - create (this->rt_info_dummy_lo_.entry_point, - TAO_TRY_ENV); - - TAO_CHECK_ENV; - - this->sched_lo_-> - set (this->sched_hi_rt_info_lo_, - ACE_static_cast (RtecScheduler::Criticality_t, - this->rt_info_dummy_lo_.criticality), - this->rt_info_dummy_lo_.worst_case_execution_time, - this->rt_info_dummy_lo_.typical_execution_time, - this->rt_info_dummy_lo_.cached_execution_time, - this->rt_info_dummy_lo_.period, - ACE_static_cast (RtecScheduler::Importance_t, - this->rt_info_dummy_lo_.importance), - this->rt_info_dummy_lo_.quantum, - this->rt_info_dummy_lo_.threads, - ACE_static_cast (RtecScheduler::Info_Type_t, - this->rt_info_dummy_lo_.info_type), - TAO_TRY_ENV); - - TAO_CHECK_ENV; - - } - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("DualEC_Supplier::create_schedulers"); - return -1; - } - TAO_ENDTRY; - - return 0; -} - - -// Create two event service instances, registers -// them with the Naming Service. - -int -DualEC_Supplier::create_event_channels (void) -{ - TAO_TRY - { - // Create Event Service Implementations, passing in the respective - // Scheduling Service Implementations (which must already be created). - ACE_NEW_RETURN (this->ec_hi_impl_, - ACE_EventChannel (sched_hi_.in (), - 1, - ACE_DEFAULT_EVENT_CHANNEL_TYPE, - &default_module_factory_), - -1); - - this->ec_hi_ = ec_hi_impl_->_this (TAO_TRY_ENV); - TAO_CHECK_ENV; - - ACE_NEW_RETURN (this->ec_lo_impl_, - ACE_EventChannel (sched_lo_.in (), - 1, - ACE_DEFAULT_EVENT_CHANNEL_TYPE, - &default_module_factory_), - -1); - - this->ec_lo_ = ec_lo_impl_->_this (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Register Event Service Implementations with Naming Service - - naming_context_->bind (this->channel_hi_name_, - this->ec_hi_.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - naming_context_->bind (this->channel_lo_name_, - this->ec_lo_.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("DualEC_Supplier::create_event_channels"); - return -1; - } - TAO_ENDTRY; - - return 0; -} - -void -DualEC_Supplier::compute_schedules (void) -{ - TAO_TRY - { -#if defined (__SUNPRO_CC) - // Sun C++ 4.2 warns with the code below: - // Warning (Anachronism): Temporary used for non-const - // reference, now obsolete. - // Note: Type "CC -migration" for more on anachronisms. - // Warning (Anachronism): The copy constructor for argument - // infos of type RtecScheduler::RT_Info_Set_out should take - // const RtecScheduler::RT_Info_Set_out&. - // But, this code is not CORBA conformant, because users should - // not define instances of _out types. - - - RtecScheduler::RT_Info_Set_out infos_out_hi (this->infos_hi_); - RtecScheduler::Config_Info_Set_out configs_out_hi (this->configs_hi_); - RtecScheduler::Scheduling_Anomaly_Set_out anomalies_out_hi (this->anomalies_hi_); - sched_hi_->compute_scheduling - (ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - ACE_Sched_Params::priority_max (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - infos_out_hi, configs_out_hi, anomalies_out_hi, TAO_TRY_ENV); - TAO_CHECK_ENV; - - RtecScheduler::RT_Info_Set_out infos_out_lo (this->infos_lo_); - RtecScheduler::Config_Info_Set_out configs_out_lo (this->configs_lo_); - RtecScheduler::Scheduling_Anomaly_Set_out anomalies_out_lo (this->anomalies_lo_); - sched_lo_->compute_scheduling - (ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - ACE_Sched_Params::priority_max (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - infos_out_lo, configs_out_lo, anomalies_out_lo, TAO_TRY_ENV); - TAO_CHECK_ENV; - -#else /* ! __SUNPRO_CC */ - - sched_hi_->compute_scheduling - (ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - ACE_Sched_Params::priority_max (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - this->infos_hi_.out (), this->configs_hi_.out (), - this->anomalies_hi_.out (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - sched_lo_->compute_scheduling - (ACE_Sched_Params::priority_min (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - ACE_Sched_Params::priority_max (ACE_SCHED_FIFO, - ACE_SCOPE_THREAD), - this->infos_lo_.out (), this->configs_lo_.out (), - this->anomalies_lo_.out (), TAO_TRY_ENV); - TAO_CHECK_ENV; - -#endif /* ! __SUNPRO_CC */ - - if (dump_schedule_headers_ && (this->hi_schedule_file_name_ != 0)) - { - ACE_Scheduler_Factory::dump_schedule (infos_hi_.in (), - configs_hi_.in (), - anomalies_hi_.in (), - this->hi_schedule_file_name_); - TAO_CHECK_ENV; - } - - if (dump_schedule_headers_ && (this->lo_schedule_file_name_ != 0)) - { - ACE_Scheduler_Factory::dump_schedule (infos_lo_.in (), - configs_lo_.in (), - anomalies_lo_.in (), - this->lo_schedule_file_name_); - TAO_CHECK_ENV; - } - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("SYS_EX"); - } - TAO_ENDTRY; -} - -void -DualEC_Supplier::start_generating_events (void) -{ - TAO_TRY - { - // Activate the POA manager. - poa_manager_->activate (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Spawn a thread that runs the orb event loop - ACE_Thread_Manager orb_thread_manager; - orb_thread_manager.spawn (DualEC_Supplier::run_orb); - - // Compute the scheduling information, based on the provided RT_Infos. - this->compute_schedules (); - - - // Load the scheduling data for the simulation. - this->load_schedule_data (); - - // Sleep for 10 seconds to give time for registrations. - ACE_DEBUG ((LM_DEBUG, - "\nDUAL_SCHED_HI, DUAL_SCHED_LO, DUAL_EC_HI and " - "DUAL_EC_LO are registered with the Naming Service.\n" - "Sleeping 10 seconds before generating events\n")); - ACE_Time_Value tv (10, 0); - ACE_OS::sleep (tv); - - // Spawn thread to run over the navigation data and generate events. - ACE_Thread_Manager event_thread_manager; - event_thread_manager.spawn (DualEC_Supplier::run_nav_thread, - this); - - // Spawn thread to run over the weapons data and generate events. - event_thread_manager.spawn (DualEC_Supplier::run_weap_thread, - this); - - // Wait for the threads that are generating events. - event_thread_manager.wait (); - - // Shut down the ORB via the termination servant - this->terminator_->shutdown (); - TAO_CHECK_ENV; - - // Wait for the thread that runs the orb event loop. - orb_thread_manager.wait (); - - // Clean up the navigation data. - ACE_Unbounded_Queue_Iterator<Navigation *> - nav_iter (this->navigation_data_); - Navigation **nav_temp; - for (nav_iter.first (); - nav_iter.done () == 0; - nav_iter.advance ()) - if (nav_iter.next (nav_temp) && nav_temp) - delete (*nav_temp); - - // Clean up the weapons data. - ACE_Unbounded_Queue_Iterator<Weapons *> - weap_iter (this->weapons_data_); - Weapons **weap_temp; - for (weap_iter.first (); - weap_iter.done () == 0; - weap_iter.advance ()) - if (weap_iter.next (weap_temp) && weap_temp) - delete (*weap_temp); - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("SYS_EX"); - } - TAO_ENDTRY; - -} - -void -DualEC_Supplier::load_schedule_data () -{ - Navigation * nav = 0; - Weapons * weap = 0; - - Schedule_Viewer_Data data; - - // constants for periods (in units of one hundred nanoseconds) - const TimeBase::TimeT ONE_HZ_PERIOD = 10000000; - const TimeBase::TimeT FIVE_HZ_PERIOD = ONE_HZ_PERIOD / 5 ; - const TimeBase::TimeT TEN_HZ_PERIOD = ONE_HZ_PERIOD / 10; - const TimeBase::TimeT TWENTY_HZ_PERIOD = ONE_HZ_PERIOD / 20; - - if (this->input_file_name_) - { - // Open the scheduler data input file and read its contents into - // a queue. - FILE *input_file; - - int scan_count = 0; - input_file = ACE_OS::fopen(this->input_file_name_, "r"); - - if (input_file) - { - // Get a line at a time from the data file and parse it. - char input_buf[BUFSIZ]; - while (ACE_OS::fgets (input_buf, BUFSIZ, input_file)) - { - // Run through leading whitespace. - char *temp = input_buf; - while (*temp && isspace (*temp)) - ++temp; - - // If there is anything besides whitespace in the line - // read, scan its fields into the scheduling data - // structure. - if (ACE_OS::strlen (temp) > 0) - { - scan_count = sscanf (temp, "%s %lf %lf %lu %lu %lu %lu", - data.operation_name, - &data.utilitzation, - &data.overhead, - &data.arrival_time, - &data.deadline_time, - &data.completion_time, - &data.computation_time); - if (scan_count != 7) - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::load_schedule_data: " - "scanned incorrect number of data elements: %d\n", scan_count)); - return; - } - - - if ((strcmp(data.operation_name, "high_20") == 0) || - (strcmp(data.operation_name, "low_20") == 0)) - { - ACE_NEW (weap, Weapons); - if (weap == 0) - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::load_schedule_data: " - "failed to allocate Weapons\n")); - return; - } - - weap->criticality = 1; - weap->deadline_time = TWENTY_HZ_PERIOD; - weap->number_of_weapons = 2; - weap->weapon1_identifier = CORBA::string_alloc (30); - strcpy (weap->weapon1_identifier.inout (),"Photon Torpedoes"); - weap->weapon1_status =(ACE_OS::rand() % 4) == 0 ? 0 : 1 ; - weap->weapon2_identifier = CORBA::string_alloc (30); - strcpy (weap->weapon2_identifier.inout (),"Quantum Torpedoes"); - weap->weapon2_status = (ACE_OS::rand() % 4) == 0 ? 0 : 1; - weap->weapon3_identifier = CORBA::string_alloc (1); - strcpy (weap->weapon3_identifier.inout (), ""); - weap->weapon3_status = 0; - weap->weapon4_identifier = CORBA::string_alloc (1); - strcpy (weap->weapon4_identifier.inout (), ""); - weap->weapon4_status = 0; - weap->weapon5_identifier = CORBA::string_alloc (1); - strcpy (weap->weapon5_identifier.inout (), ""); - weap->weapon5_status = 0; - weap->utilization = 0.0; - weap->overhead = 0.0; - weap->arrival_time = ORBSVCS_Time::zero; - weap->completion_time = ORBSVCS_Time::zero; - weap->computation_time = ORBSVCS_Time::zero; - weap->update_data = update_data_; - - // Insert the data into the queue. - weapons_data_.enqueue_tail (weap); - } - else - { - ACE_NEW (nav, Navigation); - if (nav == 0) - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::load_schedule_data: " - "failed to allocate Navigation\n")); - return; - } - - nav->criticality = 0; - nav->deadline_time = TWENTY_HZ_PERIOD; - nav->position_latitude = ACE_OS::rand() % 90; - nav->position_longitude = ACE_OS::rand() % 180; - nav->altitude = ACE_OS::rand() % 100; - nav->heading = ACE_OS::rand() % 180; - this->nav_roll_ = (this->nav_roll_ >= 180) ? -180 : this->nav_roll_ + 1; - nav->roll = this->nav_roll_; - this->nav_pitch_ = (this->nav_pitch_ >= 90) ? -90 : this->nav_pitch_ + 1; - nav->pitch = this->nav_pitch_; - nav->utilization = 0.0; - nav->overhead = 0.0; - nav->arrival_time = ORBSVCS_Time::zero; - nav->completion_time = ORBSVCS_Time::zero; - nav->computation_time = ORBSVCS_Time::zero; - nav->update_data = this->update_data_; - nav->utilization = (double) (20.0 + ACE_OS::rand() % 10); - nav->overhead = (double) (ACE_OS::rand() % 10); - - // Insert the data into the queue. - navigation_data_.enqueue_tail (nav); - } - } - } - } - else - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::start_generating_events: " - "could not open input file [%s].\n", - this->input_file_name_)); - return; - } - } -} - - -// Get command line options. - -unsigned int -DualEC_Supplier::get_options (int argc, char *argv []) -{ - ACE_Get_Opt get_opt (argc, argv, "f:m:b:n:w:dsrp"); - int opt; - int temp; - - while ((opt = get_opt ()) != -1) - { - switch (opt) - { - case 'f': - this->input_file_name_ = get_opt.optarg; - - if (!this->input_file_name_ || ACE_OS::strlen (this->input_file_name_) > 0) - ACE_DEBUG ((LM_DEBUG,"Reading file!\n")); - else - { - this->input_file_name_ = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "%s: file name must be specified with -f option", - argv[0]), - 1); - } - break; - - case 'm': - temp = ACE_OS::atoi (get_opt.optarg); - if (temp > 0) - { - this->total_messages_ = (u_int) temp; - ACE_DEBUG ((LM_DEBUG, - "Messages to send: %d\n", - this->total_messages_)); - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "%s: message count must be > 0", - argv[0]), - 1); - break; - - case 'b': - temp = ACE_OS::atoi (get_opt.optarg); - if (temp > 0) - { - this->break_count_ = (u_int) temp; - ACE_DEBUG ((LM_DEBUG, - "Break count: %d\n", - this->break_count_)); - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "%s: break count must be > 0", - argv[0]), - 1); - break; - - case 'n': - temp = ACE_OS::atoi (get_opt.optarg); - if (temp >= 0) - { - this->nav_pause_ = - ACE_Time_Value(0, ACE_static_cast (long, temp)); - ACE_DEBUG ((LM_DEBUG, - "Navigation pause: %d usec\n", - temp)); - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "%s: navigation pause must be >= 0", - argv[0]), - 1); - break; - - - case 'w': - temp = ACE_OS::atoi (get_opt.optarg); - if (temp >= 0) - { - this->weap_pause_ = - ACE_Time_Value(0, ACE_static_cast (long, temp)); - ACE_DEBUG ((LM_DEBUG, - "Weapons pause: %d usec\n", - temp)); - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "%s: weapons pause must be >= 0", - argv[0]), - 1); - break; - - case 'd': - - this->dump_schedule_headers_ = 1; - break; - - case 's': - update_data_ = 0; - break; - - case 'r': - use_runtime_schedulers_ = 1; - break; - - case 'p': - suppress_priority_ = 1; - break; - - default: - case '?': - ACE_DEBUG ((LM_DEBUG, - "Usage: %s %s\n", - argv[0], usage)); - ACE_OS::exit (0); - break; - } - } - - if (argc != get_opt.optind) - ACE_ERROR_RETURN ((LM_ERROR, - "%s: too many arguments\n" - "Usage: %s %s\n", - argv[0], - argv[0], - usage), - 1); - - return 0; -} - -// function main - -int -main (int argc, char *argv []) -{ - // Enable FIFO scheduling, e.g., RT scheduling class on Solaris. - int min_priority = - ACE_Sched_Params::priority_min (ACE_SCHED_FIFO); - - // Set all threads in the process into the RT scheduling class - if (ACE_OS::sched_params (ACE_Sched_Params (ACE_SCHED_FIFO, - min_priority, - ACE_SCOPE_PROCESS)) != 0) - { - if (ACE_OS::last_error () == EPERM) - ACE_DEBUG ((LM_DEBUG, - "%s: user is not superuser, " - "so remain in time-sharing class\n", argv[0])); - else - ACE_ERROR ((LM_ERROR, - "%s: ACE_OS::sched_params failed\n", argv[0])); - } - - - - TAO_TRY - { - // Initialize ORB. - TAO_ORB_Manager orb_Manager; - - orb_Manager.init (argc, - argv, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - - // Create the demo supplier. - DualEC_Supplier *event_Supplier_ptr; - - ACE_NEW_RETURN (event_Supplier_ptr, - DualEC_Supplier(argc, argv), - -1); - - // Initialize everthing - if (event_Supplier_ptr->init () == -1) - exit (1); - - // now we can go ahead - event_Supplier_ptr->start_generating_events (); - - // when done, we clean up - delete event_Supplier_ptr; - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("SYS_EX"); - } - TAO_ENDTRY; - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Node<Navigation *>; -template class ACE_Unbounded_Queue<Navigation *>; -template class ACE_Unbounded_Queue_Iterator<Navigation *>; -template class ACE_Node<Weapons *>; -template class ACE_Unbounded_Queue<Weapons *>; -template class ACE_Unbounded_Queue_Iterator<Weapons *>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Node<Navigation *> -#pragma instantiate ACE_Unbounded_Queue<Navigation *> -#pragma instantiate ACE_Unbounded_Queue_Iterator<Navigation *> -#pragma instantiate ACE_Node<Weapons *> -#pragma instantiate ACE_Unbounded_Queue<Weapons *> -#pragma instantiate ACE_Unbounded_Queue_Iterator<Weapons *> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.dsp b/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.dsp deleted file mode 100644 index 76c74f2cd4e..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.dsp +++ /dev/null @@ -1,170 +0,0 @@ -# Microsoft Developer Studio Project File - Name="DualEC_Sup" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=DualEC_Sup - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "DualEC_Sup.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "DualEC_Sup.mak" CFG="DualEC_Sup - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "DualEC_Sup - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "DualEC_Sup - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "DualEC_Sup - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-
-!ELSEIF "$(CFG)" == "DualEC_Sup - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "DualEC_S"
-# PROP BASE Intermediate_Dir "DualEC_S"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\..\\" /I "..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "TAO_ORBSVCS_HAS_DLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs"
-
-!ENDIF
-
-# Begin Target
-
-# Name "DualEC_Sup - Win32 Release"
-# Name "DualEC_Sup - Win32 Debug"
-# Begin Group "Source files"
-
-# PROP Default_Filter "*.cpp"
-# Begin Source File
-
-SOURCE=.\DOVE_Supplier.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\DualEC_Sup.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapS.cpp
-# End Source File
-# End Group
-# Begin Group "Header files"
-
-# PROP Default_Filter "*.h"
-# Begin Source File
-
-SOURCE=.\DOVE_Supplier.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\DualEC_Sup.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapS.h
-# End Source File
-# End Group
-# Begin Group "IDL files"
-
-# PROP Default_Filter "*.idl"
-# Begin Source File
-
-SOURCE=.\NavWeap.idl
-
-!IF "$(CFG)" == "DualEC_Sup - Win32 Release"
-
-!ELSEIF "$(CFG)" == "DualEC_Sup - Win32 Debug"
-
-USERDEP__NAVWE="..\$(InputName).idl"
-# Begin Custom Build
-InputPath=.\NavWeap.idl
-InputName=NavWeap
-
-BuildCmds= \
- xcopy ..\$(InputName).idl \
- ..\..\..\..\bin\tao_idl -I ..\..\..\orbsvcs\orbsvcs $(InputName).idl \
-
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.h b/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.h deleted file mode 100644 index e620ddcd557..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/DualEC_Sup.h +++ /dev/null @@ -1,195 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// DualEC_Sup.h -// -// = DESCRIPTION -// Event supplier for visualization of scheduling behavior, using -// arrival and dispatch data logged by an EC dispatch command object -// -// = AUTHOR -// Chris Gill (cdgill@cs.wustl.edu) -// -// Adapted from the orginal DOVE simulation event supplier written by -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#ifndef DUALEC_SUP_H -#define DUALEC_SUP_H - -//#include <ctype.h> -//#include <stdio.h> - -#include "tao/corba.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/RtecEventCommS.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/Scheduler_Factory.h" -#include "orbsvcs/Event/Module_Factory.h" -#include "orbsvcs/Event/Event_Channel.h" -#include "NavWeapC.h" -#include "NavWeapS.h" -#include "DOVE_Supplier.h" - -struct Schedule_Viewer_Data -{ - char operation_name [BUFSIZ]; - double utilitzation; - double overhead; - u_long arrival_time; - u_long deadline_time; - u_long completion_time; - u_long computation_time; -}; - -class DualEC_Supplier -{ - // = TITLE - // Event Supplier. - // - // = DESCRIPTION - // Reads information out of a file and - // feeds it with additional navigation and - // weapon data into the dove_supplier, which - // is connected to the event channel -public: - - DualEC_Supplier (int argc, char** argv); - - ~DualEC_Supplier (void); - - int init (void); - // Initialize: set up, resolve ORB services, - // connect the DOVE_Suppliers. - - void compute_schedules (void); - // Compute schedule priorities, possibly dump - // data into runtime scheduler header files. - - void start_generating_events (void); - // here is really something going on, - // here we deliver the messages - - void load_schedule_data (); - // Load the scheduling information into memory - - -private: - - class Terminator : public POA_NavWeapTerminator - // = DESCRIPTION - // Private class that implements a termination servant. - { - void shutdown (CORBA::Environment &_env); - }; - - static void * run_orb (void *); - // Run the orb event loop. - - static void * run_nav_thread (void *arg); - // Run navigation event generation thread. - - static void * run_weap_thread (void *arg); - // Run weapons event generation thread. - - int create_schedulers (void); - // Create two scheduling service instances, registers - // them with the Naming Service. - - int create_event_channels (void); - // Create two event service instances, registers - // them with the Naming Service. - - unsigned int get_options (int argc, char *argv []); - // Get command line options. - - // Time values to pause before notifying the supplier each time. - ACE_Time_Value nav_pause_; - ACE_Time_Value weap_pause_; - - // POA client references. - PortableServer::POA_var root_POA_var_; - PortableServer::POAManager_var poa_manager_; - - // Naming Service client reference and names to use. - CosNaming::NamingContext_var naming_context_; - CosNaming::Name channel_hi_name_; - CosNaming::Name channel_lo_name_; - CosNaming::Name sched_hi_name_; - CosNaming::Name sched_lo_name_; - - // Scheduling Service servant implementation pointers. - POA_RtecScheduler::Scheduler * sched_hi_impl_; - POA_RtecScheduler::Scheduler * sched_lo_impl_; - - // Scheduling Service client references. - RtecScheduler::Scheduler_var sched_hi_; - RtecScheduler::Scheduler_var sched_lo_; - - // Handles for the dummy rt_infos registered with the - // schedulers in order to force priority differentiation. - RtecScheduler::handle_t sched_hi_rt_info_hi_; - RtecScheduler::handle_t sched_hi_rt_info_lo_; - RtecScheduler::handle_t sched_lo_rt_info_hi_; - RtecScheduler::handle_t sched_lo_rt_info_lo_; - - // Termination servant implementation and client reference - Terminator terminator_impl_; - NavWeapTerminator_var terminator_; - - // Default EC module factory for Event - // Service servant implementations. - TAO_Default_Module_Factory default_module_factory_; - - // Event Service servant implementation pointers. - POA_RtecEventChannelAdmin::EventChannel *ec_hi_impl_; - POA_RtecEventChannelAdmin::EventChannel *ec_lo_impl_; - - // Event Service client references. - RtecEventChannelAdmin::EventChannel_var ec_hi_; - RtecEventChannelAdmin::EventChannel_var ec_lo_; - - DOVE_Supplier weapons_Supplier_; - DOVE_Supplier navigation_Supplier_; - - // Data for registering RT_Infos - ACE_Scheduler_Factory::POD_RT_Info rt_info_nav_hi_; - ACE_Scheduler_Factory::POD_RT_Info rt_info_nav_lo_; - ACE_Scheduler_Factory::POD_RT_Info rt_info_weap_hi_; - ACE_Scheduler_Factory::POD_RT_Info rt_info_weap_lo_; - ACE_Scheduler_Factory::POD_RT_Info rt_info_dummy_hi_; - ACE_Scheduler_Factory::POD_RT_Info rt_info_dummy_lo_; - - // References for CORBA RtecScheduler data structures - RtecScheduler::RT_Info_Set_var infos_hi_; - RtecScheduler::Config_Info_Set_var configs_hi_; - RtecScheduler::Scheduling_Anomaly_Set_var anomalies_hi_; - RtecScheduler::RT_Info_Set_var infos_lo_; - RtecScheduler::Config_Info_Set_var configs_lo_; - RtecScheduler::Scheduling_Anomaly_Set_var anomalies_lo_; - - // Queues to store event carried data structures. - ACE_Unbounded_Queue<Navigation *> navigation_data_; - ACE_Unbounded_Queue<Weapons *> weapons_data_; - - int argc_; - char **argv_; - long total_messages_; - long break_count_; - char *input_file_name_; - unsigned long update_data_; - int dump_schedule_headers_; - int use_runtime_schedulers_; - int suppress_priority_; - const char * hi_schedule_file_name_; - const char * lo_schedule_file_name_; - CORBA::Long nav_roll_; - CORBA::Long nav_pitch_; -}; - -#endif /* DUALEC_SUP_H */ - diff --git a/TAO/examples/Simulator/Event_Supplier/EDF.dat b/TAO/examples/Simulator/Event_Supplier/EDF.dat deleted file mode 100644 index 4fbc28d9c0f..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/EDF.dat +++ /dev/null @@ -1,72 +0,0 @@ -low_20 1.000000 0.000000 0 500000 180000 180000 -high_20 1.000000 0.000000 0 500000 360000 180000 -low_20 1.000000 0.000000 500000 1000000 680000 180000 -high_20 1.000000 0.000000 500000 1000000 860000 180000 -low_10 1.000000 0.000000 0 1000000 900000 180000 -low_20 1.000000 0.000000 1000000 1500000 1180000 180000 -high_20 1.000000 0.000000 1000000 1500000 1360000 180000 -low_20 1.000000 0.000000 1500000 2000000 1680000 180000 -high_20 1.000000 0.000000 1500000 2000000 1860000 180000 -low_10 1.000000 0.000000 1000000 2000000 1900000 180000 -high_10 1.000000 0.000000 0 1000000 1980000 180000 -low_20 1.000000 0.000000 2000000 2500000 2180000 180000 -high_20 1.000000 0.000000 2000000 2500000 2360000 180000 -low_20 1.000000 0.000000 2500000 3000000 2680000 180000 -high_20 1.000000 0.000000 2500000 3000000 2860000 180000 -low_10 1.000000 0.000000 2000000 3000000 2900000 180000 -low_20 1.000000 0.000000 3000000 3500000 3180000 180000 -high_20 1.000000 0.000000 3000000 3500000 3360000 180000 -low_20 1.000000 0.000000 3500000 4000000 3680000 180000 -high_20 1.000000 0.000000 3500000 4000000 3860000 180000 -low_10 1.000000 0.000000 3000000 4000000 3900000 180000 -high_10 1.000000 0.000000 1000000 2000000 3960000 180000 -low_20 1.000000 0.000000 4000000 4500000 4180000 180000 -high_20 1.000000 0.000000 4000000 4500000 4360000 180000 -low_20 1.000000 0.000000 4500000 5000000 4680000 180000 -high_20 1.000000 0.000000 4500000 5000000 4860000 180000 -low_10 1.000000 0.000000 4000000 5000000 4900000 180000 -low_20 1.000000 0.000000 5000000 5500000 5180000 180000 -high_20 1.000000 0.000000 5000000 5500000 5360000 180000 -low_20 1.000000 0.000000 5500000 6000000 5680000 180000 -high_20 1.000000 0.000000 5500000 6000000 5860000 180000 -low_10 1.000000 0.000000 5000000 6000000 5900000 180000 -high_10 1.000000 0.000000 3000000 4000000 5940000 180000 -low_20 1.000000 0.000000 6000000 6500000 6180000 180000 -high_20 1.000000 0.000000 6000000 6500000 6360000 180000 -low_20 1.000000 0.000000 6500000 7000000 6680000 180000 -high_20 1.000000 0.000000 6500000 7000000 6860000 180000 -low_10 1.000000 0.000000 6000000 7000000 6900000 180000 -low_20 1.000000 0.000000 7000000 7500000 7180000 180000 -high_20 1.000000 0.000000 7000000 7500000 7360000 180000 -low_20 1.000000 0.000000 7500000 8000000 7680000 180000 -high_20 1.000000 0.000000 7500000 8000000 7860000 180000 -low_10 1.000000 0.000000 7000000 8000000 7900000 180000 -high_10 1.000000 0.000000 5000000 6000000 7920000 180000 -low_20 1.000000 0.000000 8000000 8500000 8180000 180000 -high_20 1.000000 0.000000 8000000 8500000 8360000 180000 -low_20 1.000000 0.000000 8500000 9000000 8680000 180000 -high_20 1.000000 0.000000 8500000 9000000 8860000 180000 -low_10 1.000000 0.000000 8000000 9000000 8900000 180000 -high_10 1.000000 0.000000 7000000 8000000 9000000 180000 -low_20 1.000000 0.000000 9000000 9500000 9180000 180000 -high_20 1.000000 0.000000 9000000 9500000 9360000 180000 -low_20 1.000000 0.000000 9500000 10000000 9680000 180000 -high_20 1.000000 0.000000 9500000 10000000 9860000 180000 -low_10 1.000000 0.000000 9000000 10000000 9900000 180000 -high_10 1.000000 0.000000 9000000 10000000 10080000 180000 -low_5 1.000000 0.000000 8000000 10000000 10260000 180000 -high_5 1.000000 0.000000 8000000 10000000 10440000 180000 -low_1 1.000000 0.000000 0 10000000 10620000 180000 -high_1 1.000000 0.000000 0 10000000 10800000 180000 -high_10 1.000000 0.000000 8000000 9000000 10980000 180000 -high_5 1.000000 0.000000 6000000 8000000 11160000 180000 -low_5 1.000000 0.000000 6000000 8000000 11340000 180000 -high_10 1.000000 0.000000 6000000 7000000 11520000 180000 -low_5 1.000000 0.000000 4000000 6000000 11700000 180000 -high_5 1.000000 0.000000 4000000 6000000 11880000 180000 -high_10 1.000000 0.000000 4000000 5000000 12060000 180000 -high_5 1.000000 0.000000 2000000 4000000 12240000 180000 -low_5 1.000000 0.000000 2000000 4000000 12420000 180000 -high_10 1.000000 0.000000 2000000 3000000 12600000 180000 -low_5 1.000000 0.000000 0 2000000 12780000 180000 -high_5 1.000000 0.000000 0 2000000 12960000 180000 diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp b/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp deleted file mode 100644 index 5ada49615e9..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp +++ /dev/null @@ -1,376 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Event_Con.cpp -// -// = DESCRIPTION -// This demo just tests the basic functionality of the Event Service -// One Conumer which inherits from the Rtec Consumer. One Supplier -// with an internal Rtec Consumer and one internal Rtec Supplier. -// The internal Supplier is just a demo supplier because the -// architecture expects an supplier which has inherited from the -// Rtec Supplier. -// -// = AUTHOR -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include <limits.h> - -#include "ace/Get_Opt.h" -#include "ace/Sched_Params.h" -#include "ace/Profile_Timer.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/Scheduler_Factory.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "Event_Con.h" -#include "NavWeapC.h" - -ACE_RCSID(Event_Supplier, Event_Con, "$Id$") - -static const char usage [] = -"[-? |\n" -" [-c <consumers> [4]]\n" -" [-d directly connect all consumers/suppliers\n" -" [-j to collect jitter statistics]\n" -" [-m <count> of messages to send [10]]\n" -" [-s <suppliers>, [1]]\n" -" [-t <timeout interval>, msec [250]]]"; - -static int received = 0; - -// ************************************************************ - -Demo_Consumer::Demo_Consumer (void) -{ -} - -int -Demo_Consumer::open_consumer (RtecEventChannelAdmin::EventChannel_ptr ec, - const char *my_name) -{ - TAO_TRY - { - // Get a Scheduler. - - RtecScheduler::Scheduler_ptr server = - ACE_Scheduler_Factory::server (); - - // Define Real-time information. - - rt_info_ = server->create (my_name, TAO_TRY_ENV); - - server->set (rt_info_, - RtecScheduler::VERY_LOW_CRITICALITY, - ORBSVCS_Time::zero, - ORBSVCS_Time::zero, - ORBSVCS_Time::zero, - 2500000, - RtecScheduler::VERY_LOW_IMPORTANCE, - ORBSVCS_Time::zero, - 1, - RtecScheduler::OPERATION, - TAO_TRY_ENV); - - - // Create the event that we're registering for. - - ACE_ConsumerQOS_Factory dependencies; - dependencies.start_disjunction_group (); - dependencies.insert_type (ACE_ES_EVENT_NOTIFICATION, rt_info_); - dependencies.insert_type (ACE_ES_EVENT_SHUTDOWN, rt_info_); - - // The channel administrator is the event channel we got from - // the invocation of this routine. - - this->channel_admin_ = ec; - - // = Connect as a consumer. - - this->consumer_admin_ = - channel_admin_->for_consumers (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Obtain a pointer to a push supplier. "suppliers" is - // inherited from a base class. - - this->suppliers_ = - consumer_admin_->obtain_push_supplier (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // The _this function returns an object pointer. This is needed - // because a consumer inherits from a Servant class that is no - // CORBA::Object. - - RtecEventComm::PushConsumer_var objref = - this->_this (TAO_TRY_ENV); - TAO_CHECK_ENV; - - this->suppliers_->connect_push_consumer (objref.in (), - dependencies.get_ConsumerQOS (), - TAO_TRY_ENV); - TAO_CHECK_ENV; - } - TAO_CATCH (RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR, se) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Demo_Consumer::open: subscribe failed.\n"), - -1); - } - TAO_CATCHANY - { - ACE_ERROR_RETURN ((LM_ERROR, - "Demo_Consumer::open: unexpected exception.\n"), - -1); - } - TAO_ENDTRY; - - return 0; -} - -void -Demo_Consumer::disconnect_push_consumer (CORBA::Environment &) -{ - ACE_DEBUG ((LM_DEBUG, - "Consumer received disconnect from channel.\n")); -} - -void -Demo_Consumer::push (const RtecEventComm::EventSet &events, - CORBA::Environment &) -{ - - if (events.length () == 0) - { - ACE_DEBUG ((LM_DEBUG, "no events\n")); - return; - } - - cout << "Number of events: " << received++ << endl; - - for (CORBA::ULong i = 0; i < events.length (); ++i) - { - if (events[i].header.type == ACE_ES_EVENT_SHUTDOWN) - { - ACE_DEBUG ((LM_DEBUG, "Demo Consumer: received shutdown event\n")); - this->shutdown (); - } - else - { - ACE_DEBUG ((LM_DEBUG, "Demo Consumer: received ACE_ES_EVENT_NOTIFICATION event.\n")); - - TAO_TRY - { - cout << "ID: " << events[i].data.any_value.type()->id(TAO_TRY_ENV) << endl; - TAO_CHECK_ENV; - cout << "Name: " << events[i].data.any_value.type()->name(TAO_TRY_ENV) << endl; - TAO_CHECK_ENV; - cout << "member_count: " << events[i].data.any_value.type()->member_count(TAO_TRY_ENV) << endl; - TAO_CHECK_ENV; - cout << "TCKind: " << events[i].data.any_value.type()->kind(TAO_TRY_ENV) << endl; - TAO_CHECK_ENV; - - if (_tc_Navigation->equal (events[i].data.any_value.type(), TAO_TRY_ENV)) - { - TAO_CHECK_ENV; - Navigation *navigation_ = (Navigation*) events[i].data.any_value.value (); - - cout << "Found a Navigation struct in the any: pos_lat = " << navigation_->position_latitude << endl; - } - else if (_tc_Weapons->equal (events[i].data.any_value.type(), TAO_TRY_ENV)) - { - TAO_CHECK_ENV; - Weapons *weapons_ = (Weapons*) events[i].data.any_value.value (); - - cout << "Found a Navigation struct in the any: pos_lat = " << weapons_->number_of_weapons << endl; - } - - - } - TAO_CATCHANY - { - ACE_ERROR ((LM_ERROR, "(%t)Error in extracting the Navigation and Weapons data.\n")); - } - TAO_ENDTRY; - } - } -} - -void -Demo_Consumer::shutdown (void) -{ - TAO_TRY - { - // Disconnect from the push supplier. - - this->suppliers_->disconnect_push_supplier (TAO_TRY_ENV); - TAO_CHECK_ENV; - - ACE_DEBUG ((LM_DEBUG, "@@ we should shutdown here!!!\n")); - TAO_CHECK_ENV; - - TAO_ORB_Core_instance ()->orb ()->shutdown (); - TAO_CHECK_ENV; - } - TAO_CATCHANY - { - ACE_ERROR ((LM_ERROR, - "(%t) Demo_Consumer::shutdown: unexpected exception.\n")); - } - TAO_ENDTRY; -} - -// function get_options - -static unsigned int -get_options (int argc, char *argv []) -{ - ACE_Get_Opt get_opt (argc, argv, "Oc:djm:s:t:?"); - int opt; - - while ((opt = get_opt ()) != EOF) - { - switch (opt) - { - case '?': - ACE_DEBUG ((LM_DEBUG, - "Usage: %s %s\n", - argv[0], usage)); - ACE_OS::exit (0); - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%s: unknown arg, -%c\n" - "Usage: %s %s\n", - argv[0], char(opt), - argv[0], usage), 1); - } - } - - if (argc != get_opt.optind) - ACE_ERROR_RETURN ((LM_ERROR, - "%s: too many arguments\n" - "Usage: %s %s\n", - argv[0], - argv[0], - usage), - 1); - return 0; -} - -// function main. - -int -main (int argc, char *argv []) -{ - TAO_TRY - { - // Initialize ORB. - - CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv, "internet", TAO_TRY_ENV); - TAO_CHECK_ENV; - - CORBA::Object_var poa_object = - orb->resolve_initial_references("RootPOA"); - - if (CORBA::is_nil (poa_object.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (poa_object.in (), TAO_TRY_ENV); - TAO_CHECK_ENV; - - PortableServer::POAManager_var poa_manager = - root_poa->the_POAManager (TAO_TRY_ENV); - TAO_CHECK_ENV; - - CORBA::Object_var naming_obj = - orb->resolve_initial_references ("NameService"); - - if (CORBA::is_nil (naming_obj.in ())) - ACE_ERROR_RETURN ((LM_ERROR, - " (%P|%t) Unable to initialize the POA.\n"), - 1); - - CosNaming::NamingContext_var naming_context = - CosNaming::NamingContext::_narrow (naming_obj.in (), - TAO_TRY_ENV); - TAO_CHECK_ENV; - - ACE_Scheduler_Factory::use_config (naming_context.in ()); - - if (get_options (argc, argv)) - ACE_OS::exit (-1); - - // Get the Event Channel. - - CosNaming::Name channel_name (1); - channel_name.length (1); - channel_name[0].id = CORBA::string_dup ("EventService"); - - CORBA::Object_var ec_obj = - naming_context->resolve (channel_name, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - RtecEventChannelAdmin::EventChannel_var ec = - RtecEventChannelAdmin::EventChannel::_narrow (ec_obj.in(), TAO_TRY_ENV); - TAO_CHECK_ENV; - - if (ec.ptr() == 0) - ACE_ERROR_RETURN ((LM_ERROR, - "Not able to get the Event Service reference.\n"), - -1); - - // Create consumer. - - Demo_Consumer *demo_consumer; - ACE_NEW_RETURN (demo_consumer, - Demo_Consumer (), - -1); - - if (demo_consumer->open_consumer (ec.ptr (), - "demo_consumer") == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "Someone was feeling introverted.\n"), - -1); - - poa_manager->activate (TAO_TRY_ENV); - TAO_CHECK_ENV; - - // Run the ORB - - if (orb->run () == -1) - ACE_ERROR_RETURN ((LM_ERROR, - "%p\n", - "CORBA::ORB::run"), - -1); - TAO_CHECK_ENV; - - delete demo_consumer; - - root_poa->destroy (1, - 1, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("SYS_EX"); - } - TAO_ENDTRY; - - return 0; -} diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Con.h b/TAO/examples/Simulator/Event_Supplier/Event_Con.h deleted file mode 100644 index e82cc75fd76..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Con.h +++ /dev/null @@ -1,71 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Event_Con.h -// -// = AUTHOR -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#ifndef EVENT_CON_H -#define EVENT_CON_H - -#include "ace/SString.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "orbsvcs/RtecEventCommS.h" - -class Demo_Consumer : public POA_RtecEventComm::PushConsumer -{ - // = TITLE - // Demo Consumer - // - // = DESCRIPTION - // Simple example of a consumer that registers for supplier - // notifications. -public: - Demo_Consumer (void); - - int open_consumer (RtecEventChannelAdmin::EventChannel_ptr ec, - const char *my_name); - // Uses the name server to obtain a reference to the <supplier_name> - // and registers with channel to receive notifications from the - // supplier. Also registers to receive shutdown messages from the - // supplier. Stores <my_name> for printing out messages. Returns 0 - // on success, -1 on failure. - - virtual void disconnect_push_consumer (CORBA::Environment &); - // The channel is disconnecting. - - // = (not protected to allow short-circuiting) protected: - virtual void push (const RtecEventComm::EventSet &events, - CORBA::Environment &); - // If the <events>[0] is a notification, prints out the data from - // the supplier. If its a shutdown message, the consumer - // disconnects from the channel. - -protected: - void shutdown (void); - // Disconnect from the Event Service. - - // = Event channel adminstration references. - RtecEventChannelAdmin::EventChannel_var channel_admin_; - RtecEventChannelAdmin::ConsumerAdmin_var consumer_admin_; - RtecEventChannelAdmin::ProxyPushSupplier_var suppliers_; - -private: - RtecScheduler::handle_t rt_info_; -}; - -#endif /* EVENT_CON_H */ diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp b/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp deleted file mode 100644 index cc8def57a38..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp +++ /dev/null @@ -1,490 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Event_Sup.cpp -// -// = DESCRIPTION -// Event Supplier for the flight simulator -// -// = AUTHOR -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include <limits.h> - -#include "tao/corba.h" -#include "tao/TAO.h" -#include "ace/Get_Opt.h" -#include "ace/Sched_Params.h" -//#include "ace/Profile_Timer.h" -#include "ace/OS.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/Scheduler_Factory.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "Event_Sup.h" -#include "NavWeapC.h" - -ACE_RCSID(Event_Supplier, Event_Sup, "$Id$") - -static const char usage [] = -"[[-?]\n" -" [-O[RBport] ORB port number]\n" -" [-m <count> of messages to send [100]\n" -" [-f name of schedler input data file]]\n"; - - -Event_Supplier::Event_Supplier (int argc, char** argv) -: argc_(argc), - argv_(argv), - total_messages_(10), - input_file_name_(0) -{ - navigation_.roll = navigation_.pitch = 0; -} - -Event_Supplier::~Event_Supplier () -{ - this->dOVE_Supplier_.disconnect (); -} - -int -Event_Supplier::init () -{ - this->get_options (argc_, argv_); - return this->dOVE_Supplier_.connect (); -} - -void -Event_Supplier::start_generating_events (void) -{ - unsigned long total_sent = 0; - - // Load the scheduling data for the simulation. - ACE_Unbounded_Queue<Schedule_Viewer_Data *> schedule_data; - this->load_schedule_data (schedule_data); - ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *> - schedule_iter (schedule_data); - - if (schedule_iter.done ()) - { - ACE_ERROR ((LM_ERROR, - "Event_Supplier::start_generating_events: " - "there is no scheduling data\n")); - return; - } - - CORBA::Any any; - - do - { - - // Insert the event data - this->insert_event_data (any, - schedule_iter); - - // deliver it over the wire - dOVE_Supplier_.notify (any); - - if (total_sent < 5) - ACE_DEBUG ((LM_DEBUG, - "Pushing event data.\n")); - else if (total_sent == 5) - ACE_DEBUG ((LM_DEBUG, - "Everything is running. Going to be mute.\n")); - } - while (++total_sent < this->total_messages_); - - // clean up the scheduling data - Schedule_Viewer_Data **data_temp; - for (schedule_iter.first (); - schedule_iter.done () == 0; - schedule_iter.advance ()) - if (schedule_iter.next (data_temp) && data_temp) - delete (*data_temp); -} - -void -Event_Supplier::load_schedule_data - (ACE_Unbounded_Queue<Schedule_Viewer_Data *> &schedule_data) -{ - Schedule_Viewer_Data *data = 0; - - if (this->input_file_name_) - { - // Open the scheduler data input file and read its contents into - // a queue. - FILE *input_file; - - int scan_count = 0; - input_file = ACE_OS::fopen(this->input_file_name_, "r"); - - if (input_file) - { - // Get a line at a time from the data file and parse it. - char input_buf[BUFSIZ]; - while (ACE_OS::fgets (input_buf, BUFSIZ, input_file)) - { - // Run through leading whitespace. - char *temp = input_buf; - while (*temp && isspace (*temp)) - ++temp; - - // If there is anything besides whitespace in the line - // read, scan its fields into the scheduling data - // structure. - if (ACE_OS::strlen (temp) > 0) - { - ACE_NEW (data, Schedule_Viewer_Data); - scan_count = sscanf (temp, "%s %lf %lf %lu %lu %lu %lu", - data->operation_name, - &data->utilitzation, - &data->overhead, - &data->arrival_time, - &data->deadline_time, - &data->completion_time, - &data->computation_time); - if (scan_count != 7) - { - ACE_ERROR ((LM_ERROR, - "Event_Supplier::start_generating_events: " - "scanned incorrect number of data elements: %d\n", scan_count)); - - delete data; - return; - } - - // Insert the data into the queue. - schedule_data.enqueue_tail (data); - } - } - } - else - { - ACE_ERROR ((LM_ERROR, - "Event_Supplier::start_generating_events: " - "could not open input file [%s].\n", - this->input_file_name_)); - return; - } - } - else - { - u_long last_completion = 0; - - // Just create 10 dummy scheduling records and use them. - for (int i = 0; i < 10; ++i) - { - ACE_NEW (data, Schedule_Viewer_Data); - - char *oper_name = 0; - switch (i % 4) - { - case 0: - oper_name = "high_20"; - break; - - case 1: - oper_name = "low_20"; - break; - - case 2: - oper_name = "high_10"; - break; - - case 3: - default: - oper_name = "low_10"; - break; - } - - ACE_OS::strncpy (data->operation_name, - oper_name, - BUFSIZ-1); - - - data->utilitzation = (double)(20.0+ACE_OS::rand() %10); - data->overhead = (double)(ACE_OS::rand() %20); - - data->arrival_time = ACE_OS::rand() % 200; - data->computation_time = (ACE_OS::rand() % 100) + 10; - - data->completion_time = last_completion + (ACE_OS::rand() % 100) + 100; - data->completion_time = - data->completion_time < data->arrival_time + data->computation_time - ? data->arrival_time + data->computation_time - : data->completion_time; - - last_completion = data->completion_time; - - data->deadline_time = data->completion_time + (ACE_OS::rand() % 200) - 50; - - // insert the data into the queue. - schedule_data.enqueue_tail (data); - } - } -} - -// This function fills in the random data into the anys transported by -// the event channel. - -void -Event_Supplier::insert_event_data (CORBA::Any &data, - ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *> &schedule_iter) -{ - static u_long last_completion = 0; - - TAO_TRY - { - Schedule_Viewer_Data **sched_data; - - if ((schedule_iter.next (sched_data)) && (sched_data) && (*sched_data)) - { - if ((strcmp((*sched_data)->operation_name, "high_20") == 0) || - (strcmp((*sched_data)->operation_name, "low_20") == 0) || - (strcmp((*sched_data)->operation_name, "high_1") == 0) || - (strcmp((*sched_data)->operation_name, "low_1") == 0)) - { - if ((strcmp((*sched_data)->operation_name, "high_20") == 0) || - (strcmp((*sched_data)->operation_name, "high_1") == 0)) - { - navigation_.criticality = 1; - } - else - { - navigation_.criticality = 0; - } - - navigation_.position_latitude = ACE_OS::rand() % 90; - navigation_.position_longitude = ACE_OS::rand() % 180; - navigation_.altitude = ACE_OS::rand() % 100; - navigation_.heading = ACE_OS::rand() % 180; - navigation_.roll = (navigation_.roll >= 180) ? -180 : navigation_.roll + 1; - navigation_.pitch = (navigation_.pitch >= 90) ? -90 : navigation_.pitch + 1; - - navigation_.utilization = (*sched_data)->utilitzation; - navigation_.overhead = (*sched_data)->overhead; - navigation_.arrival_time = (*sched_data)->arrival_time; - navigation_.deadline_time = (*sched_data)->deadline_time; - navigation_.completion_time = (*sched_data)->completion_time; - navigation_.computation_time = (*sched_data)->computation_time; - navigation_.update_data = 0; - - - // because the scheduler data does not supply these values - navigation_.utilization = (double) (20.0 + ACE_OS::rand() % 10); - navigation_.overhead = (double) (ACE_OS::rand() % 10); - - data.replace (_tc_Navigation, &navigation_, 0, TAO_TRY_ENV); - } - else if ((strcmp((*sched_data)->operation_name, "high_10") == 0) || - (strcmp((*sched_data)->operation_name, "low_10") == 0) || - (strcmp((*sched_data)->operation_name, "high_5") == 0) || - (strcmp((*sched_data)->operation_name, "low_5") == 0)) - { - if ((strcmp((*sched_data)->operation_name, "high_10") == 0) || - (strcmp((*sched_data)->operation_name, "high_5") == 0)) - { - weapons_.criticality = 1; - } - else - { - weapons_.criticality = 0; - } - - weapons_.number_of_weapons = 2; - weapons_.weapon1_identifier = CORBA::string_alloc (30); - strcpy (weapons_.weapon1_identifier.inout (),"Photon Torpedoes"); - weapons_.weapon1_status =(ACE_OS::rand() % 4) == 0 ? 0 : 1 ; - weapons_.weapon2_identifier = CORBA::string_alloc (30); - strcpy (weapons_.weapon2_identifier.inout (),"Quantum Torpedoes"); - weapons_.weapon2_status = (ACE_OS::rand() % 4) == 0 ? 0 : 1; - weapons_.weapon3_identifier = CORBA::string_alloc (1); - strcpy (weapons_.weapon3_identifier.inout (), ""); - weapons_.weapon3_status = 0; - weapons_.weapon4_identifier = CORBA::string_alloc (1); - strcpy (weapons_.weapon4_identifier.inout (), ""); - weapons_.weapon4_status = 0; - weapons_.weapon5_identifier = CORBA::string_alloc (1); - strcpy (weapons_.weapon5_identifier.inout (), ""); - weapons_.weapon5_status = 0; - weapons_.utilization = (*sched_data)->utilitzation; - weapons_.overhead = (*sched_data)->overhead; - weapons_.arrival_time = (*sched_data)->arrival_time; - weapons_.deadline_time = (*sched_data)->deadline_time; - weapons_.completion_time = (*sched_data)->completion_time; - weapons_.computation_time = (*sched_data)->computation_time; - weapons_.update_data = 0; - - // because the scheduler data does not supply these values - weapons_.utilization = (double) (20.0 + ACE_OS::rand() % 10); - weapons_.overhead = (double) (ACE_OS::rand() % 10); - - data.replace (_tc_Weapons, &weapons_, 0, TAO_TRY_ENV); - } - else { - ACE_ERROR ((LM_ERROR, - "Event_Supplier::insert_event_data:" - "unrecognized operation name [%s]", - (*sched_data)->operation_name)); - } - - TAO_CHECK_ENV; - - - if (last_completion > (*sched_data)->completion_time) - last_completion = 0; - - if ((*sched_data)->completion_time >= last_completion) - { - ACE_Time_Value pause (0, - (*sched_data)->completion_time - - last_completion); - ACE_OS::sleep (pause); - last_completion = (*sched_data)->completion_time; - } - } - else - ACE_ERROR ((LM_ERROR, - "Event_Supplier::insert_event_data:" - "Could Not access scheduling data")); - - schedule_iter.advance (); - - if (schedule_iter.done ()) - schedule_iter.first (); - } - TAO_CATCHANY - { - ACE_ERROR ((LM_ERROR, - "(%t)Error in Event_Supplier::insert_event_data.\n")); - } - TAO_ENDTRY; -} - - - -// Function get_options. - -unsigned int -Event_Supplier::get_options (int argc, char *argv []) -{ - ACE_Get_Opt get_opt (argc, argv, "f:m:"); - int opt; - int temp; - - while ((opt = get_opt ()) != -1) - { - switch (opt) - { - case 'm': - temp = ACE_OS::atoi (get_opt.optarg); - if (temp > 0) - { - this->total_messages_ = (u_int) temp; - ACE_DEBUG ((LM_DEBUG, - "Messages to send: %d\n", - this->total_messages_)); - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "%s: count must be > 0", - argv[0]), - 1); - break; - case 'f': - this->input_file_name_ = get_opt.optarg; - - if (!this->input_file_name_ || ACE_OS::strlen (this->input_file_name_) > 0) - ACE_DEBUG ((LM_DEBUG,"Reading file!\n")); - else - { - this->input_file_name_ = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "%s: file name must be specified with -f option", - argv[0]), - 1); - } - break; - default: - case '?': - ACE_DEBUG ((LM_DEBUG, - "Usage: %s %s\n", - argv[0], usage)); - ACE_OS::exit (0); - break; - } - } - - if (argc != get_opt.optind) - ACE_ERROR_RETURN ((LM_ERROR, - "%s: too many arguments\n" - "Usage: %s %s\n", - argv[0], - argv[0], - usage), - 1); - - return 0; -} - -// function main - -int -main (int argc, char *argv []) -{ - TAO_TRY - { - // Initialize ORB. - TAO_ORB_Manager orb_Manager; - - orb_Manager.init (argc, - argv, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - - // Create the demo supplier. - Event_Supplier *event_Supplier_ptr; - - ACE_NEW_RETURN (event_Supplier_ptr, - Event_Supplier(argc, argv), - -1); - - // Initialize everthing - if (event_Supplier_ptr->init () == -1) - exit (1); - - // now we can go ahead - event_Supplier_ptr->start_generating_events (); - - // when done, we clean up - delete event_Supplier_ptr; - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("SYS_EX"); - } - TAO_ENDTRY; - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Node<Schedule_Viewer_Data *>; -template class ACE_Unbounded_Queue<Schedule_Viewer_Data *>; -template class ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Node<Schedule_Viewer_Data *> -#pragma instantiate ACE_Unbounded_Queue<Schedule_Viewer_Data *> -#pragma instantiate ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsp b/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsp deleted file mode 100644 index 0e7e8b36a25..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsp +++ /dev/null @@ -1,167 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Event_Sup" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Event_Sup - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Event_Sup.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Event_Sup.mak" CFG="Event_Sup - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Event_Sup - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Event_Sup - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Event_Sup - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\..\..\ace" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\orbsvcs"
-
-!ELSEIF "$(CFG)" == "Event_Sup - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\..\\" /I "..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "TAO_ORBSVCS_HAS_DLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Event_Sup - Win32 Release"
-# Name "Event_Sup - Win32 Debug"
-# Begin Group "Source files"
-
-# PROP Default_Filter "*.cpp"
-# Begin Source File
-
-SOURCE=.\DOVE_Supplier.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Event_Sup.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapS.cpp
-# End Source File
-# End Group
-# Begin Group "Header files"
-
-# PROP Default_Filter "*.h"
-# Begin Source File
-
-SOURCE=.\DOVE_Supplier.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Event_Sup.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapC.h
-# End Source File
-# End Group
-# Begin Group "IDL files"
-
-# PROP Default_Filter "*.idl"
-# Begin Source File
-
-SOURCE=.\NavWeap.idl
-
-!IF "$(CFG)" == "Event_Sup - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Event_Sup - Win32 Debug"
-
-USERDEP__NAVWE="..\$(InputName).idl"
-# Begin Custom Build
-InputPath=.\NavWeap.idl
-InputName=NavWeap
-
-BuildCmds= \
- xcopy ..\$(InputName).idl \
- ..\..\..\..\bin\tao_idl -I ..\..\..\orbsvcs\orbsvcs $(InputName).idl \
-
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsw b/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsw deleted file mode 100644 index 06988e3c066..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsw +++ /dev/null @@ -1,53 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "DualEC_Sup"=.\DualEC_Sup.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Event_Sup"=.\Event_Sup.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Logging_Sup"=.\Logging_Sup.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.h b/TAO/examples/Simulator/Event_Supplier/Event_Sup.h deleted file mode 100644 index 1b56d50d96a..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.h +++ /dev/null @@ -1,79 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Event_Sup.h -// -// = DESCRIPTION -// Event Supplier for the simulation -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#ifndef EVENT_SUP_H -#define EVENT_SUP_H - -//#include <ctype.h> -//#include <stdio.h> -#include "NavWeapC.h" -#include "DOVE_Supplier.h" - -struct Schedule_Viewer_Data -{ - char operation_name [BUFSIZ]; - double utilitzation; - double overhead; - u_long arrival_time; - u_long deadline_time; - u_long completion_time; - u_long computation_time; -}; - -class Event_Supplier -{ - // = TITLE - // Event Supplier. - // - // = DESCRIPTION - // Reads Scheduler information out of a file and - // feeds it with additional navigation and - // weapon data into the dove_supplier, which - // is connected to the event channel -public: - - Event_Supplier (int argc, char** argv); - - ~Event_Supplier (void); - - int init (void); - // connect the DOVE_Supplier - - void start_generating_events (void); - // here is really something going on, - // here we deliver the messages - - void load_schedule_data (ACE_Unbounded_Queue<Schedule_Viewer_Data *> &schedule_data); - // Load the scheduling information into memory - - -private: - void insert_event_data (CORBA::Any &data, - ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *> &schedule_iter); - // just a helper to put all the information into the CORBA::Any - - unsigned int get_options (int argc, char *argv []); - - DOVE_Supplier dOVE_Supplier_; - Navigation navigation_; - Weapons weapons_; - - int argc_; - char **argv_; - unsigned long total_messages_; - char *input_file_name_; -}; - -#endif /* EVENT_SUP_H */ diff --git a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp b/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp deleted file mode 100644 index 5007f65a7f5..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.cpp +++ /dev/null @@ -1,536 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Logging_Sup.cpp -// -// = DESCRIPTION -// Event Supplier for visualizing scheduling behavior, using arrival -// and dispatch data logged by an event channel dispatch command object -// -// = AUTHOR -// Chris Gill (cdgill@cs.wustl.edu) -// -// Adapted from the DOVE simulation event supplier -// originally -// David Levine (levine@cs.wustl.edu) and -// Tim Harrison (harrison@cs.wustl.edu) -// modified -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#include <limits.h> - -#include "tao/corba.h" -#include "tao/TAO.h" -#include "ace/Get_Opt.h" -#include "ace/Sched_Params.h" -//#include "ace/Profile_Timer.h" -#include "ace/OS.h" -#include "orbsvcs/Event_Utilities.h" -#include "orbsvcs/Event_Service_Constants.h" -#include "orbsvcs/Scheduler_Factory.h" -#include "orbsvcs/RtecEventChannelAdminC.h" -#include "Logging_Sup.h" -#include "NavWeapC.h" - -ACE_RCSID(Event_Supplier, Logging_Sup, "$Id$") - -static const char usage [] = -"[[-?]\n" -" [-O[RBport] ORB port number]\n" -" [-m <count> of messages to send [100]\n" -" [-f name of scheduler input data file]\n" -" [-d name of scheduler header dump file]\n" -" [-s to suppress data updates by EC]]\n"; - - -Logging_Supplier::Logging_Supplier (int argc, char** argv) -: argc_(argc), - argv_(argv), - total_messages_(10), - input_file_name_(0), - update_data_ (1), - schedule_file_name_(0) -{ - navigation_.roll = navigation_.pitch = 0; -} - -Logging_Supplier::~Logging_Supplier () -{ - this->dOVE_Supplier_.disconnect (); -} - -int -Logging_Supplier::init () -{ - this->get_options (argc_, argv_); - return this->dOVE_Supplier_.connect (); -} - -void -Logging_Supplier::start_generating_events (void) -{ - unsigned long total_sent = 0; - - // Load the scheduling data for the simulation. - ACE_Unbounded_Queue<Schedule_Viewer_Data *> schedule_data; - this->load_schedule_data (schedule_data); - ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *> - schedule_iter (schedule_data); - - if (schedule_iter.done ()) - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::start_generating_events: " - "there is no scheduling data\n")); - return; - } - - CORBA::Any any; - - do - { - - // Insert the event data - this->insert_event_data (any, - schedule_iter); - - // deliver it over the wire - dOVE_Supplier_.notify (any); - - if (total_sent < 5) - ACE_DEBUG ((LM_DEBUG, - "Pushing event data.\n")); - else if (total_sent == 5) - ACE_DEBUG ((LM_DEBUG, - "Everything is running. Going to be mute.\n")); - } - while (++total_sent < this->total_messages_); - - // clean up the scheduling data - Schedule_Viewer_Data **data_temp; - for (schedule_iter.first (); - schedule_iter.done () == 0; - schedule_iter.advance ()) - if (schedule_iter.next (data_temp) && data_temp) - delete (*data_temp); -} - -void -Logging_Supplier::load_schedule_data - (ACE_Unbounded_Queue<Schedule_Viewer_Data *> &schedule_data) -{ - Schedule_Viewer_Data *data = 0; - - if (this->input_file_name_) - { - // Open the scheduler data input file and read its contents into - // a queue. - FILE *input_file; - - int scan_count = 0; - input_file = ACE_OS::fopen(this->input_file_name_, "r"); - - if (input_file) - { - // Get a line at a time from the data file and parse it. - char input_buf[BUFSIZ]; - while (ACE_OS::fgets (input_buf, BUFSIZ, input_file)) - { - // Run through leading whitespace. - char *temp = input_buf; - while (*temp && isspace (*temp)) - ++temp; - - // If there is anything besides whitespace in the line - // read, scan its fields into the scheduling data - // structure. - if (ACE_OS::strlen (temp) > 0) - { - ACE_NEW (data, Schedule_Viewer_Data); - scan_count = sscanf (temp, "%s %lf %lf %lu %lu %lu %lu", - data->operation_name, - &data->utilitzation, - &data->overhead, - &data->arrival_time, - &data->deadline_time, - &data->completion_time, - &data->computation_time); - if (scan_count != 7) - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::start_generating_events: " - "scanned incorrect number of data elements: %d\n", scan_count)); - - delete data; - return; - } - - // Insert the data into the queue. - schedule_data.enqueue_tail (data); - } - } - } - else - { - ACE_ERROR ((LM_ERROR, - "DOVE_Supplier::start_generating_events: " - "could not open input file [%s].\n", - this->input_file_name_)); - return; - } - } - else - { - u_long last_completion = 0; - - // Just create 10 dummy scheduling records and use them. - for (int i = 0; i < 10; ++i) - { - ACE_NEW (data, Schedule_Viewer_Data); - - char *oper_name = 0; - switch (i % 4) - { - case 0: - oper_name = "high_20"; - break; - - case 1: - oper_name = "low_20"; - break; - - case 2: - oper_name = "high_10"; - break; - - case 3: - default: - oper_name = "low_10"; - break; - } - - ACE_OS::strncpy (data->operation_name, - oper_name, - BUFSIZ-1); - - data->utilitzation = (double)(20.0+ACE_OS::rand() %10); - data->overhead = (double)(ACE_OS::rand() %20); - - data->arrival_time = ACE_OS::rand() % 200; - data->computation_time = (ACE_OS::rand() % 100) + 10; - - data->completion_time = last_completion + (ACE_OS::rand() % 100) + 100; - data->completion_time = - data->completion_time < data->arrival_time + data->computation_time - ? data->arrival_time + data->computation_time - : data->completion_time; - - last_completion = data->completion_time; - - data->deadline_time = data->completion_time + (ACE_OS::rand() % 200) - 50; - - // insert the data into the queue. - schedule_data.enqueue_tail (data); - } - } -} - -// This function fills in the random data into the anys transported by -// the event channel. - -void -Logging_Supplier::insert_event_data (CORBA::Any &data, - ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *> &schedule_iter) -{ - static u_long last_completion = 0; - - // constants for periods (in units of one hundred nanoseconds) - const TimeBase::TimeT ONE_HZ_PERIOD = 10000000; - const TimeBase::TimeT FIVE_HZ_PERIOD = ONE_HZ_PERIOD / 5 ; - const TimeBase::TimeT TEN_HZ_PERIOD = ONE_HZ_PERIOD / 10; - const TimeBase::TimeT TWENTY_HZ_PERIOD = ONE_HZ_PERIOD / 20; - - TAO_TRY - { - Schedule_Viewer_Data **sched_data; - - if ((schedule_iter.next (sched_data)) && (sched_data) && (*sched_data)) - { - if ((strcmp((*sched_data)->operation_name, "high_20") == 0) || - (strcmp((*sched_data)->operation_name, "low_20") == 0) || - (strcmp((*sched_data)->operation_name, "high_1") == 0) || - (strcmp((*sched_data)->operation_name, "low_1") == 0)) - { - if ((strcmp((*sched_data)->operation_name, "high_20") == 0) || - (strcmp((*sched_data)->operation_name, "high_1") == 0)) - { - navigation_.criticality = 1; - } - else - { - navigation_.criticality = 0; - } - - if ((strcmp((*sched_data)->operation_name, "high_20") == 0) || - (strcmp((*sched_data)->operation_name, "low_20") == 0)) - { - navigation_.deadline_time = TWENTY_HZ_PERIOD; - } - else - { - navigation_.deadline_time = ONE_HZ_PERIOD; - } - - navigation_.position_latitude = ACE_OS::rand() % 90; - navigation_.position_longitude = ACE_OS::rand() % 180; - navigation_.altitude = ACE_OS::rand() % 100; - navigation_.heading = ACE_OS::rand() % 180; - navigation_.roll = (navigation_.roll >= 180) ? -180 : navigation_.roll + 1; - navigation_.pitch = (navigation_.pitch >= 90) ? -90 : navigation_.pitch + 1; - - navigation_.utilization = 0.0; - navigation_.overhead = 0.0; - navigation_.arrival_time = ORBSVCS_Time::zero; - navigation_.completion_time = ORBSVCS_Time::zero; - navigation_.computation_time = ORBSVCS_Time::zero; - navigation_.update_data = update_data_; - - - // because the scheduler data does not supply these values - navigation_.utilization = (double) (20.0 + ACE_OS::rand() % 10); - navigation_.overhead = (double) (ACE_OS::rand() % 10); - - data.replace (_tc_Navigation, &navigation_, 0, TAO_TRY_ENV); - } - else if ((strcmp((*sched_data)->operation_name, "high_10") == 0) || - (strcmp((*sched_data)->operation_name, "low_10") == 0) || - (strcmp((*sched_data)->operation_name, "high_5") == 0) || - (strcmp((*sched_data)->operation_name, "low_5") == 0)) - { - if ((strcmp((*sched_data)->operation_name, "high_10") == 0) || - (strcmp((*sched_data)->operation_name, "high_5") == 0)) - { - weapons_.criticality = 1; - } - else - { - weapons_.criticality = 0; - } - - if ((strcmp((*sched_data)->operation_name, "high_10") == 0) || - (strcmp((*sched_data)->operation_name, "low_10") == 0)) - { - weapons_.deadline_time = TEN_HZ_PERIOD; - } - else - { - weapons_.deadline_time = FIVE_HZ_PERIOD; - } - - - weapons_.number_of_weapons = 2; - weapons_.weapon1_identifier = CORBA::string_alloc (30); - strcpy (weapons_.weapon1_identifier.inout (),"Photon Torpedoes"); - weapons_.weapon1_status =(ACE_OS::rand() % 4) == 0 ? 0 : 1 ; - weapons_.weapon2_identifier = CORBA::string_alloc (30); - strcpy (weapons_.weapon2_identifier.inout (),"Quantum Torpedoes"); - weapons_.weapon2_status = (ACE_OS::rand() % 4) == 0 ? 0 : 1; - weapons_.weapon3_identifier = CORBA::string_alloc (1); - strcpy (weapons_.weapon3_identifier.inout (), ""); - weapons_.weapon3_status = 0; - weapons_.weapon4_identifier = CORBA::string_alloc (1); - strcpy (weapons_.weapon4_identifier.inout (), ""); - weapons_.weapon4_status = 0; - weapons_.weapon5_identifier = CORBA::string_alloc (1); - strcpy (weapons_.weapon5_identifier.inout (), ""); - weapons_.weapon5_status = 0; - weapons_.utilization = 0.0; - weapons_.overhead = 0.0; - weapons_.arrival_time = ORBSVCS_Time::zero; - weapons_.completion_time = ORBSVCS_Time::zero; - weapons_.computation_time = ORBSVCS_Time::zero; - weapons_.update_data = update_data_; - - - data.replace (_tc_Weapons, &weapons_, 0, TAO_TRY_ENV); - } - else { - ACE_ERROR ((LM_ERROR, - "Logging_Supplier::insert_event_data:" - "unrecognized operation name [%s]", - (*sched_data)->operation_name)); - } - - TAO_CHECK_ENV; - - - if (last_completion > (*sched_data)->completion_time) - last_completion = 0; - - if ((*sched_data)->completion_time >= last_completion) - { - ACE_Time_Value pause (0, - (*sched_data)->completion_time - - last_completion); - ACE_OS::sleep (pause); - last_completion = (*sched_data)->completion_time; - } - } - else - ACE_ERROR ((LM_ERROR, - "Logging_Supplier::insert_event_data:" - "Could Not access scheduling data")); - - schedule_iter.advance (); - - if (schedule_iter.done ()) - schedule_iter.first (); - } - TAO_CATCHANY - { - ACE_ERROR ((LM_ERROR, - "(%t)Error in Logging_Supplier::insert_event_data.\n")); - } - TAO_ENDTRY; -} - - - -// Function get_options. - -unsigned int -Logging_Supplier::get_options (int argc, char *argv []) -{ - ACE_Get_Opt get_opt (argc, argv, "f:m:d:s"); - int opt; - int temp; - - while ((opt = get_opt ()) != -1) - { - switch (opt) - { - case 'm': - temp = ACE_OS::atoi (get_opt.optarg); - if (temp > 0) - { - this->total_messages_ = (u_int) temp; - ACE_DEBUG ((LM_DEBUG, - "Messages to send: %d\n", - this->total_messages_)); - } - else - ACE_ERROR_RETURN ((LM_ERROR, - "%s: count must be > 0", - argv[0]), - 1); - break; - case 'f': - this->input_file_name_ = get_opt.optarg; - - if (!this->input_file_name_ || ACE_OS::strlen (this->input_file_name_) > 0) - ACE_DEBUG ((LM_DEBUG,"Reading file!\n")); - else - { - this->input_file_name_ = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "%s: file name must be specified with -f option", - argv[0]), - 1); - } - break; - case 'd': - this->schedule_file_name_ = get_opt.optarg; - - if (!this->schedule_file_name_ || ACE_OS::strlen (this->schedule_file_name_) > 0) - ACE_DEBUG ((LM_DEBUG,"Dumping file!\n")); - else - { - this->input_file_name_ = 0; - ACE_ERROR_RETURN ((LM_ERROR, - "%s: file name must be specified with -d option", - argv[0]), - 1); - } - break; - case 's': - update_data_ = 0; - break; - default: - case '?': - ACE_DEBUG ((LM_DEBUG, - "Usage: %s %s\n", - argv[0], usage)); - ACE_OS::exit (0); - break; - } - } - - if (argc != get_opt.optind) - ACE_ERROR_RETURN ((LM_ERROR, - "%s: too many arguments\n" - "Usage: %s %s\n", - argv[0], - argv[0], - usage), - 1); - - return 0; -} - -// function main - -int -main (int argc, char *argv []) -{ - TAO_TRY - { - // Initialize ORB. - TAO_ORB_Manager orb_Manager; - - orb_Manager.init (argc, - argv, - TAO_TRY_ENV); - TAO_CHECK_ENV; - - - // Create the demo supplier. - Logging_Supplier *event_Supplier_ptr; - - ACE_NEW_RETURN (event_Supplier_ptr, - Logging_Supplier(argc, argv), - -1); - - // Initialize everthing - if (event_Supplier_ptr->init () == -1) - exit (1); - - // now we can go ahead - event_Supplier_ptr->start_generating_events (); - - // when done, we clean up - delete event_Supplier_ptr; - TAO_CHECK_ENV; - - } - TAO_CATCHANY - { - TAO_TRY_ENV.print_exception ("SYS_EX"); - } - TAO_ENDTRY; - - return 0; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Node<Schedule_Viewer_Data *>; -template class ACE_Unbounded_Queue<Schedule_Viewer_Data *>; -template class ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Node<Schedule_Viewer_Data *> -#pragma instantiate ACE_Unbounded_Queue<Schedule_Viewer_Data *> -#pragma instantiate ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.dsp b/TAO/examples/Simulator/Event_Supplier/Logging_Sup.dsp deleted file mode 100644 index aaa97f5f663..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.dsp +++ /dev/null @@ -1,157 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Logging_Sup" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Logging_Sup - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Logging_Sup.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Logging_Sup.mak" CFG="Logging_Sup - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Logging_Sup - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Logging_Sup - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Logging_Sup - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-
-!ELSEIF "$(CFG)" == "Logging_Sup - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Logging_"
-# PROP BASE Intermediate_Dir "Logging_"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\..\\" /I "..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "TAO_ORBSVCS_HAS_DLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\..\ace" /libpath:"..\..\..\tao" /libpath:"..\..\..\orbsvcs\orbsvcs"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Logging_Sup - Win32 Release"
-# Name "Logging_Sup - Win32 Debug"
-# Begin Group "Source files"
-
-# PROP Default_Filter "*.cpp"
-# Begin Source File
-
-SOURCE=.\DOVE_Supplier.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Logging_Sup.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapS.cpp
-# End Source File
-# End Group
-# Begin Group "Header files"
-
-# PROP Default_Filter "*.h"
-# Begin Source File
-
-SOURCE=.\DOVE_Supplier.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Logging_Sup.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapC.h
-# End Source File
-# End Group
-# Begin Group "IDL files"
-
-# PROP Default_Filter "*.idl"
-# Begin Source File
-
-SOURCE=.\NavWeap.idl
-
-!IF "$(CFG)" == "Logging_Sup - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Logging_Sup - Win32 Debug"
-
-USERDEP__NAVWE="..\$(InputName).idl"
-# Begin Custom Build
-InputPath=.\NavWeap.idl
-InputName=NavWeap
-
-BuildCmds= \
- xcopy ..\$(InputName).idl \
- ..\..\..\..\bin\tao_idl -I ..\..\..\orbsvcs\orbsvcs $(InputName).idl \
-
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.h b/TAO/examples/Simulator/Event_Supplier/Logging_Sup.h deleted file mode 100644 index 80ec077b833..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Logging_Sup.h +++ /dev/null @@ -1,85 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// Logging_Sup.h -// -// = DESCRIPTION -// Event supplier for visualization of scheduling behavior, using -// arrival and dispatch data logged by an EC dispatch command object -// -// = AUTHOR -// Chris Gill (cdgill@cs.wustl.edu) -// -// Adapted from the orginal DOVE simulation event supplier written by -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -#ifndef LOGGING_SUP_H -#define LOGGING_SUP_H - -//#include <ctype.h> -//#include <stdio.h> -#include "NavWeapC.h" -#include "DOVE_Supplier.h" - -struct Schedule_Viewer_Data -{ - char operation_name [BUFSIZ]; - double utilitzation; - double overhead; - u_long arrival_time; - u_long deadline_time; - u_long completion_time; - u_long computation_time; -}; - -class Logging_Supplier -{ - // = TITLE - // Event Supplier. - // - // = DESCRIPTION - // Reads Scheduler information out of a file and - // feeds it with additional navigation and - // weapon data into the dove_supplier, which - // is connected to the event channel -public: - - Logging_Supplier (int argc, char** argv); - - ~Logging_Supplier (void); - - int init (void); - // connect the DOVE_Supplier - - void start_generating_events (void); - // here is really something going on, - // here we deliver the messages - - void load_schedule_data (ACE_Unbounded_Queue<Schedule_Viewer_Data *> &schedule_data); - // Load the scheduling information into memory - - -private: - void insert_event_data (CORBA::Any &data, - ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *> &schedule_iter); - // just a helper to put all the information into the CORBA::Any - - unsigned int get_options (int argc, char *argv []); - - DOVE_Supplier dOVE_Supplier_; - Navigation navigation_; - Weapons weapons_; - - int argc_; - char **argv_; - unsigned long total_messages_; - char *input_file_name_; - unsigned long update_data_; - const char* schedule_file_name_; -}; - -#endif /* LOGGING_SUP_H */ diff --git a/TAO/examples/Simulator/Event_Supplier/MLF.dat b/TAO/examples/Simulator/Event_Supplier/MLF.dat deleted file mode 100644 index 2ab9b47b9af..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/MLF.dat +++ /dev/null @@ -1,72 +0,0 @@ -low_20 1.000000 0.000000 0 500000 180000 180000 -high_20 1.000000 0.000000 0 500000 360000 180000 -low_20 1.000000 0.000000 500000 1000000 680000 180000 -high_20 1.000000 0.000000 500000 1000000 860000 180000 -low_10 1.000000 0.000000 0 1000000 900000 180000 -low_20 1.000000 0.000000 1000000 1500000 1180000 180000 -high_20 1.000000 0.000000 1000000 1500000 1360000 180000 -low_20 1.000000 0.000000 1500000 2000000 1680000 180000 -high_20 1.000000 0.000000 1500000 2000000 1860000 180000 -low_10 1.000000 0.000000 1000000 2000000 1900000 180000 -low_5 1.000000 0.000000 0 2000000 1980000 180000 -low_20 1.000000 0.000000 2000000 2500000 2180000 180000 -high_20 1.000000 0.000000 2000000 2500000 2360000 180000 -low_20 1.000000 0.000000 2500000 3000000 2680000 180000 -high_20 1.000000 0.000000 2500000 3000000 2860000 180000 -low_10 1.000000 0.000000 2000000 3000000 2900000 180000 -low_20 1.000000 0.000000 3000000 3500000 3180000 180000 -high_20 1.000000 0.000000 3000000 3500000 3360000 180000 -low_20 1.000000 0.000000 3500000 4000000 3680000 180000 -high_20 1.000000 0.000000 3500000 4000000 3860000 180000 -low_10 1.000000 0.000000 3000000 4000000 3900000 180000 -low_1 1.000000 0.000000 0 10000000 3960000 180000 -low_20 1.000000 0.000000 4000000 4500000 4180000 180000 -high_20 1.000000 0.000000 4000000 4500000 4360000 180000 -low_20 1.000000 0.000000 4500000 5000000 4680000 180000 -high_20 1.000000 0.000000 4500000 5000000 4860000 180000 -low_10 1.000000 0.000000 4000000 5000000 4900000 180000 -low_20 1.000000 0.000000 5000000 5500000 5180000 180000 -high_20 1.000000 0.000000 5000000 5500000 5360000 180000 -low_20 1.000000 0.000000 5500000 6000000 5680000 180000 -high_20 1.000000 0.000000 5500000 6000000 5860000 180000 -low_10 1.000000 0.000000 5000000 6000000 5900000 180000 -high_1 1.000000 0.000000 0 10000000 5940000 180000 -low_20 1.000000 0.000000 6000000 6500000 6180000 180000 -high_20 1.000000 0.000000 6000000 6500000 6360000 180000 -low_20 1.000000 0.000000 6500000 7000000 6680000 180000 -high_20 1.000000 0.000000 6500000 7000000 6860000 180000 -low_10 1.000000 0.000000 6000000 7000000 6900000 180000 -low_20 1.000000 0.000000 7000000 7500000 7180000 180000 -high_20 1.000000 0.000000 7000000 7500000 7360000 180000 -low_20 1.000000 0.000000 7500000 8000000 7680000 180000 -high_20 1.000000 0.000000 7500000 8000000 7860000 180000 -low_10 1.000000 0.000000 7000000 8000000 7900000 180000 -high_10 1.000000 0.000000 5000000 6000000 7920000 180000 -low_20 1.000000 0.000000 8000000 8500000 8180000 180000 -high_20 1.000000 0.000000 8000000 8500000 8360000 180000 -low_20 1.000000 0.000000 8500000 9000000 8680000 180000 -high_20 1.000000 0.000000 8500000 9000000 8860000 180000 -low_10 1.000000 0.000000 8000000 9000000 8900000 180000 -high_10 1.000000 0.000000 7000000 8000000 9000000 180000 -low_20 1.000000 0.000000 9000000 9500000 9180000 180000 -high_20 1.000000 0.000000 9000000 9500000 9360000 180000 -low_20 1.000000 0.000000 9500000 10000000 9680000 180000 -high_20 1.000000 0.000000 9500000 10000000 9860000 180000 -low_10 1.000000 0.000000 9000000 10000000 9900000 180000 -high_10 1.000000 0.000000 9000000 10000000 10080000 180000 -low_5 1.000000 0.000000 8000000 10000000 10260000 180000 -high_5 1.000000 0.000000 8000000 10000000 10440000 180000 -high_10 1.000000 0.000000 8000000 9000000 10620000 180000 -high_5 1.000000 0.000000 6000000 8000000 10800000 180000 -low_5 1.000000 0.000000 6000000 8000000 10980000 180000 -high_10 1.000000 0.000000 6000000 7000000 11160000 180000 -low_5 1.000000 0.000000 4000000 6000000 11340000 180000 -high_5 1.000000 0.000000 4000000 6000000 11520000 180000 -high_10 1.000000 0.000000 4000000 5000000 11700000 180000 -high_5 1.000000 0.000000 2000000 4000000 11880000 180000 -low_5 1.000000 0.000000 2000000 4000000 12060000 180000 -high_10 1.000000 0.000000 3000000 4000000 12240000 180000 -high_10 1.000000 0.000000 2000000 3000000 12420000 180000 -high_10 1.000000 0.000000 1000000 2000000 12600000 180000 -high_5 1.000000 0.000000 0 2000000 12780000 180000 -high_10 1.000000 0.000000 0 1000000 12960000 180000 diff --git a/TAO/examples/Simulator/Event_Supplier/MUF.dat b/TAO/examples/Simulator/Event_Supplier/MUF.dat deleted file mode 100644 index ac521175070..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/MUF.dat +++ /dev/null @@ -1,72 +0,0 @@ -high_20 1.000000 0.000000 0 500000 180000 180000 -high_10 1.000000 0.000000 0 1000000 360000 180000 -high_20 1.000000 0.000000 500000 1000000 680000 180000 -high_5 1.000000 0.000000 0 2000000 720000 180000 -high_1 1.000000 0.000000 0 10000000 900000 180000 -high_20 1.000000 0.000000 1000000 1500000 1180000 180000 -high_10 1.000000 0.000000 1000000 2000000 1360000 180000 -low_5 1.000000 0.000000 0 2000000 1440000 180000 -high_20 1.000000 0.000000 1500000 2000000 1680000 180000 -low_10 1.000000 0.000000 1000000 2000000 1800000 180000 -low_20 1.000000 0.000000 1500000 2000000 1980000 180000 -high_20 1.000000 0.000000 2000000 2500000 2180000 180000 -high_10 1.000000 0.000000 2000000 3000000 2360000 180000 -high_20 1.000000 0.000000 2500000 3000000 2680000 180000 -high_5 1.000000 0.000000 2000000 4000000 2720000 180000 -low_1 1.000000 0.000000 0 10000000 2880000 180000 -high_20 1.000000 0.000000 3000000 3500000 3180000 180000 -high_10 1.000000 0.000000 3000000 4000000 3360000 180000 -low_5 1.000000 0.000000 2000000 4000000 3420000 180000 -high_20 1.000000 0.000000 3500000 4000000 3680000 180000 -low_10 1.000000 0.000000 3000000 4000000 3780000 180000 -low_20 1.000000 0.000000 3500000 4000000 3960000 180000 -high_20 1.000000 0.000000 4000000 4500000 4180000 180000 -high_10 1.000000 0.000000 4000000 5000000 4360000 180000 -high_20 1.000000 0.000000 4500000 5000000 4680000 180000 -high_5 1.000000 0.000000 4000000 6000000 4720000 180000 -low_20 1.000000 0.000000 3000000 3500000 4860000 180000 -high_20 1.000000 0.000000 5000000 5500000 5180000 180000 -high_10 1.000000 0.000000 5000000 6000000 5360000 180000 -low_5 1.000000 0.000000 4000000 6000000 5400000 180000 -high_20 1.000000 0.000000 5500000 6000000 5680000 180000 -low_10 1.000000 0.000000 5000000 6000000 5760000 180000 -low_20 1.000000 0.000000 5500000 6000000 5940000 180000 -high_20 1.000000 0.000000 6000000 6500000 6180000 180000 -high_10 1.000000 0.000000 6000000 7000000 6360000 180000 -high_20 1.000000 0.000000 6500000 7000000 6680000 180000 -high_5 1.000000 0.000000 6000000 8000000 6720000 180000 -low_20 1.000000 0.000000 5000000 5500000 6840000 180000 -high_20 1.000000 0.000000 7000000 7500000 7180000 180000 -high_10 1.000000 0.000000 7000000 8000000 7360000 180000 -low_5 1.000000 0.000000 6000000 8000000 7380000 180000 -high_20 1.000000 0.000000 7500000 8000000 7680000 180000 -low_10 1.000000 0.000000 7000000 8000000 7740000 180000 -low_20 1.000000 0.000000 7500000 8000000 7920000 180000 -high_20 1.000000 0.000000 8000000 8500000 8180000 180000 -high_10 1.000000 0.000000 8000000 9000000 8360000 180000 -high_20 1.000000 0.000000 8500000 9000000 8680000 180000 -high_5 1.000000 0.000000 8000000 10000000 8720000 180000 -low_20 1.000000 0.000000 7000000 7500000 8820000 180000 -low_5 1.000000 0.000000 8000000 10000000 9000000 180000 -high_20 1.000000 0.000000 9000000 9500000 9180000 180000 -high_10 1.000000 0.000000 9000000 10000000 9360000 180000 -high_20 1.000000 0.000000 9500000 10000000 9680000 180000 -low_10 1.000000 0.000000 9000000 10000000 9720000 180000 -low_20 1.000000 0.000000 9500000 10000000 9900000 180000 -low_20 1.000000 0.000000 9000000 9500000 10080000 180000 -low_10 1.000000 0.000000 8000000 9000000 10260000 180000 -low_20 1.000000 0.000000 8500000 9000000 10440000 180000 -low_20 1.000000 0.000000 8000000 8500000 10620000 180000 -low_20 1.000000 0.000000 6500000 7000000 10800000 180000 -low_10 1.000000 0.000000 6000000 7000000 10980000 180000 -low_20 1.000000 0.000000 6000000 6500000 11160000 180000 -low_10 1.000000 0.000000 4000000 5000000 11340000 180000 -low_20 1.000000 0.000000 4500000 5000000 11520000 180000 -low_20 1.000000 0.000000 4000000 4500000 11700000 180000 -low_20 1.000000 0.000000 2500000 3000000 11880000 180000 -low_10 1.000000 0.000000 2000000 3000000 12060000 180000 -low_20 1.000000 0.000000 2000000 2500000 12240000 180000 -low_20 1.000000 0.000000 1000000 1500000 12420000 180000 -low_20 1.000000 0.000000 500000 1000000 12600000 180000 -low_10 1.000000 0.000000 0 1000000 12780000 180000 -low_20 1.000000 0.000000 0 500000 12960000 180000 diff --git a/TAO/examples/Simulator/Event_Supplier/Makefile b/TAO/examples/Simulator/Event_Supplier/Makefile deleted file mode 100644 index 9da289eeabc..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/Makefile +++ /dev/null @@ -1,1356 +0,0 @@ -#---------------------------------------------------------------------------- -# -# $Id$ -# -#---------------------------------------------------------------------------- - -ifndef TAO_ROOT - TAO_ROOT = $(ACE_ROOT)/TAO -endif # ! TAO_ROOT - -TAO_IDLFLAGS += -I$(TAO_ROOT)/orbsvcs/orbsvcs -IDL_SRC = NavWeapC.cpp NavWeapS.cpp -IDL_HDR = NavWeapC.h -EVENT_TEST_SRCS = Event_Sup.cpp Logging_Sup.cpp DualEC_Sup.cpp Event_Con.cpp DOVE_Supplier.cpp - -LSRC = $(IDL_SRC) $(EVENT_TEST_SRCS) - -EVENT_SUP_OBJS = NavWeapC.o NavWeapS.o Event_Sup.o DOVE_Supplier.o -EVENT_CON_OBJS = NavWeapC.o NavWeapS.o Event_Con.o -LOGGING_SUP_OBJS = NavWeapC.o NavWeapS.o Logging_Sup.o DOVE_Supplier.o -DUALEC_SUP_OBJS = NavWeapC.o NavWeapS.o DualEC_Sup.o DOVE_Supplier.o - -BIN = Event_Sup Logging_Sup DualEC_Sup Event_Con - -LDLIBS = -lorbsvcs -lTAO - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(TAO_ROOT)/rules.tao.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -#### TSS_ORB_FLAG = -DTAO_HAS_TSS_ORBCORE -LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) \ - -I$(TAO_ROOT)/orbsvcs/orbsvcs $(TSS_ORB_FLAG)#-H - -$(IDL_SRC): NavWeap.idl - $(TAO_IDL) $(TAO_IDLFLAGS) $< - -.PRECIOUS:$(IDL_HDR) $(IDL_SRC) - -NavWeap.idl: ../NavWeap.idl - @cp -p $< . - - -Event_Sup: $(addprefix $(VDIR),$(EVENT_SUP_OBJS)) - -Logging_Sup: $(addprefix $(VDIR),$(LOGGING_SUP_OBJS)) - -DualEC_Sup: $(addprefix $(VDIR),$(DUALEC_SUP_OBJS)) - -Event_Con: $(addprefix $(VDIR),$(EVENT_CON_OBJS)) - -realclean: clean - -/bin/rm -rf NavWeap.idl NavWeap[CS].* NavWeap[CS]_T.* - - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/NavWeapC.o .obj/NavWeapC.so .shobj/NavWeapC.o .shobj/NavWeapC.so: NavWeapC.cpp NavWeapC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.i \ - NavWeapC.i NavWeapS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.i \ - NavWeapS_T.h NavWeapS_T.i NavWeapS_T.cpp NavWeapS.i -.obj/NavWeapS.o .obj/NavWeapS.so .shobj/NavWeapS.o .shobj/NavWeapS.so: NavWeapS.cpp NavWeapS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.i \ - NavWeapC.h NavWeapC.i NavWeapS_T.h NavWeapS_T.i NavWeapS_T.cpp \ - NavWeapS.i -.obj/Event_Sup.o .obj/Event_Sup.so .shobj/Event_Sup.o .shobj/Event_Sup.so: Event_Sup.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-linux-lxpthreads.h \ - $(ACE_ROOT)/ace/config-linux-common.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Functor.h \ - $(ACE_ROOT)/ace/Functor.i \ - $(ACE_ROOT)/ace/Functor_T.h \ - $(ACE_ROOT)/ace/Functor_T.i \ - $(ACE_ROOT)/ace/Functor_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/Message_Block_T.h \ - $(ACE_ROOT)/ace/Message_Block_T.i \ - $(ACE_ROOT)/ace/Message_Block_T.cpp \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/Align.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Managed_Types.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/Sequence.i \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/Managed_Types.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/Connect.h \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/IIOP_Profile.h \ - $(TAO_ROOT)/tao/IIOP_Transport.h \ - $(TAO_ROOT)/tao/IIOP_Connector.h \ - $(TAO_ROOT)/tao/IIOP_Acceptor.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.i \ - $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/IIOP_ORB.h \ - $(TAO_ROOT)/tao/IIOP_ORB.i \ - $(TAO_ROOT)/tao/IIOP_Interpreter.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(ACE_ROOT)/ace/Sched_Params.h \ - $(ACE_ROOT)/ace/Sched_Params.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \ - Event_Sup.h NavWeapC.h NavWeapC.i DOVE_Supplier.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i -.obj/Logging_Sup.o .obj/Logging_Sup.so .shobj/Logging_Sup.o .shobj/Logging_Sup.so: Logging_Sup.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-linux-lxpthreads.h \ - $(ACE_ROOT)/ace/config-linux-common.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Functor.h \ - $(ACE_ROOT)/ace/Functor.i \ - $(ACE_ROOT)/ace/Functor_T.h \ - $(ACE_ROOT)/ace/Functor_T.i \ - $(ACE_ROOT)/ace/Functor_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/Message_Block_T.h \ - $(ACE_ROOT)/ace/Message_Block_T.i \ - $(ACE_ROOT)/ace/Message_Block_T.cpp \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/Align.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Managed_Types.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/Sequence.i \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/Managed_Types.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/Connect.h \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/IIOP_Profile.h \ - $(TAO_ROOT)/tao/IIOP_Transport.h \ - $(TAO_ROOT)/tao/IIOP_Connector.h \ - $(TAO_ROOT)/tao/IIOP_Acceptor.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.i \ - $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/IIOP_ORB.h \ - $(TAO_ROOT)/tao/IIOP_ORB.i \ - $(TAO_ROOT)/tao/IIOP_Interpreter.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(ACE_ROOT)/ace/Sched_Params.h \ - $(ACE_ROOT)/ace/Sched_Params.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \ - Logging_Sup.h NavWeapC.h NavWeapC.i DOVE_Supplier.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i -.obj/DualEC_Sup.o .obj/DualEC_Sup.so .shobj/DualEC_Sup.o .shobj/DualEC_Sup.so: DualEC_Sup.cpp \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-linux-lxpthreads.h \ - $(ACE_ROOT)/ace/config-linux-common.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Functor.h \ - $(ACE_ROOT)/ace/Functor.i \ - $(ACE_ROOT)/ace/Functor_T.h \ - $(ACE_ROOT)/ace/Functor_T.i \ - $(ACE_ROOT)/ace/Functor_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/Message_Block_T.h \ - $(ACE_ROOT)/ace/Message_Block_T.i \ - $(ACE_ROOT)/ace/Message_Block_T.cpp \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/Align.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Managed_Types.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/Sequence.i \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/Managed_Types.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/Connect.h \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/IIOP_Profile.h \ - $(TAO_ROOT)/tao/IIOP_Transport.h \ - $(TAO_ROOT)/tao/IIOP_Connector.h \ - $(TAO_ROOT)/tao/IIOP_Acceptor.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.i \ - $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/IIOP_ORB.h \ - $(TAO_ROOT)/tao/IIOP_ORB.i \ - $(TAO_ROOT)/tao/IIOP_Interpreter.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/tao/TAO.h \ - $(ACE_ROOT)/ace/Sched_Params.h \ - $(ACE_ROOT)/ace/Sched_Params.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Config_Scheduler.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler_Generic.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Scheduler_Generic.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Sched/Config_Scheduler.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Runtime_Scheduler.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Runtime_Scheduler.i \ - DualEC_Sup.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Module_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Event_Channel.h \ - $(TAO_ROOT)/tao/Timeprobe.h \ - $(ACE_ROOT)/ace/Timeprobe.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Local_ESTypes.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Local_ESTypes.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Timer_Module.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/RT_Task.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/RT_Task.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Timer_Module.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/ReactorTask.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Fast_Reactor.h \ - $(ACE_ROOT)/ace/Select_Reactor.h \ - $(ACE_ROOT)/ace/Select_Reactor_T.h \ - $(ACE_ROOT)/ace/Select_Reactor_Base.h \ - $(ACE_ROOT)/ace/Token.h \ - $(ACE_ROOT)/ace/Token.i \ - $(ACE_ROOT)/ace/Pipe.h \ - $(ACE_ROOT)/ace/Pipe.i \ - $(ACE_ROOT)/ace/Select_Reactor_Base.i \ - $(ACE_ROOT)/ace/Select_Reactor_T.cpp \ - $(ACE_ROOT)/ace/Timer_Heap.h \ - $(ACE_ROOT)/ace/Timer_Heap_T.h \ - $(ACE_ROOT)/ace/Timer_Heap_T.cpp \ - $(ACE_ROOT)/ace/Select_Reactor_T.i \ - $(ACE_ROOT)/ace/Select_Reactor.i \ - $(ACE_ROOT)/ace/Timer_List.h \ - $(ACE_ROOT)/ace/Timer_List_T.h \ - $(ACE_ROOT)/ace/Timer_List_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Event_Manip.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Event_Manip.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event/Event_Channel.i \ - NavWeapC.h NavWeapC.i NavWeapS.h NavWeapS_T.h NavWeapS_T.i \ - NavWeapS_T.cpp NavWeapS.i DOVE_Supplier.h -.obj/Event_Con.o .obj/Event_Con.so .shobj/Event_Con.o .shobj/Event_Con.so: Event_Con.cpp \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-linux-lxpthreads.h \ - $(ACE_ROOT)/ace/config-linux-common.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Sched_Params.h \ - $(ACE_ROOT)/ace/Sched_Params.i \ - $(ACE_ROOT)/ace/Profile_Timer.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/High_Res_Timer.h \ - $(ACE_ROOT)/ace/High_Res_Timer.i \ - $(ACE_ROOT)/ace/Profile_Timer.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \ - Event_Con.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \ - NavWeapC.h NavWeapC.i -.obj/DOVE_Supplier.o .obj/DOVE_Supplier.so .shobj/DOVE_Supplier.o .shobj/DOVE_Supplier.so: DOVE_Supplier.cpp DOVE_Supplier.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/config-linux-lxpthreads.h \ - $(ACE_ROOT)/ace/config-linux-common.h \ - $(ACE_ROOT)/ace/config-g++-common.h \ - $(ACE_ROOT)/ace/streams.h \ - $(ACE_ROOT)/ace/Basic_Types.h \ - $(ACE_ROOT)/ace/Basic_Types.i \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Malloc_Base.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(TAO_ROOT)/tao/corba.h \ - $(TAO_ROOT)/tao/orbconf.h \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Functor.h \ - $(ACE_ROOT)/ace/Functor.i \ - $(ACE_ROOT)/ace/Functor_T.h \ - $(ACE_ROOT)/ace/Functor_T.i \ - $(ACE_ROOT)/ace/Functor_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Containers_T.h \ - $(ACE_ROOT)/ace/Containers_T.i \ - $(ACE_ROOT)/ace/Containers_T.cpp \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Free_List.cpp \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(ACE_ROOT)/ace/Malloc_T.cpp \ - $(ACE_ROOT)/ace/Memory_Pool.h \ - $(ACE_ROOT)/ace/Mem_Map.h \ - $(ACE_ROOT)/ace/Mem_Map.i \ - $(ACE_ROOT)/ace/Memory_Pool.i \ - $(ACE_ROOT)/ace/Signal.i \ - $(ACE_ROOT)/ace/Object_Manager.h \ - $(ACE_ROOT)/ace/Object_Manager.i \ - $(ACE_ROOT)/ace/Managed_Object.h \ - $(ACE_ROOT)/ace/Managed_Object.i \ - $(ACE_ROOT)/ace/Managed_Object.cpp \ - $(ACE_ROOT)/ace/Service_Config.i \ - $(ACE_ROOT)/ace/Reactor.h \ - $(ACE_ROOT)/ace/Handle_Set.h \ - $(ACE_ROOT)/ace/Handle_Set.i \ - $(ACE_ROOT)/ace/Timer_Queue.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.h \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.cpp \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Synch_Options.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Strategies_T.i \ - $(ACE_ROOT)/ace/Strategies_T.cpp \ - $(ACE_ROOT)/ace/Service_Repository.h \ - $(ACE_ROOT)/ace/Service_Types.h \ - $(ACE_ROOT)/ace/Service_Types.i \ - $(ACE_ROOT)/ace/Service_Repository.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Message_Block.i \ - $(ACE_ROOT)/ace/Message_Block_T.h \ - $(ACE_ROOT)/ace/Message_Block_T.i \ - $(ACE_ROOT)/ace/Message_Block_T.cpp \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Message_Queue_T.h \ - $(ACE_ROOT)/ace/Message_Queue_T.i \ - $(ACE_ROOT)/ace/Message_Queue_T.cpp \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/WFMO_Reactor.i \ - $(ACE_ROOT)/ace/Strategies.i \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Map_Manager.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Task_T.cpp \ - $(ACE_ROOT)/ace/Module.h \ - $(ACE_ROOT)/ace/Module.i \ - $(ACE_ROOT)/ace/Module.cpp \ - $(ACE_ROOT)/ace/Stream_Modules.h \ - $(ACE_ROOT)/ace/Stream_Modules.i \ - $(ACE_ROOT)/ace/Stream_Modules.cpp \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Svc_Handler.cpp \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Singleton.cpp \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/Connector.cpp \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.cpp \ - $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/CDR_Stream.i \ - $(TAO_ROOT)/tao/Align.h \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/ORB.h \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Managed_Types.h \ - $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/Sequence.i \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/Object_KeyC.h \ - $(TAO_ROOT)/tao/Object_KeyC.i \ - $(TAO_ROOT)/tao/Union.h \ - $(TAO_ROOT)/tao/ORB.i \ - $(TAO_ROOT)/tao/Managed_Types.i \ - $(TAO_ROOT)/tao/try_macros.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/NVList.h \ - $(TAO_ROOT)/tao/NVList.i \ - $(TAO_ROOT)/tao/Principal.h \ - $(TAO_ROOT)/tao/Principal.i \ - $(TAO_ROOT)/tao/Request.h \ - $(TAO_ROOT)/tao/Request.i \ - $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/varout.h \ - $(TAO_ROOT)/tao/varout.i \ - $(TAO_ROOT)/tao/varout.cpp \ - $(TAO_ROOT)/tao/Typecode.h \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(TAO_ROOT)/tao/singletons.h \ - $(TAO_ROOT)/tao/CDR.h \ - $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/POA.h \ - $(TAO_ROOT)/tao/POAC.h \ - $(TAO_ROOT)/tao/POAC.i \ - $(TAO_ROOT)/tao/Servant_Base.h \ - $(TAO_ROOT)/tao/Servant_Base.i \ - $(TAO_ROOT)/tao/POAS.h \ - $(TAO_ROOT)/tao/POA_CORBA.h \ - $(TAO_ROOT)/tao/DynAnyC.h \ - $(TAO_ROOT)/tao/DynAnyC.i \ - $(TAO_ROOT)/tao/POAS.i \ - $(TAO_ROOT)/tao/Active_Object_Map.h \ - $(TAO_ROOT)/tao/Active_Object_Map.i \ - $(TAO_ROOT)/tao/POA.i \ - $(TAO_ROOT)/tao/poa_macros.h \ - $(TAO_ROOT)/tao/Pluggable.h \ - $(TAO_ROOT)/tao/MProfile.h \ - $(TAO_ROOT)/tao/Connect.h \ - $(TAO_ROOT)/tao/Connect.i \ - $(TAO_ROOT)/tao/IIOP_Profile.h \ - $(TAO_ROOT)/tao/IIOP_Transport.h \ - $(TAO_ROOT)/tao/IIOP_Connector.h \ - $(TAO_ROOT)/tao/IIOP_Acceptor.h \ - $(TAO_ROOT)/tao/params.h \ - $(TAO_ROOT)/tao/params.i \ - $(TAO_ROOT)/tao/ORB_Core.h \ - $(TAO_ROOT)/tao/ORB_Core.i \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Dynamic_Service.cpp \ - $(TAO_ROOT)/tao/Operation_Table.h \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/Client_Strategy_Factory.h \ - $(TAO_ROOT)/tao/Server_Strategy_Factory.h \ - $(TAO_ROOT)/tao/default_client.h \ - $(TAO_ROOT)/tao/default_client.i \ - $(TAO_ROOT)/tao/default_server.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.h \ - $(TAO_ROOT)/tao/ORB_Strategies_T.i \ - $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \ - $(TAO_ROOT)/tao/default_server.i \ - $(TAO_ROOT)/tao/Stub.h \ - $(TAO_ROOT)/tao/Stub.i \ - $(TAO_ROOT)/tao/IIOP_ORB.h \ - $(TAO_ROOT)/tao/IIOP_ORB.i \ - $(TAO_ROOT)/tao/IIOP_Interpreter.h \ - $(TAO_ROOT)/tao/Invocation.h \ - $(TAO_ROOT)/tao/Invocation.i \ - $(TAO_ROOT)/tao/Server_Request.h \ - $(TAO_ROOT)/tao/Server_Request.i \ - $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \ - $(TAO_ROOT)/tao/DynAny_i.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \ - $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ - $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ - $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/examples/Simulator/Event_Supplier/RMS.dat b/TAO/examples/Simulator/Event_Supplier/RMS.dat deleted file mode 100644 index 5038c140a53..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/RMS.dat +++ /dev/null @@ -1,72 +0,0 @@ -low_20 1.000000 0.000000 0 500000 180000 180000 -high_20 1.000000 0.000000 0 500000 360000 180000 -low_20 1.000000 0.000000 500000 1000000 680000 180000 -high_20 1.000000 0.000000 500000 1000000 860000 180000 -low_10 1.000000 0.000000 0 1000000 900000 180000 -low_20 1.000000 0.000000 1000000 1500000 1180000 180000 -high_20 1.000000 0.000000 1000000 1500000 1360000 180000 -low_20 1.000000 0.000000 1500000 2000000 1680000 180000 -high_20 1.000000 0.000000 1500000 2000000 1860000 180000 -low_10 1.000000 0.000000 1000000 2000000 1900000 180000 -high_10 1.000000 0.000000 0 1000000 1980000 180000 -low_20 1.000000 0.000000 2000000 2500000 2180000 180000 -high_20 1.000000 0.000000 2000000 2500000 2360000 180000 -low_20 1.000000 0.000000 2500000 3000000 2680000 180000 -high_20 1.000000 0.000000 2500000 3000000 2860000 180000 -low_10 1.000000 0.000000 2000000 3000000 2900000 180000 -low_20 1.000000 0.000000 3000000 3500000 3180000 180000 -high_20 1.000000 0.000000 3000000 3500000 3360000 180000 -low_20 1.000000 0.000000 3500000 4000000 3680000 180000 -high_20 1.000000 0.000000 3500000 4000000 3860000 180000 -low_10 1.000000 0.000000 3000000 4000000 3900000 180000 -high_10 1.000000 0.000000 1000000 2000000 3960000 180000 -low_20 1.000000 0.000000 4000000 4500000 4180000 180000 -high_20 1.000000 0.000000 4000000 4500000 4360000 180000 -low_20 1.000000 0.000000 4500000 5000000 4680000 180000 -high_20 1.000000 0.000000 4500000 5000000 4860000 180000 -low_10 1.000000 0.000000 4000000 5000000 4900000 180000 -low_20 1.000000 0.000000 5000000 5500000 5180000 180000 -high_20 1.000000 0.000000 5000000 5500000 5360000 180000 -low_20 1.000000 0.000000 5500000 6000000 5680000 180000 -high_20 1.000000 0.000000 5500000 6000000 5860000 180000 -low_10 1.000000 0.000000 5000000 6000000 5900000 180000 -high_10 1.000000 0.000000 2000000 3000000 5940000 180000 -low_20 1.000000 0.000000 6000000 6500000 6180000 180000 -high_20 1.000000 0.000000 6000000 6500000 6360000 180000 -low_20 1.000000 0.000000 6500000 7000000 6680000 180000 -high_20 1.000000 0.000000 6500000 7000000 6860000 180000 -low_10 1.000000 0.000000 6000000 7000000 6900000 180000 -low_20 1.000000 0.000000 7000000 7500000 7180000 180000 -high_20 1.000000 0.000000 7000000 7500000 7360000 180000 -low_20 1.000000 0.000000 7500000 8000000 7680000 180000 -high_20 1.000000 0.000000 7500000 8000000 7860000 180000 -low_10 1.000000 0.000000 7000000 8000000 7900000 180000 -high_10 1.000000 0.000000 3000000 4000000 7920000 180000 -low_20 1.000000 0.000000 8000000 8500000 8180000 180000 -high_20 1.000000 0.000000 8000000 8500000 8360000 180000 -low_20 1.000000 0.000000 8500000 9000000 8680000 180000 -high_20 1.000000 0.000000 8500000 9000000 8860000 180000 -low_10 1.000000 0.000000 8000000 9000000 8900000 180000 -high_10 1.000000 0.000000 4000000 5000000 9000000 180000 -low_20 1.000000 0.000000 9000000 9500000 9180000 180000 -high_20 1.000000 0.000000 9000000 9500000 9360000 180000 -low_20 1.000000 0.000000 9500000 10000000 9680000 180000 -high_20 1.000000 0.000000 9500000 10000000 9860000 180000 -low_10 1.000000 0.000000 9000000 10000000 9900000 180000 -high_10 1.000000 0.000000 5000000 6000000 10080000 180000 -high_10 1.000000 0.000000 6000000 7000000 10260000 180000 -high_10 1.000000 0.000000 7000000 8000000 10440000 180000 -high_10 1.000000 0.000000 8000000 9000000 10620000 180000 -high_10 1.000000 0.000000 9000000 10000000 10800000 180000 -low_5 1.000000 0.000000 0 2000000 10980000 180000 -low_5 1.000000 0.000000 2000000 4000000 11160000 180000 -low_5 1.000000 0.000000 4000000 6000000 11340000 180000 -low_5 1.000000 0.000000 6000000 8000000 11520000 180000 -low_5 1.000000 0.000000 8000000 10000000 11700000 180000 -high_5 1.000000 0.000000 0 2000000 11880000 180000 -high_5 1.000000 0.000000 2000000 4000000 12060000 180000 -high_5 1.000000 0.000000 4000000 6000000 12240000 180000 -high_5 1.000000 0.000000 6000000 8000000 12420000 180000 -high_5 1.000000 0.000000 8000000 10000000 12600000 180000 -low_1 1.000000 0.000000 0 10000000 12780000 180000 -high_1 1.000000 0.000000 0 10000000 12960000 180000 diff --git a/TAO/examples/Simulator/Event_Supplier/RMS_Dyn.dat b/TAO/examples/Simulator/Event_Supplier/RMS_Dyn.dat deleted file mode 100644 index ac521175070..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/RMS_Dyn.dat +++ /dev/null @@ -1,72 +0,0 @@ -high_20 1.000000 0.000000 0 500000 180000 180000 -high_10 1.000000 0.000000 0 1000000 360000 180000 -high_20 1.000000 0.000000 500000 1000000 680000 180000 -high_5 1.000000 0.000000 0 2000000 720000 180000 -high_1 1.000000 0.000000 0 10000000 900000 180000 -high_20 1.000000 0.000000 1000000 1500000 1180000 180000 -high_10 1.000000 0.000000 1000000 2000000 1360000 180000 -low_5 1.000000 0.000000 0 2000000 1440000 180000 -high_20 1.000000 0.000000 1500000 2000000 1680000 180000 -low_10 1.000000 0.000000 1000000 2000000 1800000 180000 -low_20 1.000000 0.000000 1500000 2000000 1980000 180000 -high_20 1.000000 0.000000 2000000 2500000 2180000 180000 -high_10 1.000000 0.000000 2000000 3000000 2360000 180000 -high_20 1.000000 0.000000 2500000 3000000 2680000 180000 -high_5 1.000000 0.000000 2000000 4000000 2720000 180000 -low_1 1.000000 0.000000 0 10000000 2880000 180000 -high_20 1.000000 0.000000 3000000 3500000 3180000 180000 -high_10 1.000000 0.000000 3000000 4000000 3360000 180000 -low_5 1.000000 0.000000 2000000 4000000 3420000 180000 -high_20 1.000000 0.000000 3500000 4000000 3680000 180000 -low_10 1.000000 0.000000 3000000 4000000 3780000 180000 -low_20 1.000000 0.000000 3500000 4000000 3960000 180000 -high_20 1.000000 0.000000 4000000 4500000 4180000 180000 -high_10 1.000000 0.000000 4000000 5000000 4360000 180000 -high_20 1.000000 0.000000 4500000 5000000 4680000 180000 -high_5 1.000000 0.000000 4000000 6000000 4720000 180000 -low_20 1.000000 0.000000 3000000 3500000 4860000 180000 -high_20 1.000000 0.000000 5000000 5500000 5180000 180000 -high_10 1.000000 0.000000 5000000 6000000 5360000 180000 -low_5 1.000000 0.000000 4000000 6000000 5400000 180000 -high_20 1.000000 0.000000 5500000 6000000 5680000 180000 -low_10 1.000000 0.000000 5000000 6000000 5760000 180000 -low_20 1.000000 0.000000 5500000 6000000 5940000 180000 -high_20 1.000000 0.000000 6000000 6500000 6180000 180000 -high_10 1.000000 0.000000 6000000 7000000 6360000 180000 -high_20 1.000000 0.000000 6500000 7000000 6680000 180000 -high_5 1.000000 0.000000 6000000 8000000 6720000 180000 -low_20 1.000000 0.000000 5000000 5500000 6840000 180000 -high_20 1.000000 0.000000 7000000 7500000 7180000 180000 -high_10 1.000000 0.000000 7000000 8000000 7360000 180000 -low_5 1.000000 0.000000 6000000 8000000 7380000 180000 -high_20 1.000000 0.000000 7500000 8000000 7680000 180000 -low_10 1.000000 0.000000 7000000 8000000 7740000 180000 -low_20 1.000000 0.000000 7500000 8000000 7920000 180000 -high_20 1.000000 0.000000 8000000 8500000 8180000 180000 -high_10 1.000000 0.000000 8000000 9000000 8360000 180000 -high_20 1.000000 0.000000 8500000 9000000 8680000 180000 -high_5 1.000000 0.000000 8000000 10000000 8720000 180000 -low_20 1.000000 0.000000 7000000 7500000 8820000 180000 -low_5 1.000000 0.000000 8000000 10000000 9000000 180000 -high_20 1.000000 0.000000 9000000 9500000 9180000 180000 -high_10 1.000000 0.000000 9000000 10000000 9360000 180000 -high_20 1.000000 0.000000 9500000 10000000 9680000 180000 -low_10 1.000000 0.000000 9000000 10000000 9720000 180000 -low_20 1.000000 0.000000 9500000 10000000 9900000 180000 -low_20 1.000000 0.000000 9000000 9500000 10080000 180000 -low_10 1.000000 0.000000 8000000 9000000 10260000 180000 -low_20 1.000000 0.000000 8500000 9000000 10440000 180000 -low_20 1.000000 0.000000 8000000 8500000 10620000 180000 -low_20 1.000000 0.000000 6500000 7000000 10800000 180000 -low_10 1.000000 0.000000 6000000 7000000 10980000 180000 -low_20 1.000000 0.000000 6000000 6500000 11160000 180000 -low_10 1.000000 0.000000 4000000 5000000 11340000 180000 -low_20 1.000000 0.000000 4500000 5000000 11520000 180000 -low_20 1.000000 0.000000 4000000 4500000 11700000 180000 -low_20 1.000000 0.000000 2500000 3000000 11880000 180000 -low_10 1.000000 0.000000 2000000 3000000 12060000 180000 -low_20 1.000000 0.000000 2000000 2500000 12240000 180000 -low_20 1.000000 0.000000 1000000 1500000 12420000 180000 -low_20 1.000000 0.000000 500000 1000000 12600000 180000 -low_10 1.000000 0.000000 0 1000000 12780000 180000 -low_20 1.000000 0.000000 0 500000 12960000 180000 diff --git a/TAO/examples/Simulator/Event_Supplier/svc.conf b/TAO/examples/Simulator/Event_Supplier/svc.conf deleted file mode 100644 index 43c6a486c92..00000000000 --- a/TAO/examples/Simulator/Event_Supplier/svc.conf +++ /dev/null @@ -1,49 +0,0 @@ -# $Id$ -# -# This file contains a sample ACE_Service_Config configuration -# file specifying the strategy factories utilized by an application -# using TAO. There are currently only two possible factories: -# Client_Strategy_Factory and Server_Strategy_Factory. These names -# must be used as the second argument to their corresponding line, -# because that's what the ORB uses to find the desired factory. -# -# Note that there are two unordinary characteristics of the way *this* -# file is set up: -# - both client and server strategies are specified in the same -# file, which would only make sense for co-located clients & servers -# - both of the factories are actually sourced out of libTAO.so -# (TAO.DLL on Win32), and they would normally be in a separate -# dll from the TAO ORB Core. -# -# The options which can be passed to the Resource Factory are: -# -# -ORBresources <which> -# where <which> can be 'global' to specify globally-held resources, -# or 'tss' to specify thread-specific resources. -# -# The options which can be passed to the Client are: -# <none currently> -# -# The options which can be passed to the Server are: -# -# -ORBconcurrency <which> -# where <which> can be 'thread-per-connection' to specify -# use of the ACE_Threaded_Strategy concurrency strategy, -# or 'reactive' to specify use of the ACE_Reactive_Strategy -# concurrency strategy. -# -# -ORBthreadflags <flags> -# specifies the default thread flags to use, where <flags> is a -# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP, -# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid -# on every platform. -# -# -ORBdemuxstrategy <which> -# where <which> can be one of 'dynamic', 'linear', 'active', or 'user', -# and specifies the type of object lookup strategy used internally. -# -ORBtablesize <unsigned> -# specifies the size of the object table -# -dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global" -dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory() -dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128" |