Commit Graph

13 Commits

Author SHA1 Message Date
Michael Davidsaver 6a46e44da9 fix SharedPV onLastDisconnect when not open() 2020-08-10 12:09:55 -07:00
Michael Davidsaver 63912a017a add operator<< for Server 2020-07-26 20:46:12 -07:00
Michael Davidsaver e8649ecdd2 add StaticSource::close() 2020-07-26 20:46:12 -07:00
Michael Davidsaver ce80e8897b Pass SharedPV& to onFirstConnect()/onLastDisconnect()
For consistency among the on*() callbacks.
2020-07-26 20:46:12 -07:00
Michael Davidsaver 80ee77c2ea Add StaticSource::list() 2020-07-26 20:46:12 -07:00
Michael Davidsaver e31e6cda36 Add copy variant of SharedPV::fetch() 2020-07-26 20:46:12 -07:00
Michael Davidsaver 24f3478c98 post() with const ref.
Added "safety" of passing move-able reference
is an illusion since no use_count()==1 test
is done.  Instead extra (shallow) copies
were made for each subscriber.

Instead.  Pass const reference, redefine
MonitorControlOp::post() to transfer ownership,
and make only a single copy in SharedPV::post().
2020-07-26 20:46:12 -07:00
Michael Davidsaver 027e590fba improve type change error messages 2020-05-22 09:17:22 -07:00
Michael Davidsaver edadc31f96 add instanceSnapshot() 2020-03-24 18:38:10 -07:00
Michael Davidsaver 99ce43c0eb prefer log_*_printf() 2020-02-19 07:10:52 -08:00
Michael Davidsaver 9cf21933ea minor 2020-02-07 09:14:55 -08:00
Michael Davidsaver 7c8e72f5aa minor 2020-02-07 08:49:42 -08:00
Michael Davidsaver cd2d926581 add SharedPV 2020-02-04 13:43:45 -08:00