This is Unofficial EPICS BASE Doxygen Site
registerChannelProviderLocal.cpp File Reference
#include <iocsh.h>
#include <pv/pvAccess.h>
#include <pv/serverContext.h>
#include <pv/syncChannelFind.h>
#include <pv/pvTimeStamp.h>
#include <pv/rpcService.h>
#include <pv/timeStamp.h>
#include <epicsExport.h>
#include "pv/pvDatabase.h"
#include "pv/channelProviderLocal.h"
+ Include dependency graph for registerChannelProviderLocal.cpp:

Go to the source code of this file.

Macros

#define epicsExportSharedSymbols
 

Functions

void pvdbl (const iocshArgBuf *args)
 
 epicsExportRegistrar (registerChannelProviderLocal)
 

Macro Definition Documentation

#define epicsExportSharedSymbols

Copyright - See the COPYRIGHT that is included with this distribution. EPICS pvData is distributed subject to a Software License Agreement found in file LICENSE that is included with this distribution.

Author
mrk
Date
2014.07.03

Definition at line 24 of file registerChannelProviderLocal.cpp.

Function Documentation

epicsExportRegistrar ( registerChannelProviderLocal  )
void pvdbl ( const iocshArgBuf args)

Definition at line 37 of file registerChannelProviderLocal.cpp.

38 {
39  PVDatabasePtr master = PVDatabase::getMaster();
40  PVStringArrayPtr pvNames = master->getRecordNames();
41  PVStringArray::const_svector xxx = pvNames->view();
42  for(size_t i=0; i<xxx.size(); ++i) cout<< xxx[i] << endl;
43 }
int i
Definition: scan.c:967
std::tr1::shared_ptr< PVStringArray > PVStringArrayPtr
Definition: pvData.h:1464
std::tr1::shared_ptr< PVDatabase > PVDatabasePtr
Definition: pvDatabase.h:43
size_t size() const
Number of elements visible through this vector.
Definition: sharedVector.h:220