#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_ |
TAO_AV_Child_Process< T_StreamEndpoint_B, T_VDev, T_MediaCtrl >::TAO_AV_Child_Process | ( | ) | [inline] |
Constructor.
virtual TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::~TAO_AV_Child_Process | ( | ) | [virtual] |
Destructor.
int TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::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< T_StreamEndpoint, T_VDev, T_MediaCtrl >::activate_with_poa | ( | PortableServer::Servant | servant | ) | [protected] |
activate the servant with the poa
int TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::bind_to_naming_service | ( | void | ) | [protected] |
Binds to the naming service.
int TAO_AV_Child_Process< T_StreamEndpoint_B, T_VDev, T_MediaCtrl >::init | ( | int | argc, | |
ACE_TCHAR ** | argv, | |||
CORBA::ORB_ptr | orb, | |||
PortableServer::POA_ptr | poa | |||
) | [inline] |
Initializes the ORB, creates and activates the T_StreamEndpoint, T_VDev, T_MediaCtrl in the POA
virtual int TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::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< T_StreamEndpoint, T_VDev, T_MediaCtrl >::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< T_StreamEndpoint, T_VDev, T_MediaCtrl >::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< T_StreamEndpoint, T_VDev, T_MediaCtrl >::register_stream_endpoint | ( | void | ) | [protected] |
Registers stream_endpoint with the naming service.
int TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::register_vdev | ( | void | ) | [protected] |
Registers vdev with the naming service.
int TAO_AV_Child_Process< T_StreamEndpoint_B, T_VDev, T_MediaCtrl >::release_semaphore | ( | ) | [inline, protected] |
Releases the semaphore on which the parent is waiting on.
int TAO_AV_Child_Process< T_StreamEndpoint_B, T_VDev, T_MediaCtrl >::run | ( | ACE_Time_Value * | tv = 0 |
) | [inline] |
runs the ORB event loop
int TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::unbind_names | ( | void | ) | [protected] |
Removes the vdev and streamendpoint names from the naming service.
char TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::host_[MAXHOSTNAMELEN] [protected] |
Name of the host.
T_MediaCtrl* TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::media_ctrl_ [protected] |
Media controller.
CORBA::Object_var TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::media_ctrl_obj_ [protected] |
CosNaming::NamingContext_var TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::naming_context_ [protected] |
The root Naming Context of the TAO naming service.
CORBA::ORB_ptr TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::orb_ [protected] |
pid_t TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::pid_ [protected] |
pid of this process
PortableServer::POA_ptr TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::poa_ [protected] |
T_StreamEndpoint* TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::stream_endpoint_ [protected] |
The stream endpoint member.
CosNaming::Name TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::stream_endpoint_name_ [protected] |
Name of the stream_endpoint.
T_VDev* TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::vdev_ [protected] |
The virtual device.
CosNaming::Name TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::vdev_name_ [protected] |
Name of the vdev.
CORBA::Object_var TAO_AV_Child_Process< T_StreamEndpoint, T_VDev, T_MediaCtrl >::vdev_obj_ [protected] |
Virtual device CORBA object reference.