ant
A2 ant: class-based analysis framework
ant::TSlowControl Struct Reference

#include <TSlowControl.h>

+ Collaboration diagram for ant::TSlowControl:

Public Types

enum  Type_t : std::uint8_t {
  Type_t::AcquScaler, Type_t::EpicsOneShot, Type_t::EpicsScaler, Type_t::EpicsTimer,
  Type_t::Ant
}
 
enum  Validity_t : std::uint8_t { Validity_t::Backward, Validity_t::Forward }
 The Validity_t enum determines if the slowcontrol item is valid for the upcoming or the previous events. More...
 

Public Member Functions

 TSlowControl (Type_t type, Validity_t validity, std::time_t timestamp, const std::string &name, const std::string &description)
 
 TSlowControl ()=default
 
template<class Archive >
void serialize (Archive &archive)
 
const char * TypeToString () const
 
const char * ValidityToString () const
 

Public Attributes

Type_t Type
 
Validity_t Validity
 
std::int64_t Timestamp
 
std::string Name
 
std::string Description
 
std::vector< TKeyValue< std::int64_t > > Payload_Int
 
std::vector< TKeyValue< double > > Payload_Float
 
std::vector< TKeyValue< std::string > > Payload_String
 

Friends

std::ostream & operator<< (std::ostream &s, const TSlowControl &o)
 

Member Enumeration Documentation

◆ Type_t

enum ant::TSlowControl::Type_t : std::uint8_t
strong
Enumerator
AcquScaler 
EpicsOneShot 
EpicsScaler 
EpicsTimer 
Ant 

◆ Validity_t

enum ant::TSlowControl::Validity_t : std::uint8_t
strong

The Validity_t enum determines if the slowcontrol item is valid for the upcoming or the previous events.

Enumerator
Backward 
Forward 

Constructor & Destructor Documentation

◆ TSlowControl() [1/2]

ant::TSlowControl::TSlowControl ( Type_t  type,
Validity_t  validity,
std::time_t  timestamp,
const std::string &  name,
const std::string &  description 
)
inline

◆ TSlowControl() [2/2]

ant::TSlowControl::TSlowControl ( )
default

Member Function Documentation

◆ serialize()

template<class Archive >
void ant::TSlowControl::serialize ( Archive &  archive)
inline

◆ TypeToString()

const char* ant::TSlowControl::TypeToString ( ) const
inline

◆ ValidityToString()

const char* ant::TSlowControl::ValidityToString ( ) const
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  s,
const TSlowControl o 
)
friend

Member Data Documentation

◆ Description

std::string ant::TSlowControl::Description

◆ Name

std::string ant::TSlowControl::Name

◆ Payload_Float

std::vector< TKeyValue<double> > ant::TSlowControl::Payload_Float

◆ Payload_Int

std::vector< TKeyValue<std::int64_t> > ant::TSlowControl::Payload_Int

◆ Payload_String

std::vector< TKeyValue<std::string> > ant::TSlowControl::Payload_String

◆ Timestamp

std::int64_t ant::TSlowControl::Timestamp

◆ Type

Type_t ant::TSlowControl::Type

◆ Validity

Validity_t ant::TSlowControl::Validity

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