TAO_Implementation_Repository 4.0.3
Loading...
Searching...
No Matches
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, LC_token_type token)
 
 ~LC_TimeoutGuard ()
 
bool blocked () const
 Returns true if the in handle timeout in the owner was already set.
 

Private Attributes

LiveCheckowner_
 
LC_token_type token_
 
bool blocked_
 

Constructor & Destructor Documentation

◆ LC_TimeoutGuard()

LC_TimeoutGuard::LC_TimeoutGuard ( LiveCheck * owner,
LC_token_type token )

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

◆ ~LC_TimeoutGuard()

LC_TimeoutGuard::~LC_TimeoutGuard ( )

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

Member Function Documentation

◆ blocked()

bool LC_TimeoutGuard::blocked ( ) const

Returns true if the in handle timeout in the owner was already set.

Member Data Documentation

◆ blocked_

bool LC_TimeoutGuard::blocked_
private

◆ owner_

LiveCheck* LC_TimeoutGuard::owner_
private

◆ token_

LC_token_type LC_TimeoutGuard::token_
private

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