gtsam 4.1.1
gtsam
concepts.h File Reference

Concept-checking macros for geometric objects Each macro instantiates a concept check structure, which includes a static function that will fail to compile if the concept does not pass. More...

Go to the source code of this file.

Classes

class  gtsam::PoseConcept< POSE >
 Pose Concept A must contain a translation and a rotation, with each structure accessable directly and a type provided for each. More...
 

Namespaces

namespace  gtsam
 Global functions in a separate testing namespace.
 

Macros

#define GTSAM_CONCEPT_POSE_INST(T)   template class gtsam::PoseConcept<T>;
 Macros to use geometry concepts: More...
 
#define GTSAM_CONCEPT_POSE_TYPE(T)   using _gtsam_PoseConcept##T = gtsam::PoseConcept<T>;
 

Detailed Description

Concept-checking macros for geometric objects Each macro instantiates a concept check structure, which includes a static function that will fail to compile if the concept does not pass.

Functions are made static to ensure they get instantiated.

Date
Oct 6, 2011
Author
Alex Cunningham

Macro Definition Documentation

◆ GTSAM_CONCEPT_POSE_INST

#define GTSAM_CONCEPT_POSE_INST (   T)    template class gtsam::PoseConcept<T>;

Macros to use geometry concepts:

  • _INST macro: instantiates a struct: use in unit tests, but not in headers.
  • _TYPE macro: use in generic structures to validate the template arguments.

NOTE: intentionally not in the gtsam namespace to avoid namespace complications when using with objects not inside gtsam namespace. Pose Concept macros