#include <AVStreams_i.h>
Inheritance diagram for TAO_MMDevice
Public Types | |
enum | MMDevice_Type { MMDEVICE_A = 0, MMDEVICE_B = 1 } |
Constructor. More... | |
Public Methods | |
TAO_MMDevice (TAO_AV_Endpoint_Strategy *endpoint_strategy_) | |
TAO_MMDevice (TAO_MMDevice const &) | |
Copy constructor to fool g++. | |
virtual AVStreams::StreamEndPoint_ptr | create_A_B (MMDevice_Type type, 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 = CORBA::Environment::default_environment ()) |
virtual AVStreams::StreamCtrl_ptr | bind (AVStreams::MMDevice_ptr peer_device, AVStreams::streamQoS &the_qos, CORBA::Boolean_out is_met, const AVStreams::flowSpec &the_spec, CORBA::Environment &env = CORBA::Environment::default_environment ()) throw (CORBA::SystemException, AVStreams::streamOpFailed, AVStreams::noSuchFlow, AVStreams::QoSRequestFailed) |
Can be used to request the MMDevice to create a new StreamCtrl, and call bind_devs on it. | |
virtual AVStreams::StreamCtrl_ptr | bind_mcast (AVStreams::MMDevice_ptr first_peer, AVStreams::streamQoS &the_qos, CORBA::Boolean_out is_met, const AVStreams::flowSpec &the_spec, CORBA::Environment &env = CORBA::Environment::default_environment ()) throw (CORBA::SystemException, AVStreams::streamOpFailed, AVStreams::noSuchFlow, AVStreams::QoSRequestFailed) |
Multicast bind. | |
virtual AVStreams::StreamEndPoint_A_ptr | create_A (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 = CORBA::Environment::default_environment ()) throw (CORBA::SystemException, AVStreams::streamOpFailed, AVStreams::streamOpDenied, AVStreams::notSupported, AVStreams::QoSRequestFailed, AVStreams::noSuchFlow) |
Called by StreamCtrl to create a "A" type streamandpoint and vdev. | |
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 = CORBA::Environment::default_environment ()) throw (CORBA::SystemException, AVStreams::streamOpFailed, AVStreams::streamOpDenied, AVStreams::notSupported, AVStreams::QoSRequestFailed, AVStreams::noSuchFlow) |
Called by StreamCtrl to create a "B" type streamandpoint and vdev. | |
virtual void | destroy (AVStreams::StreamEndPoint_ptr the_ep, const char *vdev_name, CORBA::Environment &env = CORBA::Environment::default_environment ()) throw (CORBA::SystemException, AVStreams::notSupported) |
Remove the StreamEndPoint and the related vdev. | |
virtual char* | add_fdev (CORBA::Object_ptr the_fdev, CORBA::Environment &env = CORBA::Environment::default_environment ()) throw (CORBA::SystemException, AVStreams::notSupported, AVStreams::streamOpFailed) |
Not supported in the light profile, raises notsupported. | |
virtual CORBA::Object_ptr | get_fdev (const char *flow_name, CORBA::Environment &env = CORBA::Environment::default_environment ()) throw (CORBA::SystemException, AVStreams::notSupported, AVStreams::noSuchFlow) |
Not supported in the light profile, raises notsupported. | |
virtual void | remove_fdev (const char *flow_name, CORBA::Environment &env = CORBA::Environment::default_environment ()) throw (CORBA::SystemException, AVStreams::notSupported, AVStreams::noSuchFlow, AVStreams::streamOpFailed) |
Not supported in the light profile, raises notsupported. | |
virtual | ~TAO_MMDevice (void) |
Destructor. | |
Protected Types | |
typedef ACE_Hash_Map_Manager< ACE_CString,AVStreams::FDev_ptr, ACE_Null_Mutex> | FDev_Map |
typedef ACE_Hash_Map_Iterator< ACE_CString,AVStreams::FDev_ptr, ACE_Null_Mutex> | FDev_Map_Iterator |
typedef ACE_Hash_Map_Entry< ACE_CString,AVStreams::FDev_ptr> | FDev_Map_Entry |
Protected Methods | |
char* | add_fdev_i (AVStreams::FDev_ptr fdev, CORBA::Environment &ACE_TRY_ENV) throw (CORBA::SystemException, AVStreams::notSupported, AVStreams::streamOpFailed) |
Helper method to implement add_fdev(). | |
Protected Attributes | |
TAO_AV_Endpoint_Strategy* | endpoint_strategy_ |
u_int | flow_count_ |
Count of the number of flows in this MMDevice , used to generate unique names for the flows. | |
u_int | flow_num_ |
current flow number used for system generation of flow names. | |
FDev_Map | fdev_map_ |
hash table for the flownames and its corresponding flowEndpoint reference. | |
AVStreams::flowSpec | flows_ |
sequence of supported flow names. | |
TAO_StreamCtrl* | stream_ctrl_ |
|
|
|
|
|
|
|
Constructor.
|
|
|
|
Copy constructor to fool g++.
|
|
Destructor.
|
|
Not supported in the light profile, raises notsupported.
|
|
Helper method to implement add_fdev().
|
|
Can be used to request the MMDevice to create a new StreamCtrl, and call bind_devs on it.
|
|
Multicast bind.
|
|
Called by StreamCtrl to create a "A" type streamandpoint and vdev.
|
|
|
|
Called by StreamCtrl to create a "B" type streamandpoint and vdev.
|
|
Remove the StreamEndPoint and the related vdev.
|
|
Not supported in the light profile, raises notsupported.
|
|
Not supported in the light profile, raises notsupported.
|
|
|
|
hash table for the flownames and its corresponding flowEndpoint reference.
|
|
Count of the number of flows in this MMDevice , used to generate unique names for the flows.
|
|
current flow number used for system generation of flow names.
|
|
sequence of supported flow names.
|
|
|