Lexis  1.0.0
Vocabulary of events and shared objects for BBP and HBP software
lexis::data::Progress Class Reference

Drop-in progress meter for boost::progress_display. More...

#include <Progress.h>

+ Inheritance diagram for lexis::data::Progress:
+ Collaboration diagram for lexis::data::Progress:

Public Member Functions

 Progress (unsigned long expected)
 
 Progress (const std::string &operation, unsigned long expected)
 
void restart (unsigned long expected)
 
unsigned long operator+= (unsigned long inc)
 
unsigned long operator++ ()
 
unsigned long count () const
 
- Public Member Functions inherited from lexis::data::detail::Progress
Progress::Operation & getOperation ()
 Get a reference to the char dynamic member. More...
 
const Progress::Operation & getOperation () const
 
void setOperation (char const *value, size_t size)
 Set the value of the char dynamic object from a char* and size. More...
 
std::string getOperationString () const
 
void setOperation (const std::string &value)
 Set the value of the char dynamic object from a std::string. More...
 
float getAmount () const
 
void setAmount (float value)
 Set the value of the float fixed size member. More...
 
void compact (float threshold=0.1f) final
 
 Progress (const std::string &operationValue, const float &amountValue)
 
 Progress (const Progress &rhs)
 
 Progress (Progress &&rhs) noexcept
 
 Progress (const ::zerobuf::Zerobuf &rhs)
 
 Progress (::zerobuf::AllocatorPtr allocator)
 
Progressoperator= (const Progress &rhs)
 
Progressoperator= (Progress &&rhs)
 
std::string getSchema () const final
 
std::string getTypeName () const final
 
::zerobuf::uint128_t getTypeIdentifier () const final
 
size_t getZerobufStaticSize () const final
 
size_t getZerobufNumDynamics () const final
 
void _parseJSON (const Json::Value &json) final
 
void _createJSON (Json::Value &json) const final
 

Additional Inherited Members

- Public Types inherited from lexis::data::detail::Progress
typedef ::zerobuf::Vector< char > Operation
 
- Static Public Member Functions inherited from lexis::data::detail::Progress
static std::string ZEROBUF_SCHEMA ()
 
static std::string ZEROBUF_TYPE_NAME ()
 
::zerobuf::uint128_t ZEROBUF_TYPE_IDENTIFIER ()
 
static size_t ZEROBUF_STATIC_SIZE ()
 
static size_t ZEROBUF_NUM_DYNAMICS ()
 
static ConstProgressPtr create (const void *data, const size_t size)
 

Detailed Description

Drop-in progress meter for boost::progress_display.

Definition at line 17 of file Progress.h.


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