Revised OpenFlow Library  v0.6.0dev
 All Classes Files Functions Variables Friends Groups Pages
Public Member Functions | Static Public Member Functions | Friends | List of all members
rofl::ctimespec Class Reference

Time specification used by class rofl::ctimer object. More...

#include <ctimespec.h>

Public Member Functions

 ctimespec (long tv_sec)
 
 ctimespec (long tv_sec, long tv_nsec)
 
 ctimespec (const ctimespec &timespec)
 
ctimespecoperator= (const ctimespec &timespec)
 
struct timespec & set_timespec ()
 
const struct timespec & get_timespec () const
 
ctimespec operator+ (const ctimespec &t)
 
ctimespec operator- (const ctimespec &t)
 
ctimespecoperator+= (const ctimespec &t)
 
ctimespecoperator-= (const ctimespec &t)
 
bool operator== (const ctimespec &t) const
 
bool operator!= (const ctimespec &t) const
 
bool operator< (const ctimespec &t) const
 
bool operator<= (const ctimespec &t) const
 
bool operator> (const ctimespec &t) const
 
bool operator>= (const ctimespec &t) const
 
std::string str () const
 

Static Public Member Functions

static ctimespec now ()
 

Friends

std::ostream & operator<< (std::ostream &os, const ctimespec &timespec)
 

Detailed Description

Time specification used by class rofl::ctimer object.


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