DLS  1.6
LibDLS::JobPreset Class Reference

Auftragsvorgaben mit Liste der Kanalvorgaben. More...

Public Member Functions

void import (const std::string &, unsigned int)
 
void import_from (const DlsProto::JobPresetInfo &)
 
unsigned int id () const
 
const std::string & description () const
 
std::string id_desc () const
 
const std::string & owner () const
 
bool running () const
 
uint64_t quota_time () const
 
uint64_t quota_size () const
 
const std::string & source () const
 
uint16_t port () const
 
const std::string & trigger () const
 
const std::vector< ChannelPreset > * channels () const
 
bool channel_exists (const std::string &) const
 
void set_job_preset_info (DlsProto::JobPresetInfo *) const
 

Protected Attributes

unsigned int _id
 Job ID. More...
 
std::string _description
 Beschreibender Name des Auftrages.
 
std::string _owner
 Besitzer des Auftrages. More...
 
bool _running
 Soll erfasst werden?
 
uint64_t _quota_time
 Auftrags-Quota nach Zeit.
 
uint64_t _quota_size
 Auftrags-Quota nach Datengröße.
 
std::string _source
 IP-Adresse oder Hostname der Datenquelle.
 
uint16_t _port
 Port der Datenquelle. More...
 
std::string _trigger
 Name des Trigger-Parameters, andernfalls leer.
 
std::vector< ChannelPreset_channels
 Liste der Kanalvorgaben.
 

Detailed Description

Auftragsvorgaben mit Liste der Kanalvorgaben.

Enthält Beschreibung, Zustand, Datenquelle, Trigger, usw.

Definition at line 64 of file JobPreset.h.

Member Data Documentation

◆ _id

unsigned int LibDLS::JobPreset::_id
protected

Job ID.

Definition at line 90 of file JobPreset.h.

◆ _owner

std::string LibDLS::JobPreset::_owner
protected

Besitzer des Auftrages.

Todo:
Nicht genutzt

Definition at line 92 of file JobPreset.h.

◆ _port

uint16_t LibDLS::JobPreset::_port
protected

Port der Datenquelle.

Definition at line 97 of file JobPreset.h.