senf::mmapFile Class Reference

#include <senf/Ext/NetEmu/WLAN/WifiStatistics.hh>

Public Member Functions

 mmapFile (std::string const &fname)
 
 ~mmapFile ()
 
void * open (std::string const &fname)
 
void * begin () const
 
void * end () const
 
off_t size () const
 
bool eof () const
 
template<class T >
T const & next ()
 
std::uint8_t * next (size_t const &len)
 
template<class T >
T const & at (off_t const &pos)
 

Detailed Description

Definition at line 33 of file WifiStatistics.hh.

Constructor & Destructor Documentation

◆ mmapFile()

senf::mmapFile::mmapFile ( std::string const &  fname)

Definition at line 35 of file WifiStatistics.cc.

◆ ~mmapFile()

senf::mmapFile::~mmapFile ( )

Definition at line 45 of file WifiStatistics.cc.

Member Function Documentation

◆ at()

template<class T >
T const& senf::mmapFile::at ( off_t const &  pos)
inline

Definition at line 64 of file WifiStatistics.hh.

◆ begin()

void * senf::mmapFile::begin ( ) const

Definition at line 84 of file WifiStatistics.cc.

◆ end()

void * senf::mmapFile::end ( ) const

Definition at line 90 of file WifiStatistics.cc.

◆ eof()

bool senf::mmapFile::eof ( ) const

Definition at line 96 of file WifiStatistics.cc.

◆ next() [1/2]

template<class T >
T const& senf::mmapFile::next ( )
inline

Definition at line 47 of file WifiStatistics.hh.

◆ next() [2/2]

std::uint8_t* senf::mmapFile::next ( size_t const &  len)
inline

Definition at line 55 of file WifiStatistics.hh.

◆ open()

void * senf::mmapFile::open ( std::string const &  fname)

Definition at line 53 of file WifiStatistics.cc.

◆ size()

off_t senf::mmapFile::size ( ) const

Definition at line 103 of file WifiStatistics.cc.


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