libbgp  0.6
A C++ BGP Library.
Public Member Functions | List of all members
libbgp::RealtimeClock Class Reference

The RealtimeClock class. More...

#include <realtime-clock.h>

Inheritance diagram for libbgp::RealtimeClock:
Inheritance graph
[legend]
Collaboration diagram for libbgp::RealtimeClock:
Collaboration graph
[legend]

Public Member Functions

uint64_t getTime () const
 Get the current time. More...
 

Detailed Description

The RealtimeClock class.

A Clock implementation to use system time as time.

Definition at line 22 of file realtime-clock.h.

Member Function Documentation

◆ getTime()

uint64_t libbgp::RealtimeClock::getTime ( ) const
virtual

Get the current time.

Returns
uint64_t current time in second.

Implements libbgp::Clock.

Definition at line 16 of file realtime-clock.cc.


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