Classes | Namespaces | Macros
geometry/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. Functions are made static to ensure they get instantiated. More...

#include <gtsam/base/Matrix.h>
Include dependency graph for geometry/concepts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gtsam::PoseConcept< POSE >
 

Namespaces

 gtsam
 traits
 

Macros

#define GTSAM_CONCEPT_POSE_INST(T)   template class gtsam::PoseConcept<T>;
 
#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

Definition in file geometry/concepts.h.

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

Definition at line 73 of file geometry/concepts.h.

◆ GTSAM_CONCEPT_POSE_TYPE

#define GTSAM_CONCEPT_POSE_TYPE (   T)    using _gtsam_PoseConcept##T = gtsam::PoseConcept<T>;

Definition at line 74 of file geometry/concepts.h.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:46