Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# TAO_LF_CH_Event Class Reference

Use the Leader/Follower loop to wait for one specific event in the invocation path. More...

`#include <LF_CH_Event.h>`

Inheritance diagram for TAO_LF_CH_Event:

[legend]
Collaboration diagram for TAO_LF_CH_Event:

[legend]
List of all members.

## Public Methods
| TAO_LF_CH_Event (void)
| Constructor. More...
virtual | ~TAO_LF_CH_Event (void)
| Destructor. More...
int | successful (void) const
| Return 1 if the condition was satisfied successfully, 0 if it has not. More...
int | error_detected (void) const
| Return 1 if an error was detected while waiting for the event. More...
void | reset_state (int new_state)
| Reset the state, irrespective of the previous states. More...
## Private Methods
virtual void | state_changed_i (int new_state)
| Validate and change the state. More...
virtual int | is_state_final (void)
| Check whether we have reached the final state.. More...
virtual void | set_state (int new_state)
| Set the state irrespective of anything. More...
## Private Attributes
int | prev_state_
| The previous state that the LF_CH_Event was in. More...

## Detailed Description

Use the Leader/Follower loop to wait for one specific event in the invocation path.

Concrete event types and manipulation class which is used for connection handleing purposes.

## Constructor & Destructor Documentation

TAO_LF_CH_Event::TAO_LF_CH_Event | ( | void |  | ) |

| Constructor.

TAO_LF_CH_Event::~TAO_LF_CH_Event | ( | void |  | ) | `[virtual]`

| Destructor.

## Member Function Documentation

int TAO_LF_CH_Event::error_detected | ( | void |  | ) | const`[virtual]`

| Return 1 if an error was detected while waiting for the event. Reimplemented from TAO_LF_Event.

int TAO_LF_CH_Event::is_state_final | ( | void |  | ) | `[private, virtual]`

| Check whether we have reached the final state.. Reimplemented from TAO_LF_Event.

void TAO_LF_CH_Event::reset_state | ( | int | new_state | ) |

| Reset the state, irrespective of the previous states. Reimplemented from TAO_LF_Event.

void TAO_LF_CH_Event::set_state | ( | int | new_state | ) | `[private, virtual]`

| Set the state irrespective of anything. Reimplemented from TAO_LF_Event.

void TAO_LF_CH_Event::state_changed_i | ( | int | new_state | ) | `[private, virtual]`

| Validate and change the state. Reimplemented from TAO_LF_Event.

int TAO_LF_CH_Event::successful | ( | void |  | ) | const`[virtual]`

| Return 1 if the condition was satisfied successfully, 0 if it has not. Reimplemented from TAO_LF_Event.

## Member Data Documentation

int TAO_LF_CH_Event::prev_state_`[private]`

| The previous state that the LF_CH_Event was in.

The documentation for this class was generated from the following files:

- LF_CH_Event.h
- LF_CH_Event.cpp