FlowEngine 7.530
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
DynamicBufferInterface.h
Go to the documentation of this file.
1/*
2 *
3 * C@@o ____ _____ __ _
4 * oC8@@@@@@@o |___ \| __ \ / _| |
5 * o@@@@@@@@@@@@O __) | | | | |_| | _____ __
6 * O@O 8@@@@@@@@@O |__ <| | | | _| |/ _ \ \ /\ / /
7 * o@@@@@@@O OOOOOCo ___) | |__| | | | | (_) \ V V /
8 * C@@@@@@@@@@@@Oo |____/|_____/|_| |_|\___/ \_/\_/
9 * o8@@@@@@@@@@@@@@@@8OOCCCC
10 * oO@@@@@@@@@@@@@@@@@@@o 3Dflow s.r.l. - www.3dflow.net
11 * oO8@@@@@@@@@@@@o Copyright 2022
12 * oO88@@@@@@@@8OCo All Rights Reserved
13 * O@@@@@@@@@@@@@@@@@@@@@@@@@8OCCoooooooCCo
14 * @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@O
15 * @@@Oo oO8@@@@@@@@@@@@@@@@8
16 *
17 */
18
19#ifndef FLOWENGINEDYNAMICBUFFERINTERFACE_H
20#define FLOWENGINEDYNAMICBUFFERINTERFACE_H
21
22#pragma once
23
24#include "CommonDef.h"
25
26namespace FlowEngine
27{
30 {
31 public:
32
34 FLE_DLL virtual ~DynamicBufferInterface() = default;
35
36 public:
37
44 FLE_DLL virtual Result setContent( ConstBuffer< char > buffer ) = 0;
45
47 FLE_DLL virtual Size getContentSize() const = 0;
48
55 FLE_DLL virtual Result getContent( Buffer< char > buffer ) const = 0;
56 };
57
61
65}
66
67#endif
#define FLOWENGINE_FACTORY
Definition: CommonDef.h:32
Dynamic memory buffer utility used to marshall variable amount of data.
Definition: DynamicBufferInterface.h:30
virtual FLE_DLL Size getContentSize() const =0
virtual FLE_DLL Result getContent(Buffer< char > buffer) const =0
virtual FLE_DLL ~DynamicBufferInterface()=default
Default virtual destructor.
virtual FLE_DLL Result setContent(ConstBuffer< char > buffer)=0
Definition: BoundingBoxInterface.cpp:26
void DestroyDynamicBuffer(DynamicBufferInterface *buf)
Definition: DynamicBufferInterface.cpp:32
DynamicBufferInterface * CreateDynamicBuffer()
Definition: DynamicBufferInterface.cpp:27
std::size_t Size
Size type.
Definition: CommonDef.h:103
Result
Enumerates possible results generated by FlowEngine.
Definition: CommonDef.h:45
Specialization for a Buffer of characters.
Definition: CommonDef.h:255
Specialization for a const buffer characters.
Definition: CommonDef.h:296