Disk ARchive
2.7.15
Full featured and portable backup and archiving tool
src
libdar
slave_zapette.hpp
Go to the documentation of this file.
1
/*********************************************************************/
2
// dar - disk archive - a backup/restoration program
3
// Copyright (C) 2002-2024 Denis Corbin
4
//
5
// This program is free software; you can redistribute it and/or
6
// modify it under the terms of the GNU General Public License
7
// as published by the Free Software Foundation; either version 2
8
// of the License, or (at your option) any later version.
9
//
10
// This program is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
14
//
15
// You should have received a copy of the GNU General Public License
16
// along with this program; if not, write to the Free Software
17
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
//
19
// to contact the author, see the AUTHOR file
20
/*********************************************************************/
21
32
33
34
#ifndef SLAVE_ZAPETTE_HPP
35
#define SLAVE_ZAPETTE_HPP
36
37
#include "../my_config.h"
38
#include "
generic_file.hpp
"
39
#include "
contextual.hpp
"
40
41
namespace
libdar
42
{
43
44
47
49
52
53
class
slave_zapette
54
{
55
public
:
56
58
62
slave_zapette
(
generic_file
*input,
generic_file
*output,
generic_file
*data);
63
slave_zapette
(
const
slave_zapette
& ref) =
delete
;
64
slave_zapette
(
slave_zapette
&& ref) noexcept =
delete
;
65
slave_zapette
& operator = (
const
slave_zapette
& ref) =
delete
;
66
slave_zapette
& operator = (
slave_zapette
&& ref) noexcept =
delete
;
67
~
slave_zapette
();
68
70
73
void
action
();
74
75
private
:
76
generic_file
*
in
;
77
generic_file
*
out
;
78
generic_file
*
src
;
79
contextual
*
src_ctxt
;
80
};
81
83
84
}
// end of namespace
85
86
#endif
libdar::contextual
the contextual class adds the information of phases in the generic_file
Definition:
contextual.hpp:74
libdar::generic_file
this is the interface class from which all other data transfer classes inherit
Definition:
generic_file.hpp:77
libdar::slave_zapette
this class answers to order given by a zapette object
Definition:
slave_zapette.hpp:54
libdar::slave_zapette::src_ctxt
contextual * src_ctxt
same as src but seen as contextual
Definition:
slave_zapette.hpp:79
libdar::slave_zapette::action
void action()
main execution method for slave_zapette class
libdar::slave_zapette::out
generic_file * out
where to send requested info or data to
Definition:
slave_zapette.hpp:77
libdar::slave_zapette::in
generic_file * in
where to read orders from
Definition:
slave_zapette.hpp:76
libdar::slave_zapette::src
generic_file * src
where to read data from
Definition:
slave_zapette.hpp:78
libdar::slave_zapette::slave_zapette
slave_zapette(generic_file *input, generic_file *output, generic_file *data)
slave_zapette constructor
contextual.hpp
class contextual adds the information of phases in the generic_file
generic_file.hpp
class generic_file is defined here as well as class fichier
libdar
libdar namespace encapsulate all libdar symbols
Definition:
archive.hpp:47
Generated on Sat Jun 29 2024 18:10:10 for Disk ARchive by
1.9.1