pvAccessCPP 7.1.9
Loading...
Searching...
No Matches
pvas::Operation Struct Reference

#include <server/pva/sharedstate.h>

Public Types

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

Public Member Functions

 Operation ()
 create empty op for later assignment
const epics::pvData::PVStructure & pvRequest () const
 pvRequest blob, may be used to modify handling.
const epics::pvData::PVStructure & value () const
const epics::pvData::BitSet & changed () const
 Applies to value(). Which fields of input data are actual valid. Others should not be used.
std::string channelName () const
 The name of the channel through which this request was made (eg. for logging purposes).
const epics::pvAccess::PeerInfo * peer () const
void complete ()
void complete (const epics::pvData::Status &sts)
 Complete with success or error w/o data.
void complete (const epics::pvData::PVStructure &value, const epics::pvData::BitSet &changed)
 Sucessful completion with data (RPC only).
void info (const std::string &)
 Send info message to client. Does not complete().
void warn (const std::string &)
 Send warning message to client. Does not complete().
int isDebug () const
std::tr1::shared_ptr< epics::pvAccess::Channel > getChannel ()
std::tr1::shared_ptr< epics::pvAccess::ChannelBaseRequester > getRequester ()
bool valid () const
 operator bool_type () const

Friends

struct detail::SharedPut
struct detail::SharedRPC

Detailed Description

An in-progress network operation (Put or RPC). Use value(), changed() to see input data, and call complete() when done handling.

Definition at line 229 of file sharedstate.h.


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