Utility class which executes COMMAND in its destructor. More...
#include <EC_Lifetime_Utils_T.h>

Public Member Functions | |
| TAO_EC_Auto_Command (void) | |
| TAO_EC_Auto_Command (const T &command) | |
| ~TAO_EC_Auto_Command (void) | |
| void | set_command (const T &command) |
| void | set_command (TAO_EC_Auto_Command< T > &auto_command) |
| void | execute (void) |
| void | allow_command (void) |
| void | disallow_command (void) |
Private Member Functions | |
| TAO_EC_Auto_Command (const TAO_EC_Auto_Command &) | |
| TAO_EC_Auto_Command & | operator= (const TAO_EC_Auto_Command &) |
Private Attributes | |
| T | command_ |
| int | allow_command_ |
Utility class which executes COMMAND in its destructor.
Template argument requirements:
Has void execute (void); method which can throw ONLY CORBA exceptions. Has default and copy constructors.
| TAO_EC_Auto_Command< T >::TAO_EC_Auto_Command | ( | void | ) | [inline] |
| TAO_EC_Auto_Command< T >::TAO_EC_Auto_Command | ( | const T & | command | ) | [inline] |
| TAO_EC_Auto_Command< T >::~TAO_EC_Auto_Command | ( | void | ) | [inline] |
| TAO_EC_Auto_Command< T >::TAO_EC_Auto_Command | ( | const TAO_EC_Auto_Command< T > & | ) | [private] |
| void TAO_EC_Auto_Command< T >::allow_command | ( | void | ) | [inline] |
| void TAO_EC_Auto_Command< T >::disallow_command | ( | void | ) | [inline] |
| void TAO_EC_Auto_Command< T >::execute | ( | void | ) | [inline] |
| TAO_EC_Auto_Command& TAO_EC_Auto_Command< T >::operator= | ( | const TAO_EC_Auto_Command< T > & | ) | [private] |
| void TAO_EC_Auto_Command< T >::set_command | ( | TAO_EC_Auto_Command< T > & | auto_command | ) | [inline] |
| void TAO_EC_Auto_Command< T >::set_command | ( | const T & | command | ) | [inline] |
int TAO_EC_Auto_Command< T >::allow_command_ [private] |
T TAO_EC_Auto_Command< T >::command_ [private] |
1.6.1