#include <AVStreams_i.h>
Public Member Functions | |
TAO_StreamCtrl (void) | |
Default Constructor. | |
virtual | ~TAO_StreamCtrl (void) |
virtual destructor. | |
virtual void | stop (const AVStreams::flowSpec &the_spec) |
virtual void | start (const AVStreams::flowSpec &the_spec) |
virtual void | destroy (const AVStreams::flowSpec &the_spec) |
virtual CORBA::Boolean | bind_devs (AVStreams::MMDevice_ptr a_party, AVStreams::MMDevice_ptr b_party, AVStreams::streamQoS &the_qos, const AVStreams::flowSpec &the_flows) |
virtual CORBA::Boolean | bind (AVStreams::StreamEndPoint_A_ptr a_party, AVStreams::StreamEndPoint_B_ptr b_party, AVStreams::streamQoS &the_qos, const AVStreams::flowSpec &the_flows) |
virtual void | unbind_dev (AVStreams::MMDevice_ptr dev, const AVStreams::flowSpec &the_spec) |
virtual void | unbind_party (AVStreams::StreamEndPoint_ptr the_ep, const AVStreams::flowSpec &the_spec) |
Unbind the_ep from the stream. Empty the_spec means apply to all flows. | |
virtual void | unbind (void) |
unbind the stream. Same effect as Basic_StreamCtrl::destroy () | |
virtual AVStreams::VDev_ptr | get_related_vdev (AVStreams::MMDevice_ptr adev, AVStreams::StreamEndPoint_out sep) |
virtual CORBA::Boolean | modify_QoS (AVStreams::streamQoS &new_qos, const AVStreams::flowSpec &the_spec) |
Protected Types | |
typedef ACE_Hash_Map_Manager < MMDevice_Map_Hash_Key, MMDevice_Map_Entry, ACE_Null_Mutex > | MMDevice_Map |
typedef ACE_Hash_Map_Iterator < MMDevice_Map_Hash_Key, MMDevice_Map_Entry, ACE_Null_Mutex > | MMDevice_Map_Iterator |
Protected Attributes | |
MMDevice_Map | mmdevice_a_map_ |
MMDevice_Map | mmdevice_b_map_ |
TAO_MCastConfigIf * | mcastconfigif_ |
AVStreams::MCastConfigIf_var | mcastconfigif_ptr_ |
AVStreams::StreamCtrl_var | streamctrl_ |
CORBA::ULong | source_id_ |
Classes | |
struct | MMDevice_Map_Entry |
typedef ACE_Hash_Map_Manager<MMDevice_Map_Hash_Key,MMDevice_Map_Entry,ACE_Null_Mutex> TAO_StreamCtrl::MMDevice_Map [protected] |
typedef ACE_Hash_Map_Iterator<MMDevice_Map_Hash_Key,MMDevice_Map_Entry,ACE_Null_Mutex> TAO_StreamCtrl::MMDevice_Map_Iterator [protected] |
TAO_StreamCtrl::TAO_StreamCtrl | ( | void | ) |
Default Constructor.
TAO_StreamCtrl::~TAO_StreamCtrl | ( | void | ) | [virtual] |
virtual destructor.
void TAO_StreamCtrl::stop | ( | const AVStreams::flowSpec & | the_spec | ) | [virtual] |
Stop the transfer of data of the stream Empty the_spec means apply operation to all flows
Reimplemented from TAO_Basic_StreamCtrl.
void TAO_StreamCtrl::start | ( | const AVStreams::flowSpec & | the_spec | ) | [virtual] |
Start the transfer of data in the stream. Empty the_spec means apply operation to all flows
Reimplemented from TAO_Basic_StreamCtrl.
void TAO_StreamCtrl::destroy | ( | const AVStreams::flowSpec & | the_spec | ) | [virtual] |
Tears down the stream. This will close the connection, and delete the streamendpoint and vdev associated with this stream Empty the_spec means apply operation to all flows
Reimplemented from TAO_Basic_StreamCtrl.
CORBA::Boolean TAO_StreamCtrl::bind_devs | ( | AVStreams::MMDevice_ptr | a_party, | |
AVStreams::MMDevice_ptr | b_party, | |||
AVStreams::streamQoS & | the_qos, | |||
const AVStreams::flowSpec & | the_flows | |||
) | [virtual] |
Establish a stream between a_party and b_party, with qos the_qos, and for the flows in the_flows if the_flows is empty, bind all the flows Causes a connection to be established between the StreamEndpoints. Returns success/failure
CORBA::Boolean TAO_StreamCtrl::bind | ( | AVStreams::StreamEndPoint_A_ptr | a_party, | |
AVStreams::StreamEndPoint_B_ptr | b_party, | |||
AVStreams::streamQoS & | the_qos, | |||
const AVStreams::flowSpec & | the_flows | |||
) | [virtual] |
Establish a connection between two streamendpoints. This can be used if the streamendpoints have been created independent of a MMDevice
void TAO_StreamCtrl::unbind_dev | ( | AVStreams::MMDevice_ptr | dev, | |
const AVStreams::flowSpec & | the_spec | |||
) | [virtual] |
void TAO_StreamCtrl::unbind_party | ( | AVStreams::StreamEndPoint_ptr | the_ep, | |
const AVStreams::flowSpec & | the_spec | |||
) | [virtual] |
Unbind the_ep from the stream. Empty the_spec means apply to all flows.
void TAO_StreamCtrl::unbind | ( | void | ) | [virtual] |
unbind the stream. Same effect as Basic_StreamCtrl::destroy ()
AVStreams::VDev_ptr TAO_StreamCtrl::get_related_vdev | ( | AVStreams::MMDevice_ptr | adev, | |
AVStreams::StreamEndPoint_out | sep | |||
) | [virtual] |
CORBA::Boolean TAO_StreamCtrl::modify_QoS | ( | AVStreams::streamQoS & | new_qos, | |
const AVStreams::flowSpec & | the_spec | |||
) | [virtual] |
Changes the QoS associated with the stream Empty the_spec means apply operation to all flows
Reimplemented from TAO_Basic_StreamCtrl.
MMDevice_Map TAO_StreamCtrl::mmdevice_a_map_ [protected] |
MMDevice_Map TAO_StreamCtrl::mmdevice_b_map_ [protected] |
TAO_MCastConfigIf* TAO_StreamCtrl::mcastconfigif_ [protected] |
AVStreams::MCastConfigIf_var TAO_StreamCtrl::mcastconfigif_ptr_ [protected] |
AVStreams::StreamCtrl_var TAO_StreamCtrl::streamctrl_ [protected] |
CORBA::ULong TAO_StreamCtrl::source_id_ [protected] |