TAO_AV 4.0.0
Loading...
Searching...
No Matches
Protected Member Functions | Protected Attributes | List of all members
TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl > Class Template Referenceabstract

Reactive strategy base class. More...

#include <Endpoint_Strategy_T.h>

Inheritance diagram for TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >:
Inheritance graph
[legend]
Collaboration diagram for TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >:
Collaboration graph
[legend]

Protected Member Functions

 TAO_AV_Endpoint_Reactive_Strategy ()
 Constructor.
 
virtual ~TAO_AV_Endpoint_Reactive_Strategy ()
 Destructor.
 
virtual int activate ()
 creates and activates the streamendpoint, vdev, and mediacontrol
 
virtual int activate_stream_endpoint ()=0
 activates the stream_endpoint with the POA
 
virtual int activate_vdev ()
 activates the vdev with the POA
 
virtual int activate_mediactrl ()
 activates the media controller with the POA
 
virtual int make_vdev (T_VDev *&vdev)
 
virtual int make_stream_endpoint (T_StreamEndpoint *&stream_endpoint)
 
virtual int make_mediactrl (T_MediaCtrl *&media_ctrl)
 
char * activate_with_poa (PortableServer::Servant servant)
 

Protected Attributes

CORBA::ORB_var orb_
 
PortableServer::POA_var poa_
 
CORBA::Object_var media_ctrl_obj_
 
T_StreamEndpoint * stream_endpoint_a_servant_
 
T_StreamEndpoint * stream_endpoint_b_servant_
 
T_VDev * vdev_servant_
 
T_MediaCtrl * media_ctrl_servant_
 
- Protected Attributes inherited from TAO_AV_Endpoint_Strategy
AVStreams::StreamEndPoint_A_var stream_endpoint_a_
 The "A" stream endpoint.
 
AVStreams::StreamEndPoint_B_var stream_endpoint_b_
 The "B" stream endpoint.
 
AVStreams::VDev_var vdev_
 The vdev.
 

Additional Inherited Members

- Public Member Functions inherited from TAO_AV_Endpoint_Strategy
 TAO_AV_Endpoint_Strategy ()
 Constructor.
 
virtual ~TAO_AV_Endpoint_Strategy ()
 Destructor.
 
virtual int create_A (AVStreams::StreamEndPoint_A_ptr &stream_endpoint, AVStreams::VDev_ptr &vdev)
 Called by the MMDevice, when it needs to create an A type endpoint.
 
virtual int create_B (AVStreams::StreamEndPoint_B_ptr &stream_endpoint, AVStreams::VDev_ptr &vdev)
 Called by the MMDevice, when it needs to create an B type endpoint.
 

Detailed Description

template<class T_StreamEndpoint, class T_VDev, class T_MediaCtrl>
class TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >

Reactive strategy base class.

Constructor & Destructor Documentation

◆ TAO_AV_Endpoint_Reactive_Strategy()

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::TAO_AV_Endpoint_Reactive_Strategy ( )
protected

Constructor.

◆ ~TAO_AV_Endpoint_Reactive_Strategy()

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::~TAO_AV_Endpoint_Reactive_Strategy ( )
protectedvirtual

Destructor.

Member Function Documentation

◆ activate()

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
int TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::activate ( )
protectedvirtual

creates and activates the streamendpoint, vdev, and mediacontrol

◆ activate_mediactrl()

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
int TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::activate_mediactrl ( )
protectedvirtual

activates the media controller with the POA

◆ activate_stream_endpoint()

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
virtual int TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::activate_stream_endpoint ( )
protectedpure virtual

◆ activate_vdev()

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
int TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::activate_vdev ( )
protectedvirtual

activates the vdev with the POA

◆ activate_with_poa()

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
char * TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::activate_with_poa ( PortableServer::Servant servant)
protected

◆ make_mediactrl()

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
int TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::make_mediactrl ( T_MediaCtrl *& media_ctrl)
protectedvirtual

Bridge method to create a media_ctrl, a la Acceptor. Applications can override this

◆ make_stream_endpoint()

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
int TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::make_stream_endpoint ( T_StreamEndpoint *& stream_endpoint)
protectedvirtual

Bridge method to create a stream_endpoint, a la Acceptor. Applications can override this

◆ make_vdev()

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
int TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::make_vdev ( T_VDev *& vdev)
protectedvirtual

Bridge method to create a vdev, a la Acceptor. Applications can override this

Member Data Documentation

◆ media_ctrl_obj_

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
CORBA::Object_var TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::media_ctrl_obj_
protected

◆ media_ctrl_servant_

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
T_MediaCtrl* TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::media_ctrl_servant_
protected

◆ orb_

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
CORBA::ORB_var TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::orb_
protected

◆ poa_

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
PortableServer::POA_var TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::poa_
protected

◆ stream_endpoint_a_servant_

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
T_StreamEndpoint* TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::stream_endpoint_a_servant_
protected

◆ stream_endpoint_b_servant_

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
T_StreamEndpoint* TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::stream_endpoint_b_servant_
protected

◆ vdev_servant_

template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
T_VDev* TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::vdev_servant_
protected

The documentation for this class was generated from the following files: