TAO_AV_Endpoint_Strategy Class Reference

#include <Endpoint_Strategy.h>

Inheritance diagram for TAO_AV_Endpoint_Strategy:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 TAO_AV_Endpoint_Strategy (void)
 Constructor.

virtual ~TAO_AV_Endpoint_Strategy (void)
 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.


Protected Attributes

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.


Detailed Description

Base class to define various endpoint strategies used by the MMDevice to create the Endpoint and Vdev

Definition at line 40 of file Endpoint_Strategy.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_AV_Endpoint_Strategy::TAO_AV_Endpoint_Strategy void   ) 
 

Constructor.

Definition at line 29 of file Endpoint_Strategy.cpp.

00030 {
00031 }

TAO_AV_Endpoint_Strategy::~TAO_AV_Endpoint_Strategy void   )  [virtual]
 

Destructor.

Definition at line 34 of file Endpoint_Strategy.cpp.

00035 {
00036 
00037 }


Member Function Documentation

int TAO_AV_Endpoint_Strategy::create_A AVStreams::StreamEndPoint_A_ptr &  stream_endpoint,
AVStreams::VDev_ptr &  vdev
[virtual]
 

Called by the MMDevice, when it needs to create an A type endpoint.

Reimplemented in TAO_AV_Endpoint_Process_Strategy_A, and TAO_AV_Endpoint_Reactive_Strategy_A< T_StreamEndpoint, T_VDev, T_MediaCtrl >.

Definition at line 44 of file Endpoint_Strategy.cpp.

References ACE_ERROR_RETURN, and LM_ERROR.

Referenced by TAO_MMDevice::create_A_B().

00046 {
00047   ACE_ERROR_RETURN ((LM_ERROR,
00048                      "(%P|%t) Error creating A endpoint\n"),
00049                     -1);
00050 }

int TAO_AV_Endpoint_Strategy::create_B AVStreams::StreamEndPoint_B_ptr &  stream_endpoint,
AVStreams::VDev_ptr &  vdev
[virtual]
 

Called by the MMDevice, when it needs to create an B type endpoint.

Reimplemented in TAO_AV_Endpoint_Process_Strategy_B, and TAO_AV_Endpoint_Reactive_Strategy_B< T_StreamEndpoint, T_Vdev, T_MediaCtrl >.

Definition at line 57 of file Endpoint_Strategy.cpp.

References ACE_ERROR_RETURN, and LM_ERROR.

Referenced by TAO_MMDevice::create_A_B().

00059 {
00060   ACE_ERROR_RETURN ((LM_ERROR,
00061                      "(%P|%t) Error creating B endpoint\n"),
00062                     -1);
00063 }


Member Data Documentation

AVStreams::StreamEndPoint_A_var TAO_AV_Endpoint_Strategy::stream_endpoint_a_ [protected]
 

The "A" stream endpoint.

Definition at line 60 of file Endpoint_Strategy.h.

AVStreams::StreamEndPoint_B_var TAO_AV_Endpoint_Strategy::stream_endpoint_b_ [protected]
 

The "B" stream endpoint.

Definition at line 63 of file Endpoint_Strategy.h.

AVStreams::VDev_var TAO_AV_Endpoint_Strategy::vdev_ [protected]
 

The vdev.

Definition at line 66 of file Endpoint_Strategy.h.


The documentation for this class was generated from the following files:
Generated on Sun Jan 27 16:06:48 2008 for TAO_AV by doxygen 1.3.6