![]() |
This is Unofficial EPICS BASE Doxygen Site
|
#include "pvAccess.h"
Public Types | |
typedef ChannelArrayRequester | requester_type |
Public Member Functions | |
POINTER_DEFINITIONS (ChannelArray) | |
virtual | ~ChannelArray () |
virtual void | putArray (epics::pvData::PVArray::shared_pointer const &putArray, size_t offset=0, size_t count=0, size_t stride=1)=0 |
virtual void | getArray (size_t offset=0, size_t count=0, size_t stride=1)=0 |
virtual void | getLength ()=0 |
virtual void | setLength (size_t length)=0 |
![]() | |
POINTER_DEFINITIONS (ChannelRequest) | |
ChannelRequest () | |
virtual | ~ChannelRequest () |
virtual std::tr1::shared_ptr< Channel > | getChannel ()=0 |
virtual void | cancel ()=0 |
virtual void | lastRequest ()=0 |
![]() | |
POINTER_DEFINITIONS (Destroyable) | |
virtual void | destroy ()=0 |
![]() | |
POINTER_DEFINITIONS (Lockable) | |
virtual | ~Lockable () |
virtual void | lock () |
virtual void | unlock () |
Additional Inherited Members | |
![]() | |
static size_t | num_instances |
![]() | |
virtual | ~Destroyable () |
Request to put and get Array Data. The data is either taken from or put in the PVArray returned by ChannelArrayRequester.channelArrayConnect.
Definition at line 283 of file pvAccess.h.
Definition at line 286 of file pvAccess.h.
|
inlinevirtual |
Definition at line 288 of file pvAccess.h.
|
pure virtual |
get from the remote array.
Ownership of the PVArray previously passed to ChannelArrayRequester::getArrayDone() is returned to the ChannelArray from the ChannelArrayRequester.
offset | The offset in the remote array, i.e. the PVArray returned by ChannelArrayRequester::channelArrayConnect. |
count | The number of elements to get, 0 means "till the end of an array". |
stride | 1 means all the elements from offset to count, 2 means every other, 3 means every third, etc. |
Implemented in epics::pvDatabase::ChannelArrayLocal.
|
pure virtual |
Get the length.
Implemented in epics::pvDatabase::ChannelArrayLocal.
epics::pvAccess::ChannelArray::POINTER_DEFINITIONS | ( | ChannelArray | ) |
|
pure virtual |
put to the remote array.
Ownership of the PVArray is transferred to the ChannelArray until ChannelArrayRequester::putArrayDone() or ChannelArrayRequester::channelDisconnect() is called.
putArray | array to put. |
offset | The offset in the remote array, i.e. the PVArray returned by ChannelArrayRequester::channelArrayConnect. |
count | The number of elements to put, 0 means "entire array". |
stride | 1 means all the elements from offset to count, 2 means every other, 3 means every third, etc. |
|
pure virtual |
Set the length and/or the capacity.
length | The new length. |
Implemented in epics::pvDatabase::ChannelArrayLocal.