μHAL (v2.6.5)
Part of the IPbus software repository
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
uhal::logo Class Reference

Fun class to print the "Imperial College London" logo one character at a time (A more interesting to show progress than printing dots) More...

#include <uhal/logo.hpp>

Public Member Functions

 logo ()
 Constructor. More...
 
 ~logo ()
 Destructor. More...
 
void operator++ (int aDummy)
 Print the next character in the logo. More...
 

Private Attributes

const char * mPtr
 The next character to print. More...
 

Static Private Attributes

static const char *const mLogoStr
 The raw message encoding the "Imperial College London" logo in ASCII. More...
 

Detailed Description

Fun class to print the "Imperial College London" logo one character at a time (A more interesting to show progress than printing dots)

Definition at line 11 of file logo.hpp.

Constructor & Destructor Documentation

◆ logo()

uhal::logo::logo ( )

Constructor.

Definition at line 8 of file logo.cpp.

◆ ~logo()

uhal::logo::~logo ( )

Destructor.

Definition at line 10 of file logo.cpp.

Member Function Documentation

◆ operator++()

void uhal::logo::operator++ ( int  aDummy)

Print the next character in the logo.

Parameters
aDummya dummy parameter to make the operator postfix

Definition at line 15 of file logo.cpp.

References mLogoStr, and mPtr.

Member Data Documentation

◆ mLogoStr

const char *const uhal::logo::mLogoStr
staticprivate

The raw message encoding the "Imperial College London" logo in ASCII.

Definition at line 33 of file logo.hpp.

Referenced by operator++().

◆ mPtr

const char* uhal::logo::mPtr
private

The next character to print.

Definition at line 31 of file logo.hpp.

Referenced by operator++().


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