#include <LF_CH_Event.h>
int | successful (void) const |
int | error_detected (void) const |
virtual int | is_state_final (void) |
Check whether we have reached the final state.. | |
Public Member Functions | |
TAO_LF_CH_Event (void) | |
Constructor. | |
virtual | ~TAO_LF_CH_Event (void) |
Destructor. | |
Private Member Functions | |
virtual void | state_changed_i (int new_state) |
Validate and change the state. | |
virtual void | set_state (int new_state) |
Set the state irrespective of anything. | |
Private Attributes | |
int | prev_state_ |
The previous state that the LF_CH_Event was in. | |
Friends | |
class | TAO_LF_Multi_Event |
Concrete event types and manipulation class which is used for connection handling purposes.
TAO_LF_CH_Event::TAO_LF_CH_Event | ( | void | ) |
Constructor.
TAO_LF_CH_Event::~TAO_LF_CH_Event | ( | void | ) | [virtual] |
Destructor.
int TAO_LF_CH_Event::successful | ( | void | ) | const [virtual] |
Return 1 if the condition was satisfied successfully, 0 if it has not
Implements TAO_LF_Event.
int TAO_LF_CH_Event::error_detected | ( | void | ) | const [virtual] |
Return 1 if an error was detected while waiting for the event
Implements TAO_LF_Event.
int TAO_LF_CH_Event::is_state_final | ( | void | ) | [protected, virtual] |
void TAO_LF_CH_Event::state_changed_i | ( | int | new_state | ) | [private, virtual] |
void TAO_LF_CH_Event::set_state | ( | int | new_state | ) | [private, virtual] |
friend class TAO_LF_Multi_Event [friend] |
The TAO_LF_Multi_Event class is another specialization of TAO_LF_Event, used for aggregating many connection handlers into a single event object.. It requires friendship so that it can check the is_state_final() flag on each of its contained connection handlers.
int TAO_LF_CH_Event::prev_state_ [private] |
The previous state that the LF_CH_Event was in.