![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Channel for accessing a PVRecord. More...
#include "channelProviderLocal.h"
Inheritance diagram for epics::pvDatabase::ChannelLocal:
Collaboration diagram for epics::pvDatabase::ChannelLocal:Public Member Functions | |
| POINTER_DEFINITIONS (ChannelLocal) | |
| ChannelLocal (ChannelProviderLocalPtr const &channelProvider, epics::pvAccess::ChannelRequester::shared_pointer const &requester, PVRecordPtr const &pvRecord) | |
| virtual | ~ChannelLocal () |
| Destructor. More... | |
| virtual void | destroy () |
| DEPRECATED. More... | |
| virtual void | detach (PVRecordPtr const &pvRecord) |
| Detach from the record. More... | |
| virtual std::string | getRequesterName () |
| Get the requester name. More... | |
| virtual void | message (std::string const &message, epics::pvData::MessageType messageType) |
| Passes the message to the channel requester. More... | |
| virtual epics::pvAccess::ChannelProvider::shared_pointer | getProvider () |
| Get the channel provider. More... | |
| virtual std::string | getRemoteAddress () |
| Get the remote address. More... | |
| virtual epics::pvAccess::Channel::ConnectionState | getConnectionState () |
| virtual std::string | getChannelName () |
| Get the channel name. More... | |
| virtual epics::pvAccess::ChannelRequester::shared_pointer | getChannelRequester () |
| Get the channel requester. More... | |
| virtual bool | isConnected () |
| Is the channel connected? More... | |
| virtual void | getField (epics::pvAccess::GetFieldRequester::shared_pointer const &requester, std::string const &subField) |
| Get the introspection interface for subField. More... | |
| virtual epics::pvAccess::AccessRights | getAccessRights (epics::pvData::PVField::shared_pointer const &pvField) |
| virtual epics::pvAccess::ChannelProcess::shared_pointer | createChannelProcess (epics::pvAccess::ChannelProcessRequester::shared_pointer const &requester, epics::pvData::PVStructurePtr const &pvRequest) |
| Create a channelProcess. More... | |
| virtual epics::pvAccess::ChannelGet::shared_pointer | createChannelGet (epics::pvAccess::ChannelGetRequester::shared_pointer const &requester, epics::pvData::PVStructurePtr const &pvRequest) |
| Create a channelGet. More... | |
| virtual epics::pvAccess::ChannelPut::shared_pointer | createChannelPut (epics::pvAccess::ChannelPutRequester::shared_pointer const &requester, epics::pvData::PVStructurePtr const &pvRequest) |
| Create a channelPut. More... | |
| virtual epics::pvAccess::ChannelPutGet::shared_pointer | createChannelPutGet (epics::pvAccess::ChannelPutGetRequester::shared_pointer const &requester, epics::pvData::PVStructurePtr const &pvRequest) |
| Create a channelPutGet. More... | |
| virtual epics::pvAccess::ChannelRPC::shared_pointer | createChannelRPC (epics::pvAccess::ChannelRPCRequester::shared_pointer const &requester, epics::pvData::PVStructurePtr const &pvRequest) |
| Create a channelRPC. More... | |
| virtual epics::pvData::Monitor::shared_pointer | createMonitor (epics::pvData::MonitorRequester::shared_pointer const &requester, epics::pvData::PVStructurePtr const &pvRequest) |
| Create a monitor. More... | |
| virtual epics::pvAccess::ChannelArray::shared_pointer | createChannelArray (epics::pvAccess::ChannelArrayRequester::shared_pointer const &requester, epics::pvData::PVStructurePtr const &pvRequest) |
| Create a channelArray. More... | |
| virtual void | printInfo () |
| calls printInfo(std::cout); More... | |
| virtual void | printInfo (std::ostream &out) |
| displays a message More... | |
Public Member Functions inherited from epics::pvAccess::Channel | |
| POINTER_DEFINITIONS (Channel) | |
| Channel () | |
| virtual | ~Channel () |
| virtual void | getField (GetFieldRequester::shared_pointer const &requester, std::string const &subField) |
| virtual ChannelProcess::shared_pointer | createChannelProcess (ChannelProcessRequester::shared_pointer const &requester, epics::pvData::PVStructure::shared_pointer const &pvRequest) |
| virtual ChannelGet::shared_pointer | createChannelGet (ChannelGetRequester::shared_pointer const &requester, epics::pvData::PVStructure::shared_pointer const &pvRequest) |
| virtual ChannelPut::shared_pointer | createChannelPut (ChannelPutRequester::shared_pointer const &requester, epics::pvData::PVStructure::shared_pointer const &pvRequest) |
| virtual ChannelPutGet::shared_pointer | createChannelPutGet (ChannelPutGetRequester::shared_pointer const &requester, epics::pvData::PVStructure::shared_pointer const &pvRequest) |
| virtual ChannelRPC::shared_pointer | createChannelRPC (ChannelRPCRequester::shared_pointer const &requester, epics::pvData::PVStructure::shared_pointer const &pvRequest) |
| virtual Monitor::shared_pointer | createMonitor (MonitorRequester::shared_pointer const &requester, epics::pvData::PVStructure::shared_pointer const &pvRequest) |
| virtual ChannelArray::shared_pointer | createChannelArray (ChannelArrayRequester::shared_pointer const &requester, epics::pvData::PVStructure::shared_pointer const &pvRequest) |
Public Member Functions inherited from epics::pvAccess::Requester | |
| POINTER_DEFINITIONS (Requester) | |
| virtual | ~Requester () |
| virtual void | message (std::string const &message, MessageType messageType=errorMessage) |
Public Member Functions inherited from epics::pvAccess::Destroyable | |
| POINTER_DEFINITIONS (Destroyable) | |
Public Member Functions inherited from epics::pvDatabase::PVRecordClient | |
| POINTER_DEFINITIONS (PVRecordClient) | |
| virtual | ~PVRecordClient () |
| Destructor. More... | |
Protected Member Functions | |
| shared_pointer | getPtrSelf () |
Protected Member Functions inherited from epics::pvAccess::Destroyable | |
| virtual | ~Destroyable () |
Additional Inherited Members | |
Public Types inherited from epics::pvAccess::Channel | |
| enum | ConnectionState { NEVER_CONNECTED, CONNECTED, DISCONNECTED, DESTROYED } |
| typedef ChannelRequester | requester_type |
Static Public Attributes inherited from epics::pvAccess::Channel | |
| static size_t | num_instances |
| static const char * | ConnectionStateNames [] = { "NEVER_CONNECTED", "CONNECTED", "DISCONNECTED", "DESTROYED" } |
Channel for accessing a PVRecord.
A Channel for accessing a record in the PVDatabase. It is a complete implementation of Channel
Definition at line 172 of file channelProviderLocal.h.
| epics::pvDatabase::ChannelLocal::ChannelLocal | ( | ChannelProviderLocalPtr const & | channelProvider, |
| epics::pvAccess::ChannelRequester::shared_pointer const & | requester, | ||
| PVRecordPtr const & | pvRecord | ||
| ) |
Constructor
| channelProvider | The channel provider. |
| requester | The client callback. |
| pvRecord | The record the channel will access. |
Definition at line 1227 of file channelLocal.cpp.
|
virtual |
Destructor.
Definition at line 1244 of file channelLocal.cpp.
|
virtual |
Create a channelArray.
| requester | The client callback. |
| pvRequest | The options specified by the client. |
Definition at line 1488 of file channelLocal.cpp.
|
virtual |
Create a channelGet.
| requester | The client callback. |
| pvRequest | The options specified by the client. |
Definition at line 1381 of file channelLocal.cpp.
|
virtual |
Create a channelProcess.
| requester | The client callback. |
| pvRequest | The options specified by the client. |
Definition at line 1360 of file channelLocal.cpp.
|
virtual |
Create a channelPut.
| requester | The client callback. |
| pvRequest | The options specified by the client. |
Definition at line 1402 of file channelLocal.cpp.
|
virtual |
Create a channelPutGet.
| requester | The client callback. |
| pvRequest | The options specified by the client. |
Definition at line 1424 of file channelLocal.cpp.
|
virtual |
Create a channelRPC.
The PVRecord must implement getService or an empty shared pointer is returned.
| requester | The client callback |
| pvRequest | The options specified by the client. |
Definition at line 1446 of file channelLocal.cpp.
|
virtual |
Create a monitor.
| requester | The client callback. |
| pvRequest | The options specified by the client. |
Definition at line 1468 of file channelLocal.cpp.
|
inlinevirtual |
DEPRECATED.
Implements epics::pvAccess::Destroyable.
Definition at line 197 of file channelProviderLocal.h.
|
virtual |
Detach from the record.
This is called when a record is being removed from the database.
| pvRecord | The record being removed. |
Implements epics::pvDatabase::PVRecordClient.
Definition at line 1254 of file channelLocal.cpp.
|
virtual |
Get the access rights for the record. This throws an exception because it is assumed that access rights are handled by a higher level.
Reimplemented from epics::pvAccess::Channel.
Definition at line 1354 of file channelLocal.cpp.
|
virtual |
Get the channel name.
Implements epics::pvAccess::Channel.
Definition at line 1314 of file channelLocal.cpp.
|
virtual |
Get the channel requester.
Implements epics::pvAccess::Channel.
Definition at line 1322 of file channelLocal.cpp.
|
virtual |
Get the connection state.
Reimplemented from epics::pvAccess::Channel.
Definition at line 1309 of file channelLocal.cpp.
|
virtual |
Get the introspection interface for subField.
The introspection interface is given via GetFieldRequester::getDone.
| requester | The client callback. |
| subField | The subField of the record. If an empty string then the interface for the top level structure of the record is provided. |
Definition at line 1332 of file channelLocal.cpp.
|
virtual |
Get the channel provider.
Implements epics::pvAccess::Channel.
Definition at line 1249 of file channelLocal.cpp.
|
inlineprotected |
Definition at line 355 of file channelProviderLocal.h.
|
virtual |
Get the remote address.
Implements epics::pvAccess::Channel.
Definition at line 1304 of file channelLocal.cpp.
|
virtual |
Get the requester name.
Reimplemented from epics::pvAccess::Channel.
Definition at line 1267 of file channelLocal.cpp.
|
virtual |
Is the channel connected?
Reimplemented from epics::pvAccess::Channel.
Definition at line 1327 of file channelLocal.cpp.
|
virtual |
Passes the message to the channel requester.
| message | The message. |
| messageType | The message type. |
Reimplemented from epics::pvAccess::Channel.
Definition at line 1281 of file channelLocal.cpp.
| epics::pvDatabase::ChannelLocal::POINTER_DEFINITIONS | ( | ChannelLocal | ) |
|
virtual |
calls printInfo(std::cout);
Reimplemented from epics::pvAccess::Channel.
Definition at line 1509 of file channelLocal.cpp.
|
virtual |
displays a message
| out | the stream on which the message is displayed. |
Reimplemented from epics::pvAccess::Channel.
Definition at line 1514 of file channelLocal.cpp.