From 496ad578dd5b9779c677bdef09f7c06dcf252cf6 Mon Sep 17 00:00:00 2001 From: Francisco Rivas Date: Fri, 10 Mar 2017 21:39:36 +0100 Subject: [PATCH] #715 included parallelIce shared ptrs --- src/libs/parallelIce/cameraClient.h | 3 +++ src/libs/parallelIce/laserClient.h | 2 ++ src/libs/parallelIce/motorsClient.h | 3 +++ src/libs/parallelIce/pointcloudClient.h | 4 ++++ 4 files changed, 12 insertions(+) diff --git a/src/libs/parallelIce/cameraClient.h b/src/libs/parallelIce/cameraClient.h index 373135797..441742cbe 100644 --- a/src/libs/parallelIce/cameraClient.h +++ b/src/libs/parallelIce/cameraClient.h @@ -32,6 +32,7 @@ #include #include #include +#include namespace jderobot { @@ -75,5 +76,7 @@ class cameraClient: public IceUtil::Thread { }; + typedef boost::shared_ptr CameraClientPtr; + } /* namespace jderobot */ #endif /* CAMERACLIENT_H_ */ diff --git a/src/libs/parallelIce/laserClient.h b/src/libs/parallelIce/laserClient.h index ef48fd227..a31440f4d 100644 --- a/src/libs/parallelIce/laserClient.h +++ b/src/libs/parallelIce/laserClient.h @@ -30,6 +30,7 @@ #include #include #include +#include namespace jderobot { @@ -62,6 +63,7 @@ class laserClient: public IceUtil::Thread { IceUtil::Cond sem; }; + typedef boost::shared_ptr LaserClientPtr; } /* namespace jderobot */ diff --git a/src/libs/parallelIce/motorsClient.h b/src/libs/parallelIce/motorsClient.h index 3d78d5d6c..ff5559f63 100644 --- a/src/libs/parallelIce/motorsClient.h +++ b/src/libs/parallelIce/motorsClient.h @@ -30,6 +30,7 @@ #include #include #include +#include namespace jderobot { @@ -64,6 +65,8 @@ class motorsClient { }; + typedef boost::shared_ptr MotorsClientPtr; + } /* namespace jderobot */ #endif /* LASERCLIENT_H_ */ diff --git a/src/libs/parallelIce/pointcloudClient.h b/src/libs/parallelIce/pointcloudClient.h index 36bc133d6..a57f582a4 100644 --- a/src/libs/parallelIce/pointcloudClient.h +++ b/src/libs/parallelIce/pointcloudClient.h @@ -31,6 +31,7 @@ #include #include #include +#include namespace jderobot { @@ -67,5 +68,8 @@ class pointcloudClient: public IceUtil::Thread { }; + typedef boost::shared_ptr PointcloudClientPtr; + + } /* namespace jderobot */ #endif /* POINTCLOUDCLIENT_H_ */