pvAccessCPP  7.1.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Friends | List of all members
pvas::Operation Struct Reference

An in-progress network operation (Put or RPC). More...

#include <server/pva/sharedstate.h>

Public Types

typedef std::tr1::shared_ptr
< Operation
typedef std::tr1::shared_ptr
< const Operation
typedef std::tr1::weak_ptr
< Operation
typedef std::tr1::weak_ptr
< const Operation

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
 Input data.
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::PeerInfopeer () const
 Information about peer transport and authentication. More...
void complete ()
 shorthand for successful completion w/o data (Put or RPC with void return)
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
< epics::pvAccess::Channel
getChannel ()
< epics::pvAccess::ChannelBaseRequester
getRequester ()
bool valid () const
 operator bool_type () const


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: