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

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