NJointKinematicUnitPassThroughController::ptr_wrapper< ConstPtr > Struct Template Reference

#include <RobotAPI/components/units/RobotUnit/NJointControllers/NJointKinematicUnitPassThroughController.h>

Public Types

template<class T >
using maybe_const_ptr = std::conditional_t< ConstPtr, const T *, T * >
 

Public Member Functions

float getValue () const
 
template<bool constPtr = ConstPtr, std::enable_if_t<!constPtr, int > = 0>
void setValue (float val)
 

Public Attributes

maybe_const_ptr< float_float {nullptr}
 
maybe_const_ptr< std::int16_t > _int16 {nullptr}
 

Detailed Description

template<bool ConstPtr>
struct armarx::NJointKinematicUnitPassThroughController::ptr_wrapper< ConstPtr >

Definition at line 100 of file NJointKinematicUnitPassThroughController.h.

Member Typedef Documentation

◆ maybe_const_ptr

using maybe_const_ptr = std::conditional_t<ConstPtr, const T*, T*>

Definition at line 126 of file NJointKinematicUnitPassThroughController.h.

Member Function Documentation

◆ getValue()

float getValue ( ) const
inline

Definition at line 103 of file NJointKinematicUnitPassThroughController.h.

+ Here is the caller graph for this function:

◆ setValue()

void setValue ( float  val)
inline

Definition at line 114 of file NJointKinematicUnitPassThroughController.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _float

maybe_const_ptr<float> _float {nullptr}

Definition at line 127 of file NJointKinematicUnitPassThroughController.h.

◆ _int16

maybe_const_ptr<std::int16_t> _int16 {nullptr}

Definition at line 128 of file NJointKinematicUnitPassThroughController.h.


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