S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
sopc_encodeable.h
Go to the documentation of this file.
1/*
2 * Licensed to Systerel under one or more contributor license
3 * agreements. See the NOTICE file distributed with this work
4 * for additional information regarding copyright ownership.
5 * Systerel licenses this file to you under the Apache
6 * License, Version 2.0 (the "License"); you may not use this
7 * file except in compliance with the License. You may obtain
8 * a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
29#ifndef SOPC_ENCODEABLE_H_
30#define SOPC_ENCODEABLE_H_
31
32#include <stdint.h>
33
34#include "sopc_builtintypes.h"
35#include "sopc_encodeabletype.h"
36
47
57
70 SOPC_EncodeableType* encTyp,
71 void** encObject);
72
83SOPC_ReturnStatus SOPC_Encodeable_Move(void* destObj, void* srcObj);
84
85#endif /* SOPC_ENCODEABLE_H_ */
SOPC_ReturnStatus SOPC_Encodeable_Create(SOPC_EncodeableType *encTyp, void **encObject)
Instantiate and initialize an encodeable object of the given encodeable type.
SOPC_ReturnStatus SOPC_Encodeable_Move(void *destObj, void *srcObj)
Moves content of srcObj to destObj, i.e. copy srcObj structure content to destObj and reset srcObj....
SOPC_ReturnStatus SOPC_Encodeable_CreateExtension(SOPC_ExtensionObject *extObject, SOPC_EncodeableType *encTyp, void **encObject)
Create an encodeable object of the given encodeable type and set it in the given extension object.
SOPC_ReturnStatus SOPC_Encodeable_Delete(SOPC_EncodeableType *encTyp, void **encObject)
Clear and deallocate an encodeable object of the given encodeable type.
EncodeableType and services on encodeable object.
enum _SOPC_ReturnStatus SOPC_ReturnStatus
Common enumerations for S2OPC.
Encodeable object type structure definition. It provides all the services functions associated with t...
Definition sopc_encodeabletype.h:177
An ExtensionObject is a container for any Structured DataTypes which cannot be encoded as one of the ...
Definition sopc_builtintypes.h:262