![]() |
This is Unofficial EPICS BASE Doxygen Site
|
#include "responseHandlers.h"
Public Types | |
typedef std::tr1::shared_ptr< ServerChannelArrayRequesterImpl > | shared_pointer |
typedef std::tr1::shared_ptr< const ServerChannelArrayRequesterImpl > | const_shared_pointer |
![]() | |
typedef ChannelArray | operation_type |
Public Member Functions | |
virtual | ~ServerChannelArrayRequesterImpl () |
virtual void | channelArrayConnect (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray, epics::pvData::Array::const_shared_pointer const &array) OVERRIDE FINAL |
virtual void | getArrayDone (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray, epics::pvData::PVArray::shared_pointer const &pvArray) OVERRIDE FINAL |
virtual void | putArrayDone (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray) OVERRIDE FINAL |
virtual void | setLengthDone (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray) OVERRIDE FINAL |
virtual void | getLengthDone (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray, std::size_t length) OVERRIDE FINAL |
virtual void | destroy () OVERRIDE FINAL |
ChannelArray::shared_pointer | getChannelArray () |
virtual std::tr1::shared_ptr< ChannelRequest > | getOperation () OVERRIDE FINAL |
The Operation associated with this Requester, except for GetField and Monitor (which are special snowflakes...) More... | |
epics::pvData::PVArray::shared_pointer | getPVArray () |
virtual void | send (epics::pvData::ByteBuffer *buffer, TransportSendControl *control) OVERRIDE FINAL |
![]() | |
POINTER_DEFINITIONS (BaseChannelRequester) | |
BaseChannelRequester (ServerContextImpl::shared_pointer const &context, std::tr1::shared_ptr< ServerChannel > const &channel, const pvAccessID ioid, Transport::shared_pointer const &transport) | |
virtual | ~BaseChannelRequester () |
bool | startRequest (epics::pvData::int32 qos) |
void | stopRequest () |
epics::pvData::int32 | getPendingRequest () |
virtual std::string | getRequesterName () OVERRIDE FINAL |
virtual void | message (std::string const &message, epics::pvData::MessageType messageType) OVERRIDE FINAL |
virtual void | stats (Stats &s) const OVERRIDE FINAL |
Query current counter values. More... | |
![]() | |
POINTER_DEFINITIONS (TransportSender) | |
TransportSender () | |
virtual | ~TransportSender () |
![]() | |
POINTER_DEFINITIONS (Lockable) | |
virtual | ~Lockable () |
virtual void | lock () |
virtual void | unlock () |
![]() | |
entry () | |
~entry () | |
![]() | |
virtual | ~NetStats () |
![]() | |
POINTER_DEFINITIONS (Destroyable) | |
![]() | |
POINTER_DEFINITIONS (ChannelArrayRequester) | |
virtual | ~ChannelArrayRequester () |
virtual void | getLengthDone (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray, size_t length)=0 |
![]() | |
POINTER_DEFINITIONS (ChannelBaseRequester) | |
ChannelBaseRequester () | |
virtual | ~ChannelBaseRequester () |
virtual void | channelDisconnect (bool destroy) |
Static Public Member Functions | |
static ChannelArrayRequester::shared_pointer | create (ServerContextImpl::shared_pointer const &context, std::tr1::shared_ptr< ServerChannel > const &channel, const pvAccessID ioid, Transport::shared_pointer const &transport, epics::pvData::PVStructure::shared_pointer const &pvRequest) |
![]() | |
static void | message (Transport::shared_pointer const &transport, const pvAccessID ioid, const std::string message, const epics::pvData::MessageType messageType) |
static void | sendFailureMessage (const epics::pvData::int8 command, Transport::shared_pointer const &transport, const pvAccessID ioid, const epics::pvData::int8 qos, const epics::pvData::Status status) |
Protected Member Functions | |
ServerChannelArrayRequesterImpl (ServerContextImpl::shared_pointer const &context, std::tr1::shared_ptr< ServerChannel > const &channel, const pvAccessID ioid, Transport::shared_pointer const &transport) | |
void | activate (epics::pvData::PVStructure::shared_pointer const &pvRequest) |
![]() | |
virtual | ~Destroyable () |
Additional Inherited Members | |
![]() | |
size_t | bytesTX |
size_t | bytesRX |
![]() | |
static const epics::pvData::Status | okStatus = Status() |
static const epics::pvData::Status | badCIDStatus |
static const epics::pvData::Status | badIOIDStatus |
static const epics::pvData::Status | noReadACLStatus |
static const epics::pvData::Status | noWriteACLStatus |
static const epics::pvData::Status | noProcessACLStatus |
static const epics::pvData::Status | otherRequestPendingStatus |
static const epics::pvData::Status | notAChannelRequestStatus |
![]() | |
static size_t | num_instances |
![]() | |
const pvAccessID | _ioid |
const Transport::shared_pointer | _transport |
const std::tr1::shared_ptr< ServerChannel > | _channel |
epics::pvData::Mutex | _mutex |
Definition at line 534 of file responseHandlers.h.
typedef std::tr1::shared_ptr<const ServerChannelArrayRequesterImpl> epics::pvAccess::ServerChannelArrayRequesterImpl::const_shared_pointer |
Definition at line 541 of file responseHandlers.h.
typedef std::tr1::shared_ptr<ServerChannelArrayRequesterImpl> epics::pvAccess::ServerChannelArrayRequesterImpl::shared_pointer |
Definition at line 540 of file responseHandlers.h.
|
protected |
Definition at line 2209 of file responseHandlers.cpp.
|
inlinevirtual |
Definition at line 551 of file responseHandlers.h.
|
protected |
Definition at line 2227 of file responseHandlers.cpp.
|
virtual |
Underlying Channel is connected and operation setup is complete. May call putArray(), getArray(), getLength(), or setLength() to execute.
status | Completion status. |
channelArray | The channelArray interface or nullptr if the request failed. |
pvArray | The PVArray that holds the data or nullptr if the request failed. |
Implements epics::pvAccess::ChannelArrayRequester.
Definition at line 2235 of file responseHandlers.cpp.
|
static |
Definition at line 2216 of file responseHandlers.cpp.
|
virtual |
Destroy this instance.
Implements epics::pvAccess::Destroyable.
Definition at line 2311 of file responseHandlers.cpp.
|
virtual |
The request is done. This is always called with no locks held.
Ownership of the PVArray is transfered to the ChannelArrayRequester until a subsequent call to ChannelArray::getArray() or ChannelArrayRequester::channelDisconnect().
status | Completion status. |
channelArray | The channelArray interface. |
pvArray | The PVArray that holds the data or nullptr if the request failed. |
Implements epics::pvAccess::ChannelArrayRequester.
Definition at line 2265 of file responseHandlers.cpp.
ChannelArray::shared_pointer epics::pvAccess::ServerChannelArrayRequesterImpl::getChannelArray | ( | ) |
Definition at line 2333 of file responseHandlers.cpp.
|
virtual |
Definition at line 2299 of file responseHandlers.cpp.
|
inlinevirtual |
The Operation associated with this Requester, except for GetField and Monitor (which are special snowflakes...)
Implements epics::pvAccess::BaseChannelRequester.
Definition at line 569 of file responseHandlers.h.
PVArray::shared_pointer epics::pvAccess::ServerChannelArrayRequesterImpl::getPVArray | ( | ) |
Definition at line 2339 of file responseHandlers.cpp.
|
virtual |
The request is done. This is always called with no locks held.
Ownership of PVArray passed to ChannelArray::putArray() returns to ChannelArrayRequester
status | Completion status. |
channelArray | The channelArray interface. |
Implements epics::pvAccess::ChannelArrayRequester.
Definition at line 2279 of file responseHandlers.cpp.
|
virtual |
Called by transport. By this call transport gives callee ownership over the buffer. Calls on TransportSendControl
instance must be made from calling thread. Moreover, ownership is valid only for the time of call of this method. NOTE: these limitations allow efficient implementation.
Implements epics::pvAccess::TransportSender.
Definition at line 2345 of file responseHandlers.cpp.
|
virtual |
The request is done. This is always called with no locks held.
status | Completion status. |
channelArray | The channelArray interface. |
Implements epics::pvAccess::ChannelArrayRequester.
Definition at line 2289 of file responseHandlers.cpp.