#include <iostream>
#include <sstream>
#include <stdexcept>
#include <memory>
#include <stdlib.h>
#include <string.h>
#include <epicsString.h>
#include <epicsGuard.h>
#include <epicsMutex.h>
#include <epicsEvent.h>
#include <epicsThread.h>
#include <epicsTime.h>
#include <pv/pvdVersion.h>
#include <pv/sharedPtr.h>
#include "pv/reftrack.h"
Go to the source code of this file.
|
| epics |
| TODO only here because of the Lockable.
|
|
#define epicsExportSharedSymbols |
char* epicsRefSnapshotCurrent |
( |
| ) |
|
Fetch and print current snapshot
- Returns
- NULL or a char* which must be free()'d
Definition at line 267 of file reftrack.cpp.
270 epics::RefSnapshot snap;
272 std::ostringstream strm;
274 const char *
str = strm.str().c_str();
275 char *ret = (
char*)malloc(strlen(str)+1);
279 }
catch(std::exception& e){
char * epicsStrDup(const char *s)