![]() |
Diana Software
|
abstract class for QEvent handlers More...
Public Member Functions | |
| 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... | |
Protected Member Functions | |
| QHandle (const char *objectName) | |
| ctor More... | |
| void | ThrowError () const |
| QObject ** | BaseGetAddress () |
| QHandle (const QHandle &) | |
| const QHandle & | operator= (const QHandle &) |
Protected Attributes | |
| const char * | fObjectName |
| const char * | fOwner |
| T * | fObject |
| QObject ** | fAddress |
abstract class for QEvent handlers
QHandle is the abstract class for accessing QEvent QObject's in read (ReadHandle) and write (WriteHandle) mode. Each handle corresponds to a single QObject, and attempts to use the same handle for different QObject's will throw an exception.
Definition at line 26 of file QHandle.hh.
destructor
Definition at line 63 of file QHandle.hh.
ctor
Definition at line 68 of file QHandle.hh.
References QHandle< T >::fObjectName, and QHandle< T >::fOwner.
Definition at line 105 of file QHandle.hh.
Definition at line 95 of file QHandle.hh.
References QHandle< T >::fAddress.
Referenced by WriteHandle< T >::GetAddress().
|
inlinevirtual |
Check object validity.
Definition at line 31 of file QHandle.hh.
References QHandle< T >::fObject.
Referenced by WriteHandle< T >::Get(), QHandle< T >::IsValid(), QEvent::RequireByLabel(), and QHandle< T >::ThrowError().
|
inline |
get object name
Definition at line 37 of file QHandle.hh.
References QHandle< T >::fObjectName.
Referenced by QEvent::Add(), and QEvent::Get().
|
inline |
|
inline |
get object type
Definition at line 43 of file QHandle.hh.
References Demangle(), and QHandle< T >::fObject.
Referenced by WriteHandle< T >::Get(), QEvent::RequireByLabel(), QHandle< T >::Set(), and QHandle< T >::ThrowError().
|
inlinevirtual |
Check object validity.
Definition at line 34 of file QHandle.hh.
References QHandle< T >::Exists(), and QHandle< T >::fObject.
Referenced by MTestLight::Do(), MTestModule::Do(), MTestNeighbours::Do(), MQinoDataReader::Do(), QFileWriter::Do(), QUnrollSidePulses::FillList(), MFilterValidity::Filter(), ReadHandle< T >::Get(), QFileWriter::IsToOpen(), and QHandle< T >::ThrowError().
Definition at line 106 of file QHandle.hh.
set object address (owned by the caller) and owner
Definition at line 46 of file QHandle.hh.
References QHandle< T >::fAddress, QHandle< T >::fObject, QHandle< T >::fOwner, QHandle< T >::GetObjectType(), and QERR_EVENT_HANDLE.
Referenced by QEvent::Add(), WriteHandle< T >::CreateObject(), QEvent::Get(), and QEvent::GetByLabel().
|
inlineprotected |
Definition at line 74 of file QHandle.hh.
References QHandle< T >::Exists(), QHandle< T >::fObject, QHandle< T >::fObjectName, QHandle< T >::fOwner, QHandle< T >::GetObjectType(), QHandle< T >::IsValid(), and QERR_EVENT_HANDLE.
Referenced by ReadHandle< T >::Get().
Definition at line 103 of file QHandle.hh.
Referenced by QHandle< T >::BaseGetAddress(), and QHandle< T >::Set().
|
protected |
Definition at line 102 of file QHandle.hh.
Referenced by QHandle< T >::Exists(), WriteHandle< T >::Get(), ReadHandle< T >::Get(), QHandle< T >::GetObjectType(), QHandle< T >::IsValid(), QHandle< T >::Set(), and QHandle< T >::ThrowError().
|
protected |
Definition at line 100 of file QHandle.hh.
Referenced by WriteHandle< T >::Get(), QHandle< T >::GetObjectName(), QHandle< T >::QHandle(), and QHandle< T >::ThrowError().
|
protected |
Definition at line 101 of file QHandle.hh.
Referenced by WriteHandle< T >::Get(), QHandle< T >::GetObjectOwner(), QHandle< T >::QHandle(), QHandle< T >::Set(), and QHandle< T >::ThrowError().