Class CreateRequest¶
Defined in File createRequest.h
Class Documentation¶
-
class CreateRequest¶
Create pvRequest structure for Channel methods.
Many methods of the Channel class of pvAccess have an argument PVStructurePtr const * pvRequest. This class provides a method that creates a valid pvRequest.
Public Functions
-
POINTER_DEFINITIONS(CreateRequest)¶
-
inline ~CreateRequest()¶
-
PVStructure::shared_pointer createRequest(std::string const &request)¶
Create a request structure for the create calls in Channel. See the package overview documentation for details.
- Parameters
request – The field request. See the package overview documentation for details.
- Returns
The request PVStructure if a valid request was given. If a NULL PVStructure is returned then getMessage will return the reason.
-
inline std::string getMessage()¶
Get the error message of createRequest returns NULL return the error message
Public Static Functions
-
static CreateRequest::shared_pointer create()¶
Create s new instance of CreateRequest
- Returns
A shared pointer to the new instance.
Protected Functions
-
inline CreateRequest()¶
Protected Attributes
-
std::string message¶
-
POINTER_DEFINITIONS(CreateRequest)¶