EMANE  1.2.1
EMANE::Wheel< T > Class Template Reference

#include <wheel.h>

Classes

class  IndexError
 

Public Member Functions

 Wheel (std::size_t size)
 
const std::vector< T > & dump () const
 
void clear (std::size_t begin, std::size_t slots)
 
void set (std::size_t begin, std::size_t slots, T value)
 
void add (std::size_t begin, std::size_t slots, T value)
 
std::vector< T > get (std::size_t begin, std::size_t slots)
 

Detailed Description

template<typename T>
class EMANE::Wheel< T >

Definition at line 41 of file wheel.h.

Constructor & Destructor Documentation

◆ Wheel()

template<typename T >
EMANE::Wheel< T >::Wheel ( std::size_t  size)

Definition at line 34 of file wheel.inl.

Member Function Documentation

◆ add()

template<typename T>
void EMANE::Wheel< T >::add ( std::size_t  begin,
std::size_t  slots,
value 
)

Definition at line 45 of file wheel.inl.

◆ clear()

template<typename T >
void EMANE::Wheel< T >::clear ( std::size_t  begin,
std::size_t  slots 
)

Definition at line 138 of file wheel.inl.

◆ dump()

template<typename T >
const std::vector< T > & EMANE::Wheel< T >::dump ( ) const

Definition at line 39 of file wheel.inl.

◆ get()

template<typename T >
std::vector< T > EMANE::Wheel< T >::get ( std::size_t  begin,
std::size_t  slots 
)

Definition at line 111 of file wheel.inl.

◆ set()

template<typename T>
void EMANE::Wheel< T >::set ( std::size_t  begin,
std::size_t  slots,
value 
)

Definition at line 77 of file wheel.inl.


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