TAO_VDev Class Reference

Implements the VDev interface. One of these is created per connection, and represents device-specific parameters. More...

#include <AVStreams_i.h>

Inheritance diagram for TAO_VDev:

Inheritance graph
[legend]
Collaboration diagram for TAO_VDev:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_VDev (void)
 Default Constructor.
virtual CORBA::Boolean set_peer (AVStreams::StreamCtrl_ptr the_ctrl, AVStreams::VDev_ptr the_peer_dev, AVStreams::streamQoS &the_qos, const AVStreams::flowSpec &the_spec ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, AVStreams::noSuchFlow, AVStreams::QoSRequestFailed, AVStreams::streamOpFailed)
 Called to tell the vdev who the streamctrl, peer vdev is.
virtual CORBA::Boolean set_Mcast_peer (AVStreams::StreamCtrl_ptr the_ctrl, AVStreams::MCastConfigIf_ptr a_mcastconfigif, AVStreams::streamQoS &the_qos, const AVStreams::flowSpec &the_spec ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, AVStreams::noSuchFlow, AVStreams::QoSRequestFailed, AVStreams::streamOpFailed)
 Used to set the streamctrl and multicast device.
virtual void configure (const CosPropertyService::Property &the_config_mesg ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, AVStreams::PropertyException, AVStreams::streamOpFailed)
 Called by the peer VDev to configure the device (catch all).
virtual void set_format (const char *flowName, const char *format_name ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, AVStreams::notSupported)
 Used to set a format on a flowname.
virtual void set_dev_params (const char *flowName, const CosPropertyService::Properties &new_params ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, AVStreams::PropertyException, AVStreams::streamOpFailed)
 Used to set device parameters.
virtual CORBA::Boolean modify_QoS (AVStreams::streamQoS &the_qos, const AVStreams::flowSpec &the_spec ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, AVStreams::noSuchFlow, AVStreams::QoSRequestFailed)
 Called to change QoS of the device.

Protected Member Functions

virtual ~TAO_VDev (void)
virtual CORBA::Boolean set_media_ctrl (CORBA::Object_ptr media_ctrl ACE_ENV_ARG_DECL_WITH_DEFAULTS)
 hook called after set_peer is done to set the media ctrl of the peer vdev.

Protected Attributes

AVStreams::StreamCtrl_var streamctrl_
 My stream controller.
AVStreams::VDev_var peer_
 My peer.
AVStreams::MCastConfigIf_var mcast_peer_
 The multicast VDev peer.

Detailed Description

Implements the VDev interface. One of these is created per connection, and represents device-specific parameters.


Constructor & Destructor Documentation

TAO_VDev::TAO_VDev void   ) 
 

Default Constructor.

TAO_VDev::~TAO_VDev void   )  [protected, virtual]
 

Destructor for a servant should be protected or private. Use _remove_ref() to delete this servant.


Member Function Documentation

virtual void TAO_VDev::configure const CosPropertyService::Property &the_config_mesg  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw (CORBA::SystemException, AVStreams::PropertyException, AVStreams::streamOpFailed) [virtual]
 

Called by the peer VDev to configure the device (catch all).

virtual CORBA::Boolean TAO_VDev::modify_QoS AVStreams::streamQoS the_qos,
const AVStreams::flowSpec &the_spec  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, AVStreams::noSuchFlow, AVStreams::QoSRequestFailed) [virtual]
 

Called to change QoS of the device.

void TAO_VDev::set_dev_params const char *  flowName,
const CosPropertyService::Properties &new_params  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, AVStreams::PropertyException, AVStreams::streamOpFailed) [virtual]
 

Used to set device parameters.

void TAO_VDev::set_format const char *  flowName,
const char *format_name  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, AVStreams::notSupported) [virtual]
 

Used to set a format on a flowname.

virtual CORBA::Boolean TAO_VDev::set_Mcast_peer AVStreams::StreamCtrl_ptr  the_ctrl,
AVStreams::MCastConfigIf_ptr  a_mcastconfigif,
AVStreams::streamQoS the_qos,
const AVStreams::flowSpec &the_spec  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, AVStreams::noSuchFlow, AVStreams::QoSRequestFailed, AVStreams::streamOpFailed) [virtual]
 

Used to set the streamctrl and multicast device.

CORBA::Boolean TAO_VDev::set_media_ctrl CORBA::Object_ptr media_ctrl  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  [protected, virtual]
 

hook called after set_peer is done to set the media ctrl of the peer vdev.

CORBA::Boolean TAO_VDev::set_peer AVStreams::StreamCtrl_ptr  the_ctrl,
AVStreams::VDev_ptr  the_peer_dev,
AVStreams::streamQoS the_qos,
const AVStreams::flowSpec &the_spec  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, AVStreams::noSuchFlow, AVStreams::QoSRequestFailed, AVStreams::streamOpFailed) [virtual]
 

Called to tell the vdev who the streamctrl, peer vdev is.


Member Data Documentation

AVStreams::MCastConfigIf_var TAO_VDev::mcast_peer_ [protected]
 

The multicast VDev peer.

AVStreams::VDev_var TAO_VDev::peer_ [protected]
 

My peer.

AVStreams::StreamCtrl_var TAO_VDev::streamctrl_ [protected]
 

My stream controller.


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:28:57 2005 for TAO_AV by  doxygen 1.4.5