YARP
Yet Another Robot Platform
ControlBoardHelper.h File Reference
#include <yarp/dev/ControlBoardPid.h>
#include <yarp/dev/PidEnums.h>
#include <yarp/os/Log.h>
#include <cstring>
#include <type_traits>
+ Include dependency graph for ControlBoardHelper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  yarp::dev::ControlBoardHelper
 

Namespaces

 yarp
 The main, catch-all namespace for YARP.
 
 yarp::dev
 An interface for the device drivers.
 

Functions

template<class T , std::enable_if_t< std::is_trivial< T >::value, int > = 0>
T * allocAndCheck (int size)
 
template<class T >
void checkAndDestroy (T *&p)
 
yarp::dev::ControlBoardHelpercastToMapper (void *p)
 

Function Documentation

◆ allocAndCheck()

template<class T , std::enable_if_t< std::is_trivial< T >::value, int > = 0>
T * allocAndCheck ( int  size)

Definition at line 24 of file ControlBoardHelper.h.

◆ castToMapper()

yarp::dev::ControlBoardHelper* castToMapper ( void *  p)
inline

Definition at line 180 of file ControlBoardHelper.h.

◆ checkAndDestroy()

template<class T >
void checkAndDestroy ( T *&  p)

Definition at line 45 of file ControlBoardHelper.h.