Implemetation of the TAO_Notify_Service interface for RT Notification. More...
#include <RT_Notify_Service.h>
Public Member Functions | |
TAO_RT_Notify_Service (void) | |
Constructor. | |
~TAO_RT_Notify_Service () | |
Destructor. | |
virtual void | init_service (CORBA::ORB_ptr orb) |
Init the service. | |
Protected Member Functions | |
virtual void | init_i (CORBA::ORB_ptr orb) |
Init the data members. | |
virtual TAO_Notify_Factory * | create_factory (void) |
Create the Factory for RT Notify objects. | |
virtual TAO_Notify_Builder * | create_builder (void) |
Creates the Builder for RT Notify objects. |
Implemetation of the TAO_Notify_Service interface for RT Notification.
Definition at line 31 of file RT_Notify_Service.h.
TAO_RT_Notify_Service::TAO_RT_Notify_Service | ( | void | ) |
TAO_RT_Notify_Service::~TAO_RT_Notify_Service | ( | ) |
TAO_Notify_Builder * TAO_RT_Notify_Service::create_builder | ( | void | ) | [protected, virtual] |
Creates the Builder for RT Notify objects.
Reimplemented from TAO_CosNotify_Service.
Definition at line 74 of file RT_Notify_Service.cpp.
{ TAO_Notify_Builder* builder = 0; ACE_NEW_THROW_EX (builder, TAO_Notify_RT_Builder (), CORBA::NO_MEMORY ()); return builder; }
TAO_Notify_Factory * TAO_RT_Notify_Service::create_factory | ( | void | ) | [protected, virtual] |
Create the Factory for RT Notify objects.
Reimplemented from TAO_CosNotify_Service.
Definition at line 59 of file RT_Notify_Service.cpp.
{ TAO_Notify_Factory* factory = ACE_Dynamic_Service<TAO_Notify_Factory>::instance ("TAO_Notify_Factory"); if (factory == 0) { ACE_NEW_THROW_EX (factory, TAO_Notify_RT_Factory (), CORBA::NO_MEMORY ()); } return factory; }
void TAO_RT_Notify_Service::init_i | ( | CORBA::ORB_ptr | orb | ) | [protected, virtual] |
Init the data members.
Set the properties
Reimplemented from TAO_CosNotify_Service.
Definition at line 32 of file RT_Notify_Service.cpp.
{ //Init the base class. TAO_CosNotify_Service::init_i (orb); TAO_Notify_RT_Properties* properties = TAO_Notify_RT_PROPERTIES::instance(); // Resolve RTORB CORBA::Object_var object = orb->resolve_initial_references ("RTORB"); RTCORBA::RTORB_var rt_orb = RTCORBA::RTORB::_narrow (object.in ()); // Resolve RTCurrent object = orb->resolve_initial_references ("RTCurrent"); RTCORBA::Current_var current = RTCORBA::Current::_narrow (object.in ()); /// Set the properties properties->rt_orb (rt_orb.in ()); properties->current (current.in ()); }
void TAO_RT_Notify_Service::init_service | ( | CORBA::ORB_ptr | orb | ) | [virtual] |
Init the service.
Reimplemented from TAO_CosNotify_Service.
Definition at line 24 of file RT_Notify_Service.cpp.