still working on RAII
This commit is contained in:
+5
-8
@@ -236,10 +236,6 @@ class epicsShareClass PvaClientChannel :
|
||||
public:
|
||||
POINTER_DEFINITIONS(PvaClientChannel);
|
||||
~PvaClientChannel();
|
||||
/** Destroy the connection to the server.
|
||||
*
|
||||
*/
|
||||
void destroy();
|
||||
/** ChannelRequester method
|
||||
* @param status The status
|
||||
* @param channel The channel
|
||||
@@ -459,6 +455,10 @@ public:
|
||||
{
|
||||
return shared_from_this();
|
||||
}
|
||||
/** Deprecated method
|
||||
* \deprecated This method will go away in future versions.
|
||||
*/
|
||||
void destroy() EPICS_DEPRECATED {}
|
||||
private:
|
||||
|
||||
static PvaClientChannelPtr create(
|
||||
@@ -1035,10 +1035,7 @@ public:
|
||||
/** Deprecated method
|
||||
* \deprecated This method will go away in future versions.
|
||||
*/
|
||||
void destroy() EPICS_DEPRECATED
|
||||
{
|
||||
channelGet->destroy();
|
||||
}
|
||||
void destroy() EPICS_DEPRECATED {}
|
||||
private:
|
||||
PvaClientGet(
|
||||
PvaClientPtr const &pvaClient,
|
||||
|
||||
Reference in New Issue
Block a user