![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Holds all PVA related. More...
Namespaces | |
ca | |
detail | |
Typedefs | |
typedef std::tr1::shared_ptr< MonitorElement > | MonitorElementPtr |
typedef std::vector< MonitorElementPtr > | MonitorElementPtrArray |
typedef std::tr1::shared_ptr< Monitor > | MonitorPtr |
typedef Monitor | PipelineMonitor |
Pipeline (streaming) support API (optional). This is used by pvAccess to implement pipeline (streaming) monitors. More... | |
typedef epicsInt32 | pvAccessID |
typedef std::vector< BlockingUDPTransport::shared_pointer > | BlockingUDPTransportVector |
typedef ConfigurationEnviron | SystemConfigurationImpl |
typedef std::vector< osiSockAddr > | InetAddrVector |
typedef std::vector< ifaceNode > | IfaceNodeVector |
typedef std::map< const short, epics::pvData::FieldConstPtr > | registryMap_t |
typedef std::tr1::shared_ptr< Requester > | RequesterPtr |
Functions | |
void | providerRegInit (void *) |
epicsShareExtern void | refTrackRegistrar () |
Channel::shared_pointer | createPipelineChannel (ChannelProvider::shared_pointer const &provider, std::string const &channelName, ChannelRequester::shared_pointer const &channelRequester, PipelineService::shared_pointer const &pipelineService) |
epicsShareFunc std::ostream & | operator<< (std::ostream &o, const Version &v) |
const std::string | PVACCESS_DEFAULT_PROVIDER ("local") |
const std::string | PVACCESS_ALL_PROVIDERS ("<all>") |
const std::string | PVACCESS_DEBUG ("EPICS_PVA_DEBUG") |
void | initializeUDPTransports (bool serverFlag, BlockingUDPTransportVector &udpTransports, const IfaceNodeVector &ifaceList, const ResponseHandler::shared_pointer &responseHandler, BlockingUDPTransport::shared_pointer &sendTransport, int32 &listenPort, bool autoAddressList, const std::string &addressList, const std::string &ignoreAddressList) |
epicsShareFunc void | osdGetRoles (const std::string &account, PeerInfo::roles_t &roles) |
Query OS specific DB for role/group names assocated with a user account. More... | |
ChannelProvider::shared_pointer | createClientProvider (const Configuration::shared_pointer &conf) |
epicsShareFunc Channel::shared_pointer | createRPCChannel (ChannelProvider::shared_pointer const &provider, std::string const &channelName, ChannelRequester::shared_pointer const &channelRequester, RPCServiceAsync::shared_pointer const &rpcService) |
epicsShareFunc ServerContext::shared_pointer | startPVAServer (std::string const &providerNames=PVACCESS_ALL_PROVIDERS, int timeToRun=0, bool runInSeparateThread=false, bool printInfo=false) |
epicsShareFunc std::ostream & | operator<< (std::ostream &strm, const HexDump &hex) |
void | encodeAsIPv6Address (ByteBuffer *buffer, const osiSockAddr *address) |
bool | decodeAsIPv6Address (ByteBuffer *buffer, osiSockAddr *address) |
bool | isMulticastAddress (const osiSockAddr *address) |
void | getSocketAddressList (InetAddrVector &ret, const std::string &list, int defaultPort, const InetAddrVector *appendList) |
string | inetAddressToString (const osiSockAddr &addr, bool displayPort, bool displayHex) |
int | discoverInterfaces (IfaceNodeVector &list, SOCKET socket, const osiSockAddr *pMatchAddr) |
void | pvAccessLog (pvAccessLogLevel level, const char *format,...) |
void | pvAccessSetLogLevel (pvAccessLogLevel level) |
bool | pvAccessIsLoggable (pvAccessLogLevel level) |
epicsShareExtern std::string | getMessageTypeName (MessageType messageType) |
Holds all PVA related.
typedef std::vector<BlockingUDPTransport::shared_pointer> epics::pvAccess::BlockingUDPTransportVector |
Definition at line 403 of file blockingUDP.h.
typedef std::vector<ifaceNode> epics::pvAccess::IfaceNodeVector |
Definition at line 33 of file inetAddressUtil.h.
typedef std::vector<osiSockAddr> epics::pvAccess::InetAddrVector |
Definition at line 21 of file inetAddressUtil.h.
typedef std::tr1::shared_ptr<MonitorElement> epics::pvAccess::MonitorElementPtr |
typedef std::vector<MonitorElementPtr> epics::pvAccess::MonitorElementPtrArray |
typedef std::tr1::shared_ptr<Monitor> epics::pvAccess::MonitorPtr |
Pipeline (streaming) support API (optional). This is used by pvAccess to implement pipeline (streaming) monitors.
Definition at line 1563 of file pvAccess.h.
typedef std::map<const short,epics::pvData::FieldConstPtr> epics::pvAccess::registryMap_t |
Definition at line 37 of file introspectionRegistry.h.
typedef std::tr1::shared_ptr<Requester> epics::pvAccess::RequesterPtr |
Definition at line 31 of file requester.h.
Definition at line 160 of file configuration.h.
Enumerator | |
---|---|
none |
Neither read or write access is allowed. |
read |
Read access is allowed but write access is not allowed. |
readWrite |
Both read and write access are allowed. |
Definition at line 71 of file pvAccess.h.
Definition at line 85 of file remote.h.
Enumerator | |
---|---|
CMD_SET_MARKER | |
CMD_ACK_MARKER | |
CMD_SET_ENDIANESS |
The FlushStrategy enum.
Enumerator | |
---|---|
IMMEDIATE | |
DELAYED | |
USER_CONTROLED |
Definition at line 1221 of file pvAccess.h.
Enumerator | |
---|---|
inetAddressType_all | |
inetAddressType_unicast | |
inetAddressType_broadcast_multicast |
Definition at line 42 of file blockingUDP.h.
Enumerator | |
---|---|
infoMessage | |
warningMessage | |
errorMessage | |
fatalErrorMessage |
Definition at line 34 of file requester.h.
Enumerator | |
---|---|
logLevelAll | |
logLevelTrace | |
logLevelDebug | |
logLevelInfo | |
logLevelWarn | |
logLevelError | |
logLevelFatal | |
logLevelOff |
Definition at line 18 of file logger.h.
enum epics::pvAccess::QoS |
Definition at line 46 of file remote.h.
ChannelProvider::shared_pointer epics::pvAccess::createClientProvider | ( | const Configuration::shared_pointer & | conf | ) |
Definition at line 4747 of file clientContextImpl.cpp.
epicsShareFunc Channel::shared_pointer epics::pvAccess::createPipelineChannel | ( | ChannelProvider::shared_pointer const & | provider, |
std::string const & | channelName, | ||
ChannelRequester::shared_pointer const & | channelRequester, | ||
PipelineService::shared_pointer const & | pipelineService | ||
) |
Definition at line 436 of file pipelineServer.cpp.
Channel::shared_pointer epics::pvAccess::createRPCChannel | ( | ChannelProvider::shared_pointer const & | provider, |
std::string const & | channelName, | ||
ChannelRequester::shared_pointer const & | channelRequester, | ||
RPCServiceAsync::shared_pointer const & | rpcService | ||
) |
Definition at line 229 of file rpcServer.cpp.
epicsShareFunc bool epics::pvAccess::decodeAsIPv6Address | ( | epics::pvData::ByteBuffer * | buffer, |
osiSockAddr * | address | ||
) |
Decode IPv6 address (as IPv4 address).
buffer | byte-buffer where to get encoded data. |
address | address where to decode. |
Definition at line 50 of file inetAddressUtil.cpp.
epicsShareFunc int epics::pvAccess::discoverInterfaces | ( | IfaceNodeVector & | list, |
SOCKET | socket, | ||
const osiSockAddr * | pMatchAddr | ||
) |
Definition at line 196 of file inetAddressUtil.cpp.
epicsShareFunc void epics::pvAccess::encodeAsIPv6Address | ( | epics::pvData::ByteBuffer * | buffer, |
const osiSockAddr * | address | ||
) |
Encode IPv4 address as IPv6 address.
buffer | byte-buffer where to put encoded data. |
address | address to encode. |
Definition at line 35 of file inetAddressUtil.cpp.
string epics::pvAccess::getMessageTypeName | ( | MessageType | messageType | ) |
Definition at line 25 of file requester.cpp.
epicsShareFunc void epics::pvAccess::getSocketAddressList | ( | InetAddrVector & | ret, |
const std::string & | list, | ||
int | defaultPort, | ||
const InetAddrVector * | appendList = NULL |
||
) |
Parse space delimited addresss[:port] string and populate array of InetSocketAddress
.
ret | results stored hre |
list | space delimited addresss[:port] string. |
defaultPort | port take if not specified. |
appendList | list to be appended. |
InetSocketAddress
. Definition at line 82 of file inetAddressUtil.cpp.
epicsShareFunc std::string epics::pvAccess::inetAddressToString | ( | const osiSockAddr & | addr, |
bool | displayPort, | ||
bool | displayHex | ||
) |
Definition at line 115 of file inetAddressUtil.cpp.
void epics::pvAccess::initializeUDPTransports | ( | bool | serverFlag, |
BlockingUDPTransportVector & | udpTransports, | ||
const IfaceNodeVector & | ifaceList, | ||
const ResponseHandler::shared_pointer & | responseHandler, | ||
BlockingUDPTransport::shared_pointer & | sendTransport, | ||
int32 & | listenPort, | ||
bool | autoAddressList, | ||
const std::string & | addressList, | ||
const std::string & | ignoreAddressList | ||
) |
Definition at line 576 of file blockingUDPTransport.cpp.
epicsShareFunc bool epics::pvAccess::isMulticastAddress | ( | const osiSockAddr * | address | ) |
Check if an IPv4 address is a multicast address.
address | IPv4 address to check. |
Definition at line 76 of file inetAddressUtil.cpp.
epicsShareFunc std::ostream & epics::pvAccess::operator<< | ( | std::ostream & | strm, |
const HexDump & | hex | ||
) |
Definition at line 69 of file hexDump.cpp.
std::ostream & epics::pvAccess::operator<< | ( | std::ostream & | o, |
const Version & | v | ||
) |
Definition at line 69 of file pvaVersion.cpp.
void epics::pvAccess::osdGetRoles | ( | const std::string & | account, |
PeerInfo::roles_t & | roles | ||
) |
Query OS specific DB for role/group names assocated with a user account.
account | User name |
roles | Role names are added to this set. Existing names are not removed. |
Definition at line 51 of file getgroups.cpp.
void epics::pvAccess::providerRegInit | ( | void * | ) |
Definition at line 208 of file ChannelAccessFactory.cpp.
const std::string epics::pvAccess::PVACCESS_ALL_PROVIDERS | ( | "<all>" | ) |
const std::string epics::pvAccess::PVACCESS_DEBUG | ( | "EPICS_PVA_DEBUG" | ) |
const std::string epics::pvAccess::PVACCESS_DEFAULT_PROVIDER | ( | "local" | ) |
epicsShareFunc bool epics::pvAccess::pvAccessIsLoggable | ( | pvAccessLogLevel | level | ) |
Definition at line 64 of file logger.cpp.
epicsShareFunc void epics::pvAccess::pvAccessLog | ( | pvAccessLogLevel | level, |
const char * | format, | ||
... | |||
) |
Definition at line 36 of file logger.cpp.
epicsShareFunc void epicsShareFunc void epics::pvAccess::pvAccessSetLogLevel | ( | pvAccessLogLevel | level | ) |
Definition at line 59 of file logger.cpp.
void epics::pvAccess::refTrackRegistrar | ( | ) |
Definition at line 84 of file reftrackioc.cpp.
ServerContext::shared_pointer epics::pvAccess::startPVAServer | ( | std::string const & | providerNames = PVACCESS_ALL_PROVIDERS , |
int | timeToRun = 0 , |
||
bool | runInSeparateThread = false , |
||
bool | printInfo = false |
||
) |
Definition at line 544 of file serverContext.cpp.
Mutex epics::pvAccess::conf_factory_mutex |
Definition at line 244 of file configuration.cpp.
ConfigurationProvider::shared_pointer epics::pvAccess::configurationProvider |
Definition at line 243 of file configuration.cpp.
const epics::pvData::int8 PVA_VERSION epics::pvAccess::EPICS_DEPRECATED = 1 |
PVA protocol revision (implemented by this library).
PVA version signature used to report this implementation version in header.
Definition at line 35 of file pvaConstants.h.
const epics::pvData::int16 epics::pvAccess::INVALID_DATA_TYPE = 0xFFFF |
Invalid data type.
Definition at line 76 of file pvaConstants.h.
const epics::pvData::int32 epics::pvAccess::INVALID_IOID = 0 |
Invalid IOID.
Definition at line 79 of file pvaConstants.h.
const epics::pvData::uint32 epics::pvAccess::MAX_CHANNEL_NAME_LENGTH = 500 |
Unreasonable channel name length.
Definition at line 73 of file pvaConstants.h.
const epics::pvData::int32 epics::pvAccess::MAX_SEARCH_BATCH_COUNT = 0x7FFF |
Maximum number of search requests in one search message.
Definition at line 67 of file pvaConstants.h.
const epics::pvData::int32 epics::pvAccess::MAX_TCP_RECV = 1024*16 |
TCP maximum receive message size.
Definition at line 64 of file pvaConstants.h.
const epics::pvData::int32 epics::pvAccess::MAX_UDP_RECV = 65487 |
UDP maximum receive message size. MAX_UDP: 65535 (max UDP packet size) - 20/40(IPv4/IPv6) - 8(UDP)
Definition at line 61 of file pvaConstants.h.
const epics::pvData::int32 epics::pvAccess::MAX_UDP_UNFRAGMENTED_SEND = 1440 |
UDP maximum send message size. MAX_UDP: 1500 (max of ethernet and 802.{2,3} MTU) - 20/40(IPv4/IPv6)
Definition at line 55 of file pvaConstants.h.
const epics::pvData::int32 epics::pvAccess::PVA_BROADCAST_PORT = 5076 |
Default PVA beacon port.
Definition at line 44 of file pvaConstants.h.
const epics::pvData::int8 epics::pvAccess::PVA_CLIENT_PROTOCOL_REVISION = 2 |
Definition at line 32 of file pvaConstants.h.
const epics::pvData::int16 epics::pvAccess::PVA_DEFAULT_PRIORITY = 0 |
Default priority (corresponds to POSIX SCHED_OTHER)
Definition at line 70 of file pvaConstants.h.
const epics::pvData::int8 epics::pvAccess::PVA_MAGIC = static_cast<epics::pvData::int8>(0xCA) |
PVA protocol magic number
Definition at line 29 of file pvaConstants.h.
const epics::pvData::int16 epics::pvAccess::PVA_MESSAGE_HEADER_SIZE = 8 |
PVA protocol message header size.
Definition at line 47 of file pvaConstants.h.
const epics::pvData::int32 epics::pvAccess::PVA_SERVER_PORT = 5075 |
Default PVA server port.
Definition at line 41 of file pvaConstants.h.
const epics::pvData::int8 epics::pvAccess::PVA_SERVER_PROTOCOL_REVISION = 2 |
Definition at line 31 of file pvaConstants.h.
epicsShareExtern const std::string epics::pvAccess::PVACCESS_ALL_PROVIDERS |
"All-providers registered" PVA provider name.
Definition at line 85 of file pvaConstants.h.
epicsShareExtern const std::string epics::pvAccess::PVACCESS_DEBUG |
Name of the system env. variable to turn on debugging.
Definition at line 88 of file pvaConstants.h.
epicsShareExtern const std::string epics::pvAccess::PVACCESS_DEFAULT_PROVIDER |
Default PVA provider name.
Definition at line 82 of file pvaConstants.h.