Public Member Functions | Protected Attributes

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_AV_Endpoint_Strategy::TAO_AV_Endpoint_Strategy ( void   ) 

Constructor.

Definition at line 29 of file Endpoint_Strategy.cpp.

{
}

TAO_AV_Endpoint_Strategy::~TAO_AV_Endpoint_Strategy ( void   )  [virtual]

Destructor.

Definition at line 34 of file Endpoint_Strategy.cpp.

{

}


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.

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

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.

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


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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines