Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cLogQuestion Class Reference

#include <cLogQuestion.h>

Inheritance diagram for GrayLib::cLogQuestion:
Gray::cRefBase IUnknown

Public Member Functions

 cLogQuestion (void)
 
virtual ~cLogQuestion (void)
 
- Public Member Functions inherited from Gray::cRefBase
 cRefBase (int iRefCount=0) noexcept
 
virtual ~cRefBase ()
 
int get_RefCount () const noexcept
 
HASHCODE_t get_HashCode () const noexcept
 
 STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept
 
virtual void onFinalRelease ()
 
bool isValidObj () const noexcept
 
 STDMETHOD_ (ULONG, AddRef)(void) override
 
 STDMETHOD_ (ULONG, Release)(void) override
 
STDMETHOD() QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
 
void IncRefCount ()
 
void DecRefCount ()
 
bool isStaticConstruct () const noexcept
 
void StaticConstruct ()
 
void StaticDestruct ()
 
bool isDestructing () noexcept
 
void SetDestructing ()
 

Public Attributes

HASHCODE_t m_Id
 
cString m_sMsg
 Unique id for the message/question/issue. Hash of some ID string. More...
 

Detailed Description

This is an open question/issue that should get feedback (or just acknowledgment) from a/the user. It has a unique id and might be closed once the issue has cleared. In some ways similar to "Toaster"

  1. Don't duplicate these. Don't ask the same question over and over.
  2. ID such that the question can be answered.
  3. Revocable. The condition that cause the question may clear on its own and we don't need to have this open question anymore.
  4. The system must have async notification that a user has responded. Some questions might just need an ACK as an answer. should this question persist to the next run of the app? In a multi user system this message might be aimed at a particular user ? or group of users? Topic queue?

Constructor & Destructor Documentation

◆ cLogQuestion()

GrayLib::cLogQuestion::cLogQuestion ( void  )

◆ ~cLogQuestion()

GrayLib::cLogQuestion::~cLogQuestion ( void  )
virtual

Member Data Documentation

◆ m_Id

HASHCODE_t GrayLib::cLogQuestion::m_Id

◆ m_sMsg

cString GrayLib::cLogQuestion::m_sMsg

Unique id for the message/question/issue. Hash of some ID string.


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