pvAccessCPP
7.1.7
|
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. More... | |
virtual void | putArrayDone (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray)=0 |
The request is done. More... | |
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. More... | |
virtual void | getLengthDone (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray, size_t length)=0 |
The request is done. More... | |
virtual void | setLengthDone (const epics::pvData::Status &status, ChannelArray::shared_pointer const &channelArray)=0 |
The request is done. More... | |
virtual void | channelDisconnect (bool destroy) |
Notification when underlying Channel becomes DISCONNECTED or DESTORYED. More... | |
Static Public Attributes | |
static size_t | num_instances |
The Requester for a ChannelArray.
Definition at line 332 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 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. |