![]() |
This is Unofficial EPICS BASE Doxygen Site
|
ChannelProvider for PVDatabase. More...
#include "channelProviderLocal.h"
Public Member Functions | |
POINTER_DEFINITIONS (ChannelProviderLocal) | |
ChannelProviderLocal () | |
Constructor. More... | |
virtual | ~ChannelProviderLocal () |
Destructor. More... | |
virtual void | destroy () |
DEPRECATED. More... | |
virtual std::string | getProviderName () |
Returns the channel provider name. More... | |
virtual epics::pvAccess::ChannelFind::shared_pointer | channelFind (std::string const &channelName, epics::pvAccess::ChannelFindRequester::shared_pointer const &channelFindRequester) |
Returns either a null channelFind or a channelFind for records in the PVDatabase. More... | |
virtual epics::pvAccess::ChannelFind::shared_pointer | channelList (epics::pvAccess::ChannelListRequester::shared_pointer const &channelListRequester) |
Calls method channelListRequester::channelListResult. More... | |
virtual epics::pvAccess::Channel::shared_pointer | createChannel (std::string const &channelName, epics::pvAccess::ChannelRequester::shared_pointer const &channelRequester, short priority) |
Create a channel for a record. More... | |
virtual epics::pvAccess::Channel::shared_pointer | createChannel (std::string const &channelName, epics::pvAccess::ChannelRequester::shared_pointer const &channelRequester, short priority, std::string const &address) |
Create a channel for a record. More... | |
int | getTraceLevel () |
get trace level (0,1,2) means (nothing,lifetime,process) More... | |
void | setTraceLevel (int level) |
set trace level (0,1,2) means (nothing,lifetime,process) More... | |
virtual std::tr1::shared_ptr< ChannelProvider > | getChannelProvider () |
ChannelFind method. More... | |
virtual void | cancel () |
ChannelFind method. More... | |
![]() | |
POINTER_DEFINITIONS (ChannelProvider) | |
ChannelProvider () | |
virtual | ~ChannelProvider () |
virtual ChannelFind::shared_pointer | channelFind (std::string const &name, ChannelFindRequester::shared_pointer const &requester)=0 |
virtual ChannelFind::shared_pointer | channelList (ChannelListRequester::shared_pointer const &requester) |
virtual Channel::shared_pointer | createChannel (std::string const &name, ChannelRequester::shared_pointer const &requester=DefaultChannelRequester::build(), short priority=PRIORITY_DEFAULT) |
virtual Channel::shared_pointer | createChannel (std::string const &name, ChannelRequester::shared_pointer const &requester, short priority, std::string const &address)=0 |
![]() | |
POINTER_DEFINITIONS (Destroyable) | |
![]() | |
POINTER_DEFINITIONS (ChannelFind) | |
ChannelFind () | |
virtual | ~ChannelFind () |
Friends | |
class | ChannelProviderLocalRun |
epicsShareFunc ChannelProviderLocalPtr | getChannelProviderLocal () |
Additional Inherited Members | |
![]() | |
typedef ChannelFindRequester | requester_type |
![]() | |
static ChannelFind::shared_pointer | buildDummy (const std::tr1::shared_ptr< ChannelProvider > &provider) |
![]() | |
static const short | PRIORITY_MIN = 0 |
static const short | PRIORITY_MAX = 99 |
static const short | PRIORITY_DEFAULT = PRIORITY_MIN |
static const short | PRIORITY_LINKS_DB = PRIORITY_MAX |
static const short | PRIORITY_ARCHIVE = (PRIORITY_MAX + PRIORITY_MIN) / 2 |
static const short | PRIORITY_OPI = PRIORITY_MIN |
static size_t | num_instances |
![]() | |
virtual | ~Destroyable () |
ChannelProvider for PVDatabase.
An implementation of channelProvider that provides access to records in PVDatabase.
Definition at line 54 of file channelProviderLocal.h.
epics::pvDatabase::ChannelProviderLocal::ChannelProviderLocal | ( | ) |
Constructor.
Definition at line 70 of file channelProviderLocal.cpp.
|
virtual |
Destructor.
Definition at line 79 of file channelProviderLocal.cpp.
|
inlinevirtual |
ChannelFind method.
Implements epics::pvAccess::ChannelFind.
Definition at line 158 of file channelProviderLocal.h.
|
virtual |
Returns either a null channelFind or a channelFind for records in the PVDatabase.
channelName | The name of the channel desired. |
channelFindRequester | The client callback. |
Definition at line 96 of file channelProviderLocal.cpp.
|
virtual |
Calls method channelListRequester::channelListResult.
This provides the caller with a list of the record names on the PVDatabase. A record name is the same as a channel name.
channelListRequester | The client callback. |
Definition at line 128 of file channelProviderLocal.cpp.
|
virtual |
Create a channel for a record.
This method just calls the next method with a address of "".
channelName | The name of the channel desired. |
channelRequester | The client callback. |
priority | The priority. |
|
virtual |
Create a channel for a record.
channelName | The name of the channel desired. |
channelRequester | The callback to call with the result. |
priority | The priority. This is ignored. |
address | The address. This is ignored. |
|
inlinevirtual |
DEPRECATED.
Implements epics::pvAccess::Destroyable.
Definition at line 73 of file channelProviderLocal.h.
|
virtual |
ChannelFind method.
Implements epics::pvAccess::ChannelFind.
Definition at line 86 of file channelProviderLocal.cpp.
|
virtual |
Returns the channel provider name.
Implements epics::pvAccess::ChannelProvider.
Definition at line 91 of file channelProviderLocal.cpp.
|
inline |
get trace level (0,1,2) means (nothing,lifetime,process)
Definition at line 142 of file channelProviderLocal.h.
epics::pvDatabase::ChannelProviderLocal::POINTER_DEFINITIONS | ( | ChannelProviderLocal | ) |
|
inline |
set trace level (0,1,2) means (nothing,lifetime,process)
level | The level |
Definition at line 147 of file channelProviderLocal.h.
|
friend |
Definition at line 163 of file channelProviderLocal.h.
|
friend |
Definition at line 56 of file channelProviderLocal.cpp.