client.h std::ostream printing

This commit is contained in:
Michael Davidsaver
2018-04-10 15:44:18 -07:00
parent 0d40464541
commit 61d43e498d
5 changed files with 90 additions and 0 deletions

View File

@@ -177,6 +177,13 @@ struct GetPutter : public pva::ChannelPutRequester,
callEvent(G, status.isSuccess()? pvac::GetEvent::Success : pvac::GetEvent::Fail);
}
virtual void show(std::ostream &strm) const
{
strm << "Operation(Get/Put"
"\"" << name() <<"\""
")";
}
};
size_t GetPutter::num_instances;