|
TAO_RTEvent
2.0.7
|
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::TAO_EC_Auto_Command | ( | void | ) |
| TAO_EC_Auto_Command::TAO_EC_Auto_Command | ( | const T & | command | ) |
| TAO_EC_Auto_Command::~TAO_EC_Auto_Command | ( | void | ) |
| TAO_EC_Auto_Command::TAO_EC_Auto_Command | ( | const TAO_EC_Auto_Command & | ) | [private] |
| void TAO_EC_Auto_Command::allow_command | ( | void | ) |
| void TAO_EC_Auto_Command::disallow_command | ( | void | ) |
| void TAO_EC_Auto_Command::execute | ( | void | ) |
| TAO_EC_Auto_Command& TAO_EC_Auto_Command::operator= | ( | const TAO_EC_Auto_Command & | ) | [private] |
| void TAO_EC_Auto_Command::set_command | ( | const T & | command | ) |
| void TAO_EC_Auto_Command::set_command | ( | TAO_EC_Auto_Command< T > & | auto_command | ) |
int TAO_EC_Auto_Command::allow_command_ [private] |
T TAO_EC_Auto_Command::command_ [private] |
1.7.5