I would like to declare IMM class a friend of YLC2Plot class. Any ideas??
Thanks in advance.
i am using sun c++ 5.9 ( CC )
/*************** *************** ***************/
#ifndef _ESTIMATOR_H
#define _ESTIMATOR_H
template<typena me RadarType, typename FilterType>
class IMM: public RadarType, public FilterType {
public:
//....
protected:
//...
private:
//..
};
#endif
/*************** *************** ************/
#ifndef _YLC2PLOT_H
#define _YLC2PLOT_H
#include "Estimator. h"
class YLC2Plot : public BasePlot {
public:
friend class IMM;
protected:
//....
private:
//.....
};
#endif /* _YLC2PLOT_H */
Thanks in advance.
i am using sun c++ 5.9 ( CC )
/*************** *************** ***************/
#ifndef _ESTIMATOR_H
#define _ESTIMATOR_H
template<typena me RadarType, typename FilterType>
class IMM: public RadarType, public FilterType {
public:
//....
protected:
//...
private:
//..
};
#endif
/*************** *************** ************/
#ifndef _YLC2PLOT_H
#define _YLC2PLOT_H
#include "Estimator. h"
class YLC2Plot : public BasePlot {
public:
friend class IMM;
protected:
//....
private:
//.....
};
#endif /* _YLC2PLOT_H */
Comment