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