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

Encapsulates a solution distance along with the id of the path type, identifying the nature of the three arc segments in the path. More...

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

Public Member Functions

__device__ __host__ DistanceAndId ()
 
__device__ __host__ DistanceAndId (Format_t d, SolutionId id)
 
__device__ __host__ operator bool () const
 can act like a bool More...
 
__device__ __host__ Result
< Format_t > & 
operator= (const Result< Format_t > &other)
 
__device__ __host__ void set (Format_t d_in, int id_in)
 set the storage and make the flag true More...
 

Public Attributes

Format_t d
 distance More...
 
int id
 id More...
 

Detailed Description

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

Encapsulates a solution distance along with the id of the path type, identifying the nature of the three arc segments in the path.

Definition at line 82 of file result.h.

Constructor & Destructor Documentation

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

Definition at line 87 of file result.h.

template<typename Format_t>
__device__ __host__ mpblocks::dubins::DistanceAndId< Format_t >::DistanceAndId ( Format_t  d,
SolutionId  id 
)
inline

Definition at line 90 of file result.h.

Member Function Documentation

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

can act like a bool

Definition at line 94 of file result.h.

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

Definition at line 104 of file result.h.

template<typename Format_t>
__device__ __host__ void mpblocks::dubins::DistanceAndId< Format_t >::set ( Format_t  d_in,
int  id_in 
)
inline

set the storage and make the flag true

Definition at line 98 of file result.h.

Member Data Documentation

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

distance

Definition at line 83 of file result.h.

template<typename Format_t>
int mpblocks::dubins::DistanceAndId< Format_t >::id

id

Definition at line 84 of file result.h.


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