It could be, but it is a private pointer which gets created on construction
and deleted on destruction. There is no sharing with anyone else.


On Wed, Apr 30, 2014 at 11:32 PM, Shaun Edwards <notifications@github.com>wrote:

> In industrial_extrinsic_cal/src/calibration_service.cpp:
>
> > +    priv_nh.getParam("camera_file", camera_file);
> > +    priv_nh.getParam("target_file", target_file);
> > +    priv_nh.getParam("cal_job_file", caljob_file);
> > +    priv_nh.getParam("store_results_package_name", ros_package_name);
> > +    priv_nh.getParam("store_results_file_name", launch_file_name);
> > +
> > +    std::string path = ros::package::getPath("industrial_extrinsic_cal");
> > +    std::string file_path=path+"/yaml/";
> > +    ROS_INFO("path: %s",file_path.c_str());
> > +    ROS_INFO("camera_file: %s",camera_file.c_str());
> > +    ROS_INFO("target_file: %s",target_file.c_str());
> > +    ROS_INFO("cal_job_file: %s",caljob_file.c_str());
> > +    ROS_INFO("store results: %s",ros_package_name.c_str());
> > +    ROS_INFO("launch_file_name: %s",launch_file_name.c_str());
> > +
> > +    cal_job_ = new industrial_extrinsic_cal::CalibrationJob(file_path+camera_file, file_path+target_file, file_path+caljob_file);
>
> Can this be a smart pointer?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ros-industrial/industrial_calibration/pull/26/files#r12178538>
> .
>