cheshirekow  v0.1.0
mpblocks::dubins::Result< Format_t > Struct Template Reference

Encapsulates the solution distance along with a feasibility bit for a particular primitive solution. More...

#include <mpblocks/dubins/curves/result.h>

Public Member Functions

__device__ __host__ operator bool () const
 
__device__ __host__ operator Format_t () const
 because I'm lazy More...
 
__device__ __host__ Result
< Format_t > & 
operator= (Format_t d_in)
 
__device__ __host__ Result
< Format_t > & 
operator= (const Result< Format_t > &other)
 
__device__ __host__ Result ()
 the default constructor is for infeasible More...
 
__device__ __host__ Result (Format_t d, bool f=true)
 we only use this constructor when it's feasible More...
 

Public Attributes

Format_t d
 distance More...
 
bool f
 is feasible More...
 

Detailed Description

template<typename Format_t>
struct mpblocks::dubins::Result< Format_t >

Encapsulates the solution distance along with a feasibility bit for a particular primitive solution.

Definition at line 44 of file result.h.

Constructor & Destructor Documentation

template<typename Format_t>
__device__ __host__ mpblocks::dubins::Result< Format_t >::Result ( )
inline

the default constructor is for infeasible

Definition at line 50 of file result.h.

template<typename Format_t>
__device__ __host__ mpblocks::dubins::Result< Format_t >::Result ( Format_t  d,
bool  f = true 
)
inline

we only use this constructor when it's feasible

Definition at line 54 of file result.h.

Member Function Documentation

template<typename Format_t>
__device__ __host__ mpblocks::dubins::Result< Format_t >::operator bool ( ) const
inline

Definition at line 61 of file result.h.

template<typename Format_t>
__device__ __host__ mpblocks::dubins::Result< Format_t >::operator Format_t ( ) const
inline

because I'm lazy

Definition at line 58 of file result.h.

template<typename Format_t>
__device__ __host__ Result<Format_t>& mpblocks::dubins::Result< Format_t >::operator= ( Format_t  d_in)
inline

Definition at line 64 of file result.h.

template<typename Format_t>
__device__ __host__ Result<Format_t>& mpblocks::dubins::Result< Format_t >::operator= ( const Result< Format_t > &  other)
inline

Definition at line 71 of file result.h.

Member Data Documentation

template<typename Format_t>
Format_t mpblocks::dubins::Result< Format_t >::d

distance

Definition at line 45 of file result.h.

template<typename Format_t>
bool mpblocks::dubins::Result< Format_t >::f

is feasible

Definition at line 46 of file result.h.


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