Tomographer  v5.4
Tomographer C++ Framework Documentation
Tomographer::Tools::StatusQuery< StatusableObject_ > Struct Template Reference

Query status from different objects. More...

#include <tomographer/tools/statusprovider.h>

Public Types

typedef StatusableObject_ StatusableObject
 

Static Public Member Functions

template<ENABLED_IF( CanProvideStatusLine) >
static std::string getStatusLine (const StatusableObject *obj)
 
template<ENABLED_IF( !CanProvideStatusLine) >
static std::string getStatusLine (const StatusableObject *)
 
template<ENABLED_IF( CanProvideStatusFullMessage) >
static std::string getStatusFullMessage (const StatusableObject *obj)
 
template<ENABLED_IF( !CanProvideStatusFullMessage) >
static std::string getStatusFullMessage (const StatusableObject *)
 

Static Public Attributes

static constexpr bool CanProvideStatusLine = tomo_internal::status_can_provide_line<StatusableObject>::val
 
static constexpr bool CanProvideStatusFullMessage = tomo_internal::status_can_provide_fullmessage<StatusableObject>::val
 

Detailed Description

template<typename StatusableObject_>
struct Tomographer::Tools::StatusQuery< StatusableObject_ >

Query status from different objects.

These objects may, or may not, provide different status options by specializing StatusProvider.

Definition at line 101 of file statusprovider.h.


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