Guitar
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | List of all members
StatusInfo Class Reference

#include <StatusInfo.h>

Classes

struct  Message
 

Public Member Functions

 StatusInfo ()=default
 

Static Public Member Functions

static StatusInfo Clear ()
 
static StatusInfo message (Message const &msg)
 
static StatusInfo progress (Message const &msg, float progress=-1.0f)
 
static StatusInfo progress (float progress)
 

Public Attributes

std::optional< Messagemessage_
 
std::optional< float > progress_
 

Private Member Functions

 StatusInfo (std::optional< Message > message, std::optional< float > progress)
 

Constructor & Destructor Documentation

◆ StatusInfo() [1/2]

StatusInfo::StatusInfo ( std::optional< Message message,
std::optional< float >  progress 
)
inlineprivate

◆ StatusInfo() [2/2]

StatusInfo::StatusInfo ( )
default

Member Function Documentation

◆ Clear()

static StatusInfo StatusInfo::Clear ( )
inlinestatic
Here is the call graph for this function:

◆ message()

static StatusInfo StatusInfo::message ( Message const &  msg)
inlinestatic
Here is the call graph for this function:

◆ progress() [1/2]

static StatusInfo StatusInfo::progress ( float  progress)
inlinestatic
Here is the call graph for this function:

◆ progress() [2/2]

static StatusInfo StatusInfo::progress ( Message const &  msg,
float  progress = -1.0f 
)
inlinestatic
Here is the call graph for this function:

Member Data Documentation

◆ message_

std::optional<Message> StatusInfo::message_

◆ progress_

std::optional<float> StatusInfo::progress_

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