49 std::stringstream msg;
51 <<
" already owns a QObject";
53 msg<<
" Owned by: "<<
fOwner;
76 std::stringstream msg;
78 <<
"; Owner: "<<this->
fOwner
81 msg<<
" ) does not exist";
85 msg<<
" ) is not valid";
164 std::stringstream msg;
166 <<
"; Owner : "<<this->
fOwner
168 <<
" ) does not exist (probably not added to the event?)";
std::string Demangle(const C &obj, int firstChar=0)
#define Q_BEGIN_NAMESPACE
error class with error type and description
abstract class for QEvent handlers
std::string GetObjectType() const
get object type
const QHandle & operator=(const QHandle &)
void Set(QObject **address, const char *owner)
set object address (owned by the caller) and owner
const char * GetObjectName() const
get object name
QHandle(const char *objectName)
ctor
QObject ** BaseGetAddress()
virtual ~QHandle()
destructor
virtual bool IsValid() const
Check object validity.
virtual bool Exists() const
Check object validity.
const char * GetObjectOwner() const
get object owner
base class for objects handled by QEvent and QGlobalDataManager.
read handle to access QEvent QObject's.
ReadHandle(const char *name)
ctor
const T & Get() const
Get Object.
write handle to access and add QEvent QObject's.
WriteHandle(const char *name)
ctor
void CreateObject(const char *owner)
create object
QObject ** GetAddress()
get object address