|
pvAccessCPP 7.1.9
|
The Requester for a ChannelArray. More...
#include <client/pv/pvAccess.h>


Public Types | |
| typedef std::tr1::shared_ptr< ChannelArrayRequester > | shared_pointer |
| typedef std::tr1::shared_ptr< const ChannelArrayRequester > | const_shared_pointer |
| typedef std::tr1::weak_ptr< ChannelArrayRequester > | weak_pointer |
| typedef std::tr1::weak_ptr< const ChannelArrayRequester > | const_weak_pointer |
| typedef ChannelArray | operation_type |
Public Member Functions | |
| virtual void | channelArrayConnect (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray, epics::pvData::Array::const_shared_pointer const &array)=0 |
| Underlying Channel is connected and operation setup is complete. | |
| virtual void | putArrayDone (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray)=0 |
| The request is done. | |
| virtual void | getArrayDone (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray, epics::pvData::PVArray::shared_pointer const &pvArray)=0 |
| The request is done. | |
| virtual void | getLengthDone (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray, size_t length)=0 |
| The request is done. | |
| virtual void | setLengthDone (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray)=0 |
| The request is done. | |
| virtual void | channelDisconnect (bool destroy) |
| Notification when underlying Channel becomes DISCONNECTED or DESTORYED. | |
| virtual std::string | getRequesterName ()=0 |
| The requester must have a name. | |
| virtual void | message (std::string const &message, MessageType messageType=errorMessage) |
| Push notification. | |
Static Public Attributes | |
| static size_t | num_instances |
The Requester for a ChannelArray.
Definition at line 332 of file pvAccess.h.
| typedef std::tr1::shared_ptr<const ChannelArrayRequester> epics::pvAccess::ChannelArrayRequester::const_shared_pointer |
Definition at line 334 of file pvAccess.h.
| typedef std::tr1::weak_ptr<const ChannelArrayRequester> epics::pvAccess::ChannelArrayRequester::const_weak_pointer |
Definition at line 334 of file pvAccess.h.
| typedef ChannelArray epics::pvAccess::ChannelArrayRequester::operation_type |
Definition at line 335 of file pvAccess.h.
| typedef std::tr1::shared_ptr<ChannelArrayRequester> epics::pvAccess::ChannelArrayRequester::shared_pointer |
Definition at line 334 of file pvAccess.h.
| typedef std::tr1::weak_ptr<ChannelArrayRequester> epics::pvAccess::ChannelArrayRequester::weak_pointer |
Definition at line 334 of file pvAccess.h.
|
inlinevirtual |
Definition at line 337 of file pvAccess.h.
|
pure 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. |
|
inlinevirtualinherited |
Notification when underlying Channel becomes DISCONNECTED or DESTORYED.
(re)connection is notified through a sub-class *Connect() method.
Any in-progress get()/put()/request()/start() is implicitly cancel()'d or stop()'d before this method is called.
Ownership of any PVStructures passed to completion callbacks (eg. ChannelGetRequester::getDone() ) is returned the operation
| destroy | true for final disconnect. |
Definition at line 198 of file pvAccess.h.
|
pure 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. |
|
pure virtual |
The request is done.
This is always called with no locks held.
| status | Completion status. |
| channelArray | The channelArray interface. |
| length | The length of the array, 0 if the request failed. |
|
pure virtualinherited |
The requester must have a name.
Implemented in epics::pvAccess::Channel, and epics::pvAccess::DefaultChannelRequester.
|
virtualinherited |
Push notification.
Reimplemented in epics::pvAccess::Channel.
|
pure 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. |
|
pure virtual |
The request is done.
This is always called with no locks held.
| status | Completion status. |
| channelArray | The channelArray interface. |
|
staticinherited |
Definition at line 181 of file pvAccess.h.