Savarese Software Research Corporation
EventInfo Class Reference

#include <EventLoop.h>

Public Member Functions

  EventInfo (EventLoop &loop, const int io_events=EventLoop::None, const bool timeout=false)
 
int  io_events () const
 
EventLoop event_loop () const
 
const TimeValue now () const
  This value does not necessarily have any relation to system time. More...
 
bool  timeout_event () const
 
bool  error_event () const
 
bool  hangup_event () const
 
bool  read_event () const
 
bool  write_event () const
 

Friends

void  EventLoop::start ()
 

Detailed Description

Definition at line 90 of file EventLoop.h.

Constructor & Destructor Documentation

EventInfo::EventInfo ( EventLoop loop,
const int  io_events = EventLoop::None,
const bool  timeout = false 
)
inlineexplicit

Definition at line 101 of file EventLoop.h.

Member Function Documentation

bool EventInfo::error_event ( ) const
inline

Definition at line 138 of file EventLoop.h.

References EventLoop::Error.

Referenced by EventLoop::start().

EventLoop& EventInfo::event_loop ( ) const
inline

Definition at line 117 of file EventLoop.h.

Referenced by ServiceEventHandler< PP >::handle_read().

bool EventInfo::hangup_event ( ) const
inline

Definition at line 142 of file EventLoop.h.

References EventLoop::Hangup.

Referenced by EventLoop::start().

int EventInfo::io_events ( ) const
inline

Definition at line 108 of file EventLoop.h.

const TimeValue& EventInfo::now ( ) const
inline

This value does not necessarily have any relation to system time.

It is only valid to compare it against time stamps of other events.

Definition at line 130 of file EventLoop.h.

bool EventInfo::read_event ( ) const
inline

Definition at line 146 of file EventLoop.h.

References EventLoop::Read.

Referenced by EventLoop::start().

bool EventInfo::timeout_event ( ) const
inline

Definition at line 134 of file EventLoop.h.

Referenced by EventLoop::start().

bool EventInfo::write_event ( ) const
inline

Definition at line 150 of file EventLoop.h.

References EventLoop::Write.

Referenced by EventLoop::start().

Friends And Related Function Documentation

void EventLoop::start ( )
friend

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

Savarese Software Research Corporation
Copyright © 2006-2012 Savarese Software Research Corporation. All rights reserved.