Dummy.cpp
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
21 #include <iostream>
22 
23 namespace gtsam {
24 
25 static size_t gDummyCount = 0;
26 
27 Dummy::Dummy():id(++gDummyCount) {
28  std::cout << "Dummy constructor " << id << std::endl;
29 }
30 
32  std::cout << "Dummy destructor " << id << std::endl;
33 }
34 
35 void Dummy::print(const std::string& s) const {
36  std::cout << s << "Dummy " << id << std::endl;
37 }
38 
39 unsigned char Dummy::dummyTwoVar(unsigned char a) const {
40  return a;
41 }
42 
43 }
unsigned char dummyTwoVar(unsigned char a) const
Definition: Dummy.cpp:39
Q id(Eigen::AngleAxisd(0, Q_z_axis))
Array33i a
static size_t gDummyCount
Definition: Dummy.cpp:25
Dummy class for testing MATLAB memory allocation.
RealScalar s
traits
Definition: chartTesting.h:28
void print(const std::string &s="") const
Definition: Dummy.cpp:35


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:41:59