TAO_AV
2.0.6
|
Helper class for the child process created in TAO_AV_Endpoint_Process_Strategy. More...
#include <Endpoint_Strategy_T.h>
Public Member Functions | |
TAO_AV_Child_Process () | |
Constructor. | |
virtual | ~TAO_AV_Child_Process () |
Destructor. | |
int | init (int argc, ACE_TCHAR **argv, CORBA::ORB_ptr orb, PortableServer::POA_ptr poa) |
int | run (ACE_Time_Value *tv=0) |
runs the ORB event loop | |
Protected Member Functions | |
int | activate_objects (int argc, ACE_TCHAR **argv) |
char * | activate_with_poa (PortableServer::Servant servant) |
activate the servant with the poa | |
int | unbind_names (void) |
Removes the vdev and streamendpoint names from the naming service. | |
int | bind_to_naming_service (void) |
Binds to the naming service. | |
int | register_vdev (void) |
Registers vdev with the naming service. | |
int | register_stream_endpoint (void) |
Registers stream_endpoint with the naming service. | |
int | release_semaphore () |
Releases the semaphore on which the parent is waiting on. | |
virtual int | make_vdev (T_VDev *&vdev) |
virtual int | make_stream_endpoint (T_StreamEndpoint *&stream_endpoint) |
virtual int | make_mediactrl (T_MediaCtrl *&media_ctrl) |
Protected Attributes | |
CosNaming::NamingContext_var | naming_context_ |
The root Naming Context of the TAO naming service. | |
CosNaming::Name | vdev_name_ |
Name of the vdev. | |
CosNaming::Name | stream_endpoint_name_ |
Name of the stream_endpoint. | |
T_StreamEndpoint * | stream_endpoint_ |
The stream endpoint member. | |
T_VDev * | vdev_ |
The virtual device. | |
CORBA::Object_var | vdev_obj_ |
Virtual device CORBA object reference. | |
T_MediaCtrl * | media_ctrl_ |
Media controller. | |
CORBA::Object_var | media_ctrl_obj_ |
pid_t | pid_ |
pid of this process | |
char | host_ [MAXHOSTNAMELEN] |
Name of the host. | |
CORBA::ORB_ptr | orb_ |
PortableServer::POA_ptr | poa_ |
Helper class for the child process created in TAO_AV_Endpoint_Process_Strategy.
TAO_AV_Child_Process::TAO_AV_Child_Process | ( | ) |
Constructor.
virtual TAO_AV_Child_Process::~TAO_AV_Child_Process | ( | ) | [virtual] |
Destructor.
int TAO_AV_Child_Process::activate_objects | ( | int | argc, |
ACE_TCHAR ** | argv | ||
) | [protected] |
Creates the objects and inserts them into the Naming Service, so the parent can pick the IOR's and return them to the client
char* TAO_AV_Child_Process::activate_with_poa | ( | PortableServer::Servant | servant | ) | [protected] |
activate the servant with the poa
int TAO_AV_Child_Process::bind_to_naming_service | ( | void | ) | [protected] |
Binds to the naming service.
int TAO_AV_Child_Process::init | ( | int | argc, |
ACE_TCHAR ** | argv, | ||
CORBA::ORB_ptr | orb, | ||
PortableServer::POA_ptr | poa | ||
) |
Initializes the ORB, creates and activates the T_StreamEndpoint, T_VDev, T_MediaCtrl in the POA
virtual int TAO_AV_Child_Process::make_mediactrl | ( | T_MediaCtrl *& | media_ctrl | ) | [protected, virtual] |
Bridge method to create a media_ctrl, a la Acceptor. Applications can override this
virtual int TAO_AV_Child_Process::make_stream_endpoint | ( | T_StreamEndpoint *& | stream_endpoint | ) | [protected, virtual] |
Bridge method to create a stream_endpoint, a la Acceptor. Applications can override this
virtual int TAO_AV_Child_Process::make_vdev | ( | T_VDev *& | vdev | ) | [protected, virtual] |
Bridge method to create a vdev, a la Acceptor. Applications can override this
int TAO_AV_Child_Process::register_stream_endpoint | ( | void | ) | [protected] |
Registers stream_endpoint with the naming service.
int TAO_AV_Child_Process::register_vdev | ( | void | ) | [protected] |
Registers vdev with the naming service.
int TAO_AV_Child_Process::release_semaphore | ( | ) | [protected] |
Releases the semaphore on which the parent is waiting on.
int TAO_AV_Child_Process::run | ( | ACE_Time_Value * | tv = 0 | ) |
runs the ORB event loop
int TAO_AV_Child_Process::unbind_names | ( | void | ) | [protected] |
Removes the vdev and streamendpoint names from the naming service.
char TAO_AV_Child_Process::host_[MAXHOSTNAMELEN] [protected] |
Name of the host.
T_MediaCtrl* TAO_AV_Child_Process::media_ctrl_ [protected] |
Media controller.
CosNaming::NamingContext_var TAO_AV_Child_Process::naming_context_ [protected] |
The root Naming Context of the TAO naming service.
CORBA::ORB_ptr TAO_AV_Child_Process::orb_ [protected] |
pid_t TAO_AV_Child_Process::pid_ [protected] |
pid of this process
PortableServer::POA_ptr TAO_AV_Child_Process::poa_ [protected] |
T_StreamEndpoint* TAO_AV_Child_Process::stream_endpoint_ [protected] |
The stream endpoint member.
CosNaming::Name TAO_AV_Child_Process::stream_endpoint_name_ [protected] |
Name of the stream_endpoint.
T_VDev* TAO_AV_Child_Process::vdev_ [protected] |
The virtual device.
CosNaming::Name TAO_AV_Child_Process::vdev_name_ [protected] |
Name of the vdev.
CORBA::Object_var TAO_AV_Child_Process::vdev_obj_ [protected] |
Virtual device CORBA object reference.