tbx
0.7.6
|
Information passed back by the Toolbox with each toolbox event providing information on where the event occurred. More...
#include <pollinfo.h>
Public Member Functions | |
IdBlock () | |
Construct uninitialised IdBlock. | |
IdBlock (Object obj) | |
Construct IdBlock with details from the given object. | |
Object | self_object () const |
Get the object the event occured on. | |
Component | self_component () const |
Get the component the event occured on. More... | |
Object | parent_object () const |
Get the parent object of the object the event occured upon. More... | |
Component | parent_component () const |
Get the parent component of the object the event occured on. More... | |
Object | ancestor_object () const |
Get the ancestor object of the object the event occured upon. More... | |
Component | ancestor_component () const |
Get the ancestor component of the object the event occured on. More... | |
Friends | |
class | EventRouter |
Information passed back by the Toolbox with each toolbox event providing information on where the event occurred.
Component IdBlock::ancestor_component | ( | ) | const |
Get the ancestor component of the object the event occured on.
The returned component will be null if the event did not occur on a component.
Object IdBlock::ancestor_object | ( | ) | const |
Get the ancestor object of the object the event occured upon.
The object will be null if there was no parent object.
Component IdBlock::parent_component | ( | ) | const |
Get the parent component of the object the event occured on.
The returned component will be null if the event did not occur on a component.
Object IdBlock::parent_object | ( | ) | const |
Get the parent object of the object the event occured upon.
The object will be null if there was no parent object.
Component IdBlock::self_component | ( | ) | const |
Get the component the event occured on.
The returned component will be null if the event did not occur on a component.