TAO_AV  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
Collaboration diagram for TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >:
Collaboration graph

Protected Member Functions

 TAO_AV_Endpoint_Reactive_Strategy (void)
 Constructor. More...
 
virtual ~TAO_AV_Endpoint_Reactive_Strategy (void)
 Destructor. More...
 
virtual int activate (void)
 creates and activates the streamendpoint, vdev, and mediacontrol More...
 
virtual int activate_stream_endpoint (void)=0
 activates the stream_endpoint with the POA More...
 
virtual int activate_vdev (void)
 activates the vdev with the POA More...
 
virtual int activate_mediactrl (void)
 activates the media controller with the POA More...
 
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. More...
 
AVStreams::StreamEndPoint_B_var stream_endpoint_b_
 The "B" stream endpoint. More...
 
AVStreams::VDev_var vdev_
 The vdev. More...
 

Additional Inherited Members

- Public Member Functions inherited from TAO_AV_Endpoint_Strategy
 TAO_AV_Endpoint_Strategy (void)
 Constructor. More...
 
virtual ~TAO_AV_Endpoint_Strategy (void)
 Destructor. More...
 
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. More...
 
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. More...
 

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

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 ( void  )
protected

Constructor.

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 ( void  )
protectedvirtual

Destructor.

Member Function Documentation

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

creates and activates the streamendpoint, vdev, and mediacontrol

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

activates the media controller with the POA

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 ( void  )
protectedpure virtual
template<class T_StreamEndpoint , class T_VDev , class T_MediaCtrl >
int TAO_AV_Endpoint_Reactive_Strategy< T_StreamEndpoint, T_VDev, T_MediaCtrl >::activate_vdev ( void  )
protectedvirtual

activates the vdev with the 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
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

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

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

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
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
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
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
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
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
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: