#include <tao_imr_i.h>
Public Types | |
enum | RETURN_CODES { NORMAL = 0, UNKNOWN, NO_PERMISSION, ALREADY_REGISTERED, CANNOT_ACTIVATE, NOT_FOUND } |
Public Member Functions | |
virtual | ~TAO_IMR_Op (void) |
Destructor. | |
virtual int | parse (int argc, ACE_TCHAR **argv)=0 |
Parse arguments. | |
virtual int | run (void)=0 |
Do the work. | |
void | set_imr (ImplementationRepository::Administration_ptr imr) |
Sets the implrepo locator pointer. | |
Static Public Member Functions | |
static TAO_IMR_Op * | make_op (const ACE_TCHAR *op_name) |
Factory. | |
Protected Member Functions | |
void | display_server_information (const ImplementationRepository::ServerInformation &info) |
Prints out the information contained in a ServerInformation structure. | |
Protected Attributes | |
ImplementationRepository::Administration_ptr | imr_ |
Reference to our implementation repository. |
Provides a base class with virtual methods for each operation strategy.
TAO_IMR_Op::~TAO_IMR_Op | ( | void | ) | [virtual] |
Destructor.
void TAO_IMR_Op::display_server_information | ( | const ImplementationRepository::ServerInformation & | info | ) | [protected] |
Prints out the information contained in a ServerInformation structure.
Reimplemented in TAO_IMR_Op_List.
TAO_IMR_Op * TAO_IMR_Op::make_op | ( | const ACE_TCHAR * | op_name | ) | [static] |
Factory.
virtual int TAO_IMR_Op::parse | ( | int | argc, | |
ACE_TCHAR ** | argv | |||
) | [pure virtual] |
Parse arguments.
Implemented in TAO_IMR_Op_Activate, TAO_IMR_Op_Autostart, TAO_IMR_Op_IOR, TAO_IMR_Op_List, TAO_IMR_Op_Remove, TAO_IMR_Op_Shutdown, TAO_IMR_Op_ShutdownRepo, and TAO_IMR_Op_Register.
virtual int TAO_IMR_Op::run | ( | void | ) | [pure virtual] |
Do the work.
Implemented in TAO_IMR_Op_Activate, TAO_IMR_Op_Autostart, TAO_IMR_Op_IOR, TAO_IMR_Op_List, TAO_IMR_Op_Remove, TAO_IMR_Op_Shutdown, TAO_IMR_Op_ShutdownRepo, and TAO_IMR_Op_Register.
void TAO_IMR_Op::set_imr | ( | ImplementationRepository::Administration_ptr | imr | ) |
Sets the implrepo locator pointer.
ImplementationRepository::Administration_ptr TAO_IMR_Op::imr_ [protected] |
Reference to our implementation repository.