Dependency checking requires class definitions for all gtsam classes used in arguments of wrapped objects

release/4.3a0
Andrew Melim 2012-05-21 22:32:40 +00:00
parent d00febb7a9
commit 6be07e33bf
1 changed files with 14 additions and 3 deletions

17
gtsam.h
View File

@ -407,10 +407,21 @@ class Ordering {
void push_back(size_t key);
};
//Andrew says: Required definitions for Marginal arguments
class NonlinearFactorGraph {
NonlinearFactorGraph();
//This need to be populated with whatever functions might be needed.
};
class Values {
Values();
//Same here
};
// Frank says: this does not work. Why not?
//class Marginals {
// Marginals(const gtsam::NonlinearFactorGraph& graph, const gtsam::Values& solution);
//};
class Marginals {
Marginals(const gtsam::NonlinearFactorGraph& graph, const gtsam::Values& solution);
};
}///\namespace gtsam