SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
c
d
e
f
h
i
k
l
m
n
r
s
t
Properties
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Functions
b
c
e
f
g
i
j
m
o
p
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
v
w
Typedefs
a
c
h
j
o
s
t
Enumerations
a
c
d
e
h
s
t
w
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
p
r
s
t
u
v
Macros
a
b
e
f
g
i
l
m
o
p
s
t
u
w
SLIOFetch.h
Go to the documentation of this file.
1
/**
2
* \file SLIOFetch.h
3
* \date October 2022
4
* \authors Marino von Wattenwyl
5
* \copyright http://opensource.org/licenses/GPL-3.0
6
* \remarks Please use clangformat to format the code. See more code style on
7
* https://github.com/cpvrlab/SLProject4/wiki/SLProject-Coding-Style
8
*/
9
10
#ifndef SLPROJECT_SLIOFETCH_H
11
#define SLPROJECT_SLIOFETCH_H
12
13
#include <
SLFileStorage.h
>
14
#include <
SLIOMemory.h
>
15
16
#ifdef SL_STORAGE_WEB
17
//! SLIOStream implementation for downloading files from a web server
18
/*!
19
* The constructor downloads the file via HTTP and stores it in memory. When
20
* downloading, a loading screen is displayed to the user because it blocks
21
* the entire application.
22
*/
23
//-----------------------------------------------------------------------------
24
class
SLIOReaderFetch
:
public
SLIOReaderMemory
25
{
26
public
:
27
static
bool
exists
(std::string url);
28
29
SLIOReaderFetch
(std::string url);
30
~SLIOReaderFetch
();
31
};
32
//-----------------------------------------------------------------------------
33
#endif
34
35
#endif
// SLPROJECT_SLIOFETCH_H
SLFileStorage.h
SLIOMemory.h
SLIOReaderFetch
SLIOStream implementation for downloading files from a web server.
Definition:
SLIOFetch.h:25
SLIOReaderFetch::SLIOReaderFetch
SLIOReaderFetch(std::string url)
Definition:
SLIOFetch.cpp:34
SLIOReaderFetch::exists
static bool exists(std::string url)
Definition:
SLIOFetch.cpp:19
SLIOReaderFetch::~SLIOReaderFetch
~SLIOReaderFetch()
Definition:
SLIOFetch.cpp:59
SLIOReaderMemory
SLIOStream implementation for reading from memory.
Definition:
SLIOMemory.h:28
modules
utils
source
io
SLIOFetch.h
Generated by
1.9.1