#include <it_bus_pdk/bus_plugin.h>
Inheritance diagram for IT_Bus::BusPlugIn:
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.
Call this constructor from the derived class' constructor.
A | pointer to the Bus that will manage this plugin. |
Bus_ptr IT_Bus::BusPlugIn::get_bus | ( | ) | const |
Return 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.