use weak pointer for callbacks
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include <iostream>
|
||||
|
||||
using namespace epics::pvData;
|
||||
using namespace std;
|
||||
|
||||
|
||||
static StructureConstPtr makeDeviceStructure()
|
||||
@@ -81,6 +82,14 @@ int main (int argc, char *argv[])
|
||||
usage();
|
||||
return 1;
|
||||
}
|
||||
|
||||
if(argc<2)
|
||||
{
|
||||
std::cerr << APP_NAME << " requires at least 2 arguments."
|
||||
<< std::endl;
|
||||
usage();
|
||||
return 1;
|
||||
}
|
||||
// Start the pvAccess client side.
|
||||
epics::pvAccess::ClientFactory::start();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user