Merge pull request #2140 from DrWisdome/formatter-export
Add Multi RobotKeyFormatter as an external variable (Windows)release/4.3a0
						commit
						e2d3cf585d
					
				|  | @ -28,6 +28,7 @@ namespace gtsam { | |||
| 
 | ||||
| /// Assign default key formatter
 | ||||
| KeyFormatter DefaultKeyFormatter = &_defaultKeyFormatter; | ||||
| KeyFormatter MultiRobotKeyFormatter = &_multirobotKeyFormatter; | ||||
| 
 | ||||
| /* ************************************************************************* */ | ||||
| string _defaultKeyFormatter(Key key) { | ||||
|  |  | |||
|  | @ -57,8 +57,7 @@ GTSAM_EXPORT std::string _multirobotKeyFormatter(gtsam::Key key); | |||
| /// formatter in print functions.
 | ||||
| ///
 | ||||
| /// Checks for LabeledSymbol, Symbol and then plain keys, in order.
 | ||||
| static const gtsam::KeyFormatter MultiRobotKeyFormatter = | ||||
|     &_multirobotKeyFormatter; | ||||
| extern GTSAM_EXPORT KeyFormatter MultiRobotKeyFormatter;  | ||||
| 
 | ||||
| /// To use the key_formatter on Keys, they must be wrapped in a StreamedKey.
 | ||||
| struct StreamedKey { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue