Savarese Software Research Corporation
service::EventInfo Class Reference

#include <EventLoop.h>

List of all members.

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.
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 84 of file EventLoop.h.


Constructor & Destructor Documentation

service::EventInfo::EventInfo ( EventLoop loop,
const int  io_events = EventLoop::None,
const bool  timeout = false 
) [inline, explicit]

Definition at line 95 of file EventLoop.h.


Member Function Documentation

bool service::EventInfo::error_event ( ) const [inline]

Definition at line 132 of file EventLoop.h.

Referenced by service::EventLoop::start().

EventLoop& service::EventInfo::event_loop ( ) const [inline]

Definition at line 111 of file EventLoop.h.

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

bool service::EventInfo::hangup_event ( ) const [inline]

Definition at line 136 of file EventLoop.h.

Referenced by service::EventLoop::start().

int service::EventInfo::io_events ( ) const [inline]

Definition at line 102 of file EventLoop.h.

const TimeValue& service::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 124 of file EventLoop.h.

bool service::EventInfo::read_event ( ) const [inline]

Definition at line 140 of file EventLoop.h.

Referenced by service::EventLoop::start().

bool service::EventInfo::timeout_event ( ) const [inline]

Definition at line 128 of file EventLoop.h.

Referenced by service::EventLoop::start().

bool service::EventInfo::write_event ( ) const [inline]

Definition at line 144 of file EventLoop.h.

Referenced by service::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-2010 Savarese Software Research Corporation. All rights reserved.