Safir SDK Core
Loading...
Searching...
No Matches
EntityRequestProxy.h
Go to the documentation of this file.
1/******************************************************************************
2*
3* Copyright Saab AB, 2008-2013 (http://safirsdkcore.com)
4*
5* Created by: Lars Hagström / stlrha
6*
7*******************************************************************************
8*
9* This file is part of Safir SDK Core.
10*
11* Safir SDK Core is free software: you can redistribute it and/or modify
12* it under the terms of version 3 of the GNU General Public License as
13* published by the Free Software Foundation.
14*
15* Safir SDK Core is distributed in the hope that it will be useful,
16* but WITHOUT ANY WARRANTY; without even the implied warranty of
17* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18* GNU General Public License for more details.
19*
20* You should have received a copy of the GNU General Public License
21* along with Safir SDK Core. If not, see <http://www.gnu.org/licenses/>.
22*
23******************************************************************************/
24
25#ifndef _SAFIR_DOB_ENTITY_REQUEST_PROXY_H
26#define _SAFIR_DOB_ENTITY_REQUEST_PROXY_H
27
28#include <Safir/Dob/Internal/ProxyImplPtr.h>
34#include <Safir/Dob/Entity.h>
35#include <Safir/Dob/Defs.h>
36
37#include <string>
38
39namespace Safir
40{
41namespace Dob
42{
43
44 // Forward declaration
45 namespace Internal
46 {
47 class EntityRequestProxyImpl;
48 }
49
54 {
55 public:
64
77
90
101
110
119
135 const char * GetBlob() const;
136
151
154 // The constructor is for internal usage only!
155 explicit EntityRequestProxy(Internal::EntityRequestProxyImpl* pImpl);
156
157 private:
158
159#ifdef _MSC_VER
160#pragma warning (push)
161#pragma warning (disable: 4251) // To get rid of warning that says that the template needs to have a DLL-interface
162#endif
163
164 Internal::ProxyImplPtr<Internal::EntityRequestProxyImpl> m_pImpl;
165
166#ifdef _MSC_VER
167#pragma warning (pop)
168#endif
169
170
171 };
172}
173}
174
175#endif
#define DOSE_CPP_API
Definition DoseCppExportDefs.h:33
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition Backdoor.h:31
std::shared_ptr< ConnectionInfo > ConnectionInfoPtr
Definition ConnectionInfo.h:36
std::shared_ptr< Entity > EntityPtr
Definition Entity.h:34
DotsC_TypeId TypeId
A unique type identifier.
Definition Defs.h:218
Proxy class for an entity request.
Definition EntityRequestProxy.h:54
const char * GetBlob() const
Get binary blob of the received entity request.
const Dob::Typesystem::HandlerId GetReceiverWithStringRepresentation() const
Get receiver handler id that also contains the string representation.
const Dob::Typesystem::EntityId GetEntityId() const
Get entity id.
const Dob::Typesystem::HandlerId GetReceivingHandlerId() const
Get id of receiving handler.
const Dob::Typesystem::InstanceId GetInstanceId() const
Get instance id.
EntityRequestProxy(Internal::EntityRequestProxyImpl *pImpl)
const Dob::ConnectionInfoPtr GetSenderConnectionInfo() const
Get info about the sender.
const Dob::EntityPtr GetRequest() const
Get entity request.
Dob::Typesystem::TypeId GetTypeId() const
Get type id.
Class containing the identity of an entity.
Definition EntityId.h:43
Class containing the identity of a handler.
Definition HandlerId.h:46
Class containing the identity of an instance.
Definition InstanceId.h:49