IT_Bus::BusPlugIn Class Reference

#include <it_bus_pdk/bus_plugin.h>

Inheritance diagram for IT_Bus::BusPlugIn:

IT_Bus::PerBusORBStateBase List of all members.

Detailed Description

Base class for Bus plugins.

Application specific plugins derived from this class.

Definition at line 23 of file bus_plugin.h.

Public Member Functions

IT_EXPLICIT BusPlugIn (Bus_ptr bus) throw ((Exception))
 Constructor.
virtual ~BusPlugIn ()
 Destructor.
Bus_ptr get_bus () const
 Return a pointer to the bus.
virtual void bus_init ()=0 throw ((Exception))
 Method used to initialize the plugin.
virtual void bus_shutdown ()=0 throw ((Exception))
 Method used to clean up plugin resources during bus shutdown.

Private Attributes

Bus_var m_bus


Constructor & Destructor Documentation

IT_EXPLICIT IT_Bus::BusPlugIn::BusPlugIn ( Bus_ptr  bus  )  throw ((Exception))

Constructor.

Call this constructor from the derived class' constructor.

Parameters:
A pointer to the Bus that will manage this plugin.


Member Function Documentation

Bus_ptr IT_Bus::BusPlugIn::get_bus (  )  const

Return a pointer to the bus.

Returns:
A pointer to the bus.

virtual void IT_Bus::BusPlugIn::bus_init (  )  throw ((Exception)) [pure virtual]

Method used to initialize the plugin.

This method is invoked by the bus. Use this method to integrate the plugin's functionality into the Bus runtime. For example, to instantiate an interceptor factory class and register it with the interceptor factory manager, or to instantiate and register a servant.

Implemented in IT_Bus::PerBusORBStateBase.


Generated on Tue Mar 20 15:28:12 2007 for Artix by  doxygen 1.5.1-p1