Loading...
Searching...
No Matches
libdar::slave_zapette Class Reference
Private

this class answers to order given by a zapette object More...

`#include <slave_zapette.hpp>`

## Public Member Functions

| slave_zapette (generic_file *input, generic_file *output, generic_file *data)
| slave_zapette constructor
| slave_zapette (const slave_zapette &ref)=delete
| slave_zapette (slave_zapette &&ref) noexcept=delete
slave_zapette & | operator= (const slave_zapette &ref)=delete
slave_zapette & | operator= (slave_zapette &&ref) noexcept=delete
void | action ()
| main execution method for slave_zapette class

## Private Attributes

generic_file * | in
| where to read orders from
generic_file * | out
| where to send requested info or data to
generic_file * | src
| where to read data from
contextual * | src_ctxt
| same as src but seen as contextual

## Detailed Description

this class answers to order given by a zapette object

through a pair of pipes slave_zapette return information about a given local archive (single or multi slices).

Definition at line 53 of file slave_zapette.hpp.

## Constructor & Destructor Documentation

## slave_zapette()

libdar::slave_zapette::slave_zapette | ( | generic_file * | input,
|  | generic_file * | output,
|  | generic_file * | data )

slave_zapette constructor

Parameters

  [in] | input | is used to receive orders from an zapette object
  [in] | output | is used to return informations or data in answer to received orders
  [in] | data | is where the informations or data is taken from. Object must inherit from contextual

References slave_zapette().

Referenced by slave_zapette().

## Member Function Documentation

## action()

void libdar::slave_zapette::action | ( |  | ) |

main execution method for slave_zapette class

this method implement a loop waiting for orders and answering to them the loop stops when a special order is received from the peer zapette object

## Member Data Documentation

## in

generic_file* libdar::slave_zapette::in

private

where to read orders from

Definition at line 76 of file slave_zapette.hpp.

## out

generic_file* libdar::slave_zapette::out

private

where to send requested info or data to

Definition at line 77 of file slave_zapette.hpp.

## src

generic_file* libdar::slave_zapette::src

private

where to read data from

Definition at line 78 of file slave_zapette.hpp.

## src_ctxt

contextual* libdar::slave_zapette::src_ctxt

private

same as src but seen as contextual

Definition at line 79 of file slave_zapette.hpp.

The documentation for this class was generated from the following file:

- slave_zapette.hpp