xdrpp
RFC4506 XDR compiler and message library
Public Member Functions | Static Public Attributes | Friends | List of all members
xdr::pollset::Timeout Class Reference

Abstract class used to represent a pending timeout. More...

#include <pollset.h>

Collaboration diagram for xdr::pollset::Timeout:
Collaboration graph
[legend]

Public Member Functions

 Timeout ()
 After static initialization, Timeouts are null by default. More...
 
 operator bool () const
 

Static Public Attributes

static const Timeout null_
 A null timeout. Relies on static initalization.
 

Friends

class pollset
 

Detailed Description

Abstract class used to represent a pending timeout.

Definition at line 125 of file pollset.h.

Constructor & Destructor Documentation

◆ Timeout()

xdr::pollset::Timeout::Timeout ( )
inline

After static initialization, Timeouts are null by default.

However, since null_ relies on static initialization, static/global Timeouts are not guaranteed to be null and should be explicitly initialized from pollset::timeout_null().

Definition at line 139 of file pollset.h.


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