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

namespace  yarp
 The main, catch-all namespace for YARP.
 
namespace  yarp::dev
 For streams capable of holding different kinds of content, check what they actually have.
 

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 21 of file ControlBoardHelper.h.

◆ castToMapper()

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

Definition at line 188 of file ControlBoardHelper.h.

◆ checkAndDestroy()

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

Definition at line 42 of file ControlBoardHelper.h.