Template Class CProxyHandler#
Defined in File pssup.h
Inheritance Relationships#
Base Types#
public sdv::CSdvObject
(Class CSdvObject)public sdv::ps::IMarshallObjectIdent
(Struct IMarshallObjectIdent)public sdv::ps::IMarshallLink
(Struct IMarshallLink)
Class Documentation#
-
template<typename TInterface>
class CProxyHandler : public sdv::CSdvObject, public sdv::ps::IMarshallObjectIdent, public sdv::ps::IMarshallLink# Proxy class managing the function calls and incoming calls containing the response.
- Template Parameters:
TInterface – The interface the deriving class is deriving from as well.
Public Functions
-
CProxyHandler()#
Constructor.
-
virtual ~CProxyHandler() override#
Constructor.
-
virtual void SetIdentification(const TMarshallID &tMarshallID) override#
Set the identification. Overload of IMarshallObjectIdent::SetIdentification.
- Parameters:
tMarshallID – [in] Reference to the marshall object ID. For a proxy object, this is the proxy ID. For a stub object this is a stub ID.
-
virtual void Link(IMarshall *pMarshall) override#
Link the communication interface to the object. Overload of IMarshallLink::Link.
Remark
Only one link can exists at the time.
- Parameters:
pMarshall – [in] Interface to be linked.
-
virtual void Unlink() override#
Unlink the linked interface. Overload of IMarshallLink::Unlink.
-
ECallResult DoCall(uint32_t uiFuncIndex, const serializer<GetPlatformEndianess()> &rserInput, deserializer<GetPlatformEndianess()> &rdesOutput)#
Schedule a call.
- Parameters:
uiFuncIndex – [in] Operation/attribute index.
rserInput – [in] Serializer containing the input parameters.
rdesOutput – [in] Deserializer containing the return value and output parameters or the exception.
- Returns:
The call result value.