WPILibC++ 2025.3.2
Loading...
Searching...
No Matches
wpi::memory::joint_type< T > Class Template Reference

CRTP base class for all objects that want to use joint memory. More...

#include <wpi/memory/joint_allocator.hpp>

Protected Member Functions

 joint_type (joint j) noexcept
 
 joint_type (const joint_type &)=delete
 
 joint_type (joint_type &&)=delete
 

Friends

template<typename U >
detail::joint_stackdetail::get_stack (joint_type< U > &obj) noexcept
 
template<typename U >
const detail::joint_stackdetail::get_stack (const joint_type< U > &obj) noexcept
 

Detailed Description

template<typename T>
class wpi::memory::joint_type< T >

CRTP base class for all objects that want to use joint memory.

This will disable default copy/move operations and inserts additional members for the joint memory management.

Constructor & Destructor Documentation

◆ joint_type() [1/3]

template<typename T >
wpi::memory::joint_type< T >::joint_type ( joint j)
protectednoexcept
Effects:
Creates the base class, the tag type cannot be created by the user.
Note
This ensures that you cannot create joint types yourself.

◆ joint_type() [2/3]

template<typename T >
wpi::memory::joint_type< T >::joint_type ( const joint_type< T > & )
protecteddelete

◆ joint_type() [3/3]

template<typename T >
wpi::memory::joint_type< T >::joint_type ( joint_type< T > && )
protecteddelete

Friends And Related Symbol Documentation

◆ detail::get_stack [1/2]

template<typename T >
template<typename U >
const detail::joint_stack & detail::get_stack ( const joint_type< U > & obj)
friend

◆ detail::get_stack [2/2]

template<typename T >
template<typename U >
detail::joint_stack & detail::get_stack ( joint_type< U > & obj)
friend

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