#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) IT_THROW_DECL((Exception)) |
Constructor. | |
virtual | ~BusPlugIn () |
Destructor. | |
Bus_ptr | get_bus () const |
Return a pointer to the bus. | |
virtual void | bus_init () IT_THROW_DECL((Exception))=0 |
Method used to initialize the plugin. | |
virtual void | bus_shutdown () IT_THROW_DECL((Exception))=0 |
Method used to clean up plugin resources during bus shutdown. | |
Private Attributes | |
Bus_var | m_bus |
IT_EXPLICIT IT_Bus::BusPlugIn::BusPlugIn | ( | Bus_ptr | bus | ) |
Constructor.
Call this constructor from the derived class' constructor.
A | pointer to the Bus that will manage this plugin. |
virtual void IT_Bus::BusPlugIn::bus_init | ( | ) | [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.
Bus_ptr IT_Bus::BusPlugIn::get_bus | ( | ) | const |
Return a pointer to the bus.