TAO_Implementation_Repository  2.3.3
Public Member Functions | Private Attributes | List of all members
LC_TimeoutGuard Class Reference

#include <LiveCheck.h>

Collaboration diagram for LC_TimeoutGuard:
Collaboration graph
[legend]

Public Member Functions

 LC_TimeoutGuard (LiveCheck *owner, int token)
 
 ~LC_TimeoutGuard (void)
 
bool blocked (void)
 Returns true if the busy flag in the owner was already set. More...
 

Private Attributes

LiveCheckowner_
 
int token_
 
bool blocked_
 

Constructor & Destructor Documentation

LC_TimeoutGuard::LC_TimeoutGuard ( LiveCheck owner,
int  token 
)

construct a new stack-based guard. This sets a flag in the owner that will be cleared on destruction.

LC_TimeoutGuard::~LC_TimeoutGuard ( void  )

releases the flag. If the LiveCheck received any requests for an immediate or defered ping during this time, schedule it now.

Member Function Documentation

bool LC_TimeoutGuard::blocked ( void  )

Returns true if the busy flag in the owner was already set.

Member Data Documentation

bool LC_TimeoutGuard::blocked_
private
LiveCheck* LC_TimeoutGuard::owner_
private
int LC_TimeoutGuard::token_
private

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