diff options
Diffstat (limited to 'TAO/orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.h')
-rw-r--r-- | TAO/orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.h | 50 |
1 files changed, 26 insertions, 24 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.h b/TAO/orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.h index 48062e494c4..fc2fe1aadeb 100644 --- a/TAO/orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.h +++ b/TAO/orbsvcs/tests/AVStreams/mpeg/source/server/augmented_server.h @@ -68,26 +68,26 @@ public: static const char* NUMBER_OF_CONNECTIONS; static const char* MAX_CONNECTIONS; static const char* SERVER_NAME; - + AV_Audio_MMDevice (TAO_AV_Endpoint_Process_Strategy *endpoint_strategy); // Default constructor virtual AVStreams::StreamEndPoint_B_ptr - create_B (AVStreams::StreamCtrl_ptr the_requester, - AVStreams::VDev_out the_vdev, - AVStreams::streamQoS &the_qos, - CORBA::Boolean_out met_qos, - char *&named_vdev, - const AVStreams::flowSpec &the_spec, - CORBA::Environment &env); + create_B (AVStreams::StreamCtrl_ptr the_requester, + AVStreams::VDev_out the_vdev, + AVStreams::streamQoS &the_qos, + CORBA::Boolean_out met_qos, + char *&named_vdev, + const AVStreams::flowSpec &the_spec, + CORBA::Environment &env); // Called by StreamCtrl to create a "B" type streamandpoint and vdev - + }; class AV_Video_MMDevice : public TAO_MMDevice//, - // public TAO_Exportable + // public TAO_Exportable { public: @@ -104,15 +104,16 @@ public: CORBA::Environment &env); // Called by StreamCtrl to create a "B" type streamandpoint and vdev - + }; -class MMDevice_Exporter_i +class MMDevice_Exporter_i : public POA_MMDevice_Exporter, public TAO_Exportable, public TAO_PropertySet { -public: + + public: CORBA_Object_ptr audio_mmdevice_; CORBA_Object_ptr video_mmdevice_; @@ -125,24 +126,25 @@ public: CORBA::ULong connections (void) const; // Retrieve the number of connections. - // virtual CORBA::Object_ptr audio_mmdevice_reference_ (CORBA_Environment &_env = CORBA_Environment::default_environment ()); +// virtual CORBA::Object_ptr audio_mmdevice_reference_ (CORBA_Environment &_env = CORBA_Environment::default_environment ()); - // virtual CORBA::Object_ptr video_mmdevice_reference_ (CORBA_Environment &_env = CORBA_Environment::default_environment ()); +// virtual CORBA::Object_ptr video_mmdevice_reference_ (CORBA_Environment &_env = CORBA_Environment::default_environment ()); - virtual CORBA::Object_ptr get_audio_mmdevice (CORBA_Environment &_env = CORBA_Environment::default_environment ()); - virtual CORBA::Object_ptr get_video_mmdevice (CORBA_Environment &_env = CORBA_Environment::default_environment ()); + virtual CORBA::Object_ptr get_audio_mmdevice (CORBA_Environment &_env = CORBA_Environment::default_environment ()); + virtual CORBA::Object_ptr get_video_mmdevice (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void export_properties (TAO_Property_Exporter& prop_exporter); - + virtual int define_properties (CosTradingRepos::ServiceTypeRepository::PropStructSeq& prop_seq, CORBA::ULong offset = 0) const; -private: + + private: CORBA::ULong connections_; // Number of active connections - - CORBA::ULong max_connections_; - + + CORBA::ULong max_connections_; + }; class AV_Server; @@ -203,7 +205,7 @@ class AV_Server public: static const char* MMDEVICE_SERVICE_TYPE; - + AV_Server (void); // constructor @@ -250,7 +252,7 @@ private: CosTrading::Lookup_var trader_; // Reference to the Lookup interface of the trading service. - + // CosTrading::OfferId_var audio_offer_id_; // Server offer id. |