#include <Channel.hpp>
Public Types | |
using | DataPtr = boost::shared_array< T > |
using | DataType = T |
using | Optional = boost::optional< Channel< T > > |
using | Ptr = std::shared_ptr< Channel< T > > |
Public Member Functions | |
Channel () | |
Channel (size_t n, size_t width) | |
Channel (size_t n, size_t width, DataPtr ptr) | |
Channel< T > | clone () const |
DataPtr | dataPtr () |
const DataPtr | dataPtr () const |
size_t | numElements () const |
ElementProxy< T > | operator[] (const unsigned &idx) |
const ElementProxy< T > | operator[] (const unsigned &idx) const |
size_t | width () const |
Protected Attributes | |
DataPtr | m_data |
size_t | m_elementWidth |
size_t | m_numElements |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Channel< T > &ch) |
Definition at line 42 of file Channel.hpp.
using lvr2::Channel< T >::DataPtr = boost::shared_array<T> |
Definition at line 48 of file Channel.hpp.
using lvr2::Channel< T >::DataType = T |
Definition at line 47 of file Channel.hpp.
using lvr2::Channel< T >::Optional = boost::optional<Channel<T> > |
Definition at line 45 of file Channel.hpp.
using lvr2::Channel< T >::Ptr = std::shared_ptr<Channel<T> > |
Definition at line 46 of file Channel.hpp.
lvr2::Channel< T >::Channel | ( | ) |
lvr2::Channel< T >::Channel | ( | size_t | n, |
size_t | width | ||
) |
lvr2::Channel< T >::Channel | ( | size_t | n, |
size_t | width, | ||
DataPtr | ptr | ||
) |
Channel<T> lvr2::Channel< T >::clone | ( | ) | const |
DataPtr lvr2::Channel< T >::dataPtr | ( | ) |
const DataPtr lvr2::Channel< T >::dataPtr | ( | ) | const |
size_t lvr2::Channel< T >::numElements | ( | ) | const |
ElementProxy<T> lvr2::Channel< T >::operator[] | ( | const unsigned & | idx | ) |
const ElementProxy<T> lvr2::Channel< T >::operator[] | ( | const unsigned & | idx | ) | const |
size_t lvr2::Channel< T >::width | ( | ) | const |
|
friend |
Definition at line 66 of file Channel.hpp.
|
protected |
Definition at line 75 of file Channel.hpp.
|
protected |
Definition at line 74 of file Channel.hpp.
|
protected |
Definition at line 73 of file Channel.hpp.