![]() |
Diana Software
|
write handle to access and add QEvent QObject's. More...
Public Member Functions | |
| WriteHandle (const char *name) | |
| ctor More... | |
| T & | Get () |
| get object More... | |
| void | CreateObject (const char *owner) |
| create object More... | |
| QObject ** | GetAddress () |
| get object address More... | |
Public Member Functions inherited from QHandle< T > | |
| virtual bool | Exists () const |
| Check object validity. More... | |
| virtual bool | IsValid () const |
| Check object validity. More... | |
| const char * | GetObjectName () const |
| get object name More... | |
| const char * | GetObjectOwner () const |
| get object owner More... | |
| std::string | GetObjectType () const |
| get object type More... | |
| void | Set (QObject **address, const char *owner) |
| set object address (owned by the caller) and owner More... | |
| virtual | ~QHandle () |
| destructor More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QHandle< T > | |
| QHandle (const char *objectName) | |
| ctor More... | |
| void | ThrowError () const |
| QObject ** | BaseGetAddress () |
| QHandle (const QHandle &) | |
| const QHandle & | operator= (const QHandle &) |
Protected Attributes inherited from QHandle< T > | |
| const char * | fObjectName |
| const char * | fOwner |
| T * | fObject |
| QObject ** | fAddress |
write handle to access and add QEvent QObject's.
WriteHandle is the access class to write and add QObject's to the QEvent. The Get() method returns a reference to the QObject if it was previously added to the event, otherwise it throws an exception.
Definition at line 154 of file QHandle.hh.
|
inline |
ctor
Definition at line 158 of file QHandle.hh.
|
inline |
create object
Definition at line 177 of file QHandle.hh.
References QHandle< T >::Set().
Referenced by QEvent::Add().
|
inline |
get object
Definition at line 161 of file QHandle.hh.
References QHandle< T >::Exists(), QHandle< T >::fObject, QHandle< T >::fObjectName, QHandle< T >::fOwner, QHandle< T >::GetObjectType(), and QERR_EVENT_HANDLE.
Referenced by QEvent::Add(), MQinoDataReader::Do(), QEvent::Get(), QEventAssembler::Get(), and QFilter::Process().
|
inline |
get object address
Definition at line 189 of file QHandle.hh.
References QHandle< T >::BaseGetAddress().
Referenced by QEvent::Add().