YARP  2.3.70.1
Yet Another Robot Platform
yarp::gsl::GslVector Class Reference

Classes for compatibility with the GSL library. More...

#include <yarp/gsl/Gsl.h>

Public Member Functions

 GslVector (const yarp::sig::Vector &)
 
 ~GslVector ()
 
void * getGslVector ()
 
const void * getGslVector () const
 

Private Attributes

void * gslData
 

Detailed Description

Classes for compatibility with the GSL library.

Legacy code like: Vector v; gsl_function(v.getGslVector());

Should be replaced with: Vector v; gsl_function(GslVector(v).getGslVetor());

Definition at line 72 of file Gsl.h.

Constructor & Destructor Documentation

◆ GslVector()

GslVector::GslVector ( const yarp::sig::Vector v)

Definition at line 67 of file Gsl.cpp.

◆ ~GslVector()

GslVector::~GslVector ( )

Definition at line 89 of file Gsl.cpp.

Member Function Documentation

◆ getGslVector() [1/2]

void * GslVector::getGslVector ( )

Definition at line 102 of file Gsl.cpp.

◆ getGslVector() [2/2]

const void * GslVector::getGslVector ( ) const

Definition at line 108 of file Gsl.cpp.

Member Data Documentation

◆ gslData

void* yarp::gsl::GslVector::gslData
private

Definition at line 81 of file Gsl.h.


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