TAO_AV
2.3.1
|
Process-based strategy for creating endpoints. Abstract base class. More...
#include <Endpoint_Strategy.h>
Public Member Functions | |
TAO_AV_Endpoint_Process_Strategy (ACE_Process_Options *process_options) | |
virtual | ~TAO_AV_Endpoint_Process_Strategy (void) |
Destructor. More... | |
virtual int | activate (void) |
![]() | |
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... | |
Protected Member Functions | |
virtual int | bind_to_naming_service (void) |
Bind to the naming service. More... | |
virtual int | get_stream_endpoint (void)=0 |
virtual int | get_vdev (void) |
Protected Attributes | |
CosNaming::NamingContext_var | naming_context_ |
Naming context. More... | |
ACE_Process_Options * | process_options_ |
Name and arguments for the process to be created. More... | |
char | host_ [MAXHOSTNAMELEN] |
name of this host used for resolving unique names. More... | |
pid_t | pid_ |
My child's process id. More... | |
![]() | |
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... | |
Process-based strategy for creating endpoints. Abstract base class.
TAO_AV_Endpoint_Process_Strategy::TAO_AV_Endpoint_Process_Strategy | ( | ACE_Process_Options * | process_options | ) |
Constructor. The process_options contain the name and arguments for the process to be created
|
virtual |
Destructor.
|
virtual |
creates a new child process, and waits on a semaphore until the child process has finished creating the endpoints
|
protectedvirtual |
Bind to the naming service.
|
protectedpure virtual |
Get the object reference for the newly created stream endpoint (which will be in the child process) Subclasses will define the functionality for this
Implemented in TAO_AV_Endpoint_Process_Strategy_B, and TAO_AV_Endpoint_Process_Strategy_A.
|
protectedvirtual |
Get the Vdev object reference for the newly created endpoint
|
protected |
name of this host used for resolving unique names.
|
protected |
Naming context.
|
protected |
My child's process id.
|
protected |
Name and arguments for the process to be created.