Skip to content

Class muda::ViewerBase

template <bool IsConst_>

ClassList > muda > ViewerBase

Public Static Attributes

Type Name
constexpr bool IsConst = = IsConst_
constexpr bool IsNonConst = = !IsConst_

Public Functions

Type Name
MUDA_GENERIC ViewerBase ()
ViewerBase (const ViewerBase &) = default
ViewerBase (ViewerBase &&) = default
MUDA_INLINE MUDA_GENERIC void copy_label (const ViewerBase & other)
MUDA_GENERIC const char * kernel_file () const
MUDA_GENERIC int kernel_line () const
MUDA_GENERIC const char * kernel_name () const
MUDA_GENERIC const char * name () const
ViewerBase & operator= (const ViewerBase &) = default
ViewerBase & operator= (ViewerBase &&) = default

Protected Types

Type Name
typedef std::conditional_t< IsConst, const T, T > auto_const_t
typedef std::enable_if_t< IsNonConst, T > non_const_enable_t

Protected Functions

Type Name
MUDA_INLINE MUDA_HOST void name (const char * n)
MUDA_INLINE MUDA_GENERIC void name (details::StringPointer pointer)

Public Static Attributes Documentation

variable IsConst

constexpr bool muda::ViewerBase< IsConst_ >::IsConst;

variable IsNonConst

constexpr bool muda::ViewerBase< IsConst_ >::IsNonConst;

Public Functions Documentation

function ViewerBase [1/3]

inline MUDA_GENERIC muda::ViewerBase::ViewerBase () 

function ViewerBase [2/3]

muda::ViewerBase::ViewerBase (
    const ViewerBase &
) = default

function ViewerBase [3/3]

muda::ViewerBase::ViewerBase (
    ViewerBase &&
) = default

function copy_label

inline MUDA_INLINE MUDA_GENERIC void muda::ViewerBase::copy_label (
    const ViewerBase & other
) 

function kernel_file

inline MUDA_GENERIC const char * muda::ViewerBase::kernel_file () const

function kernel_line

inline MUDA_GENERIC int muda::ViewerBase::kernel_line () const

function kernel_name

inline MUDA_GENERIC const char * muda::ViewerBase::kernel_name () const

function name [1/3]

inline MUDA_GENERIC const char * muda::ViewerBase::name () const

function operator=

ViewerBase & muda::ViewerBase::operator= (
    const ViewerBase &
) = default

function operator=

ViewerBase & muda::ViewerBase::operator= (
    ViewerBase &&
) = default

Protected Types Documentation

typedef auto_const_t

using muda::ViewerBase< IsConst_ >::auto_const_t =  std::conditional_t<IsConst, const T, T>;

typedef non_const_enable_t

using muda::ViewerBase< IsConst_ >::non_const_enable_t =  std::enable_if_t<IsNonConst, T>;

Protected Functions Documentation

function name [2/3]

inline MUDA_INLINE MUDA_HOST void muda::ViewerBase::name (
    const char * n
) 

function name [3/3]

inline MUDA_INLINE MUDA_GENERIC void muda::ViewerBase::name (
    details::StringPointer pointer
) 


The documentation for this class was generated from the following file src/muda/viewer/viewer_base.h