pvAccessCPP  7.1.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Attributes | List of all members
epics::pvAccess::GetFieldRequester Class Referenceabstract

Completion notification for Channel::getField() More...

#include <client/pv/pvAccess.h>

Inheritance diagram for epics::pvAccess::GetFieldRequester:
Inheritance graph
[legend]
Collaboration diagram for epics::pvAccess::GetFieldRequester:
Collaboration graph
[legend]

Public Types

typedef std::tr1::shared_ptr
< GetFieldRequester
shared_pointer
 
typedef std::tr1::shared_ptr
< const GetFieldRequester
const_shared_pointer
 
typedef std::tr1::weak_ptr
< GetFieldRequester
weak_pointer
 
typedef std::tr1::weak_ptr
< const GetFieldRequester
const_weak_pointer
 

Public Member Functions

virtual void getDone (const epics::pvData::Status &status, epics::pvData::FieldConstPtr const &field)=0
 Check status.isOk() to determine success. More...
 
virtual void channelDisconnect (bool destroy)
 Notification when underlying Channel becomes DISCONNECTED or DESTORYED. More...
 

Static Public Attributes

static size_t num_instances
 

Detailed Description

Completion notification for Channel::getField()

Definition at line 853 of file pvAccess.h.

Member Function Documentation

virtual void epics::pvAccess::ChannelBaseRequester::channelDisconnect ( bool  destroy)
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

Parameters
destroytrue for final disconnect.

Definition at line 198 of file pvAccess.h.

virtual void epics::pvAccess::GetFieldRequester::getDone ( const epics::pvData::Status &  status,
epics::pvData::FieldConstPtr const &  field 
)
pure virtual

Check status.isOk() to determine success.

On success the 'field' will be non-NULL. On failure 'field' will be NULL.

Parameters
statusCompletion status.
fieldThe Structure for the request.

The documentation for this class was generated from the following file: