Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/pheventregion_t.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/pheventregion_t.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/pheventregion_t.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/pheventregion_t.html on line 8
Data structure describing the emitter and collector of an event
typedef struct Ph_event_region {
PhRid_t rid;
long handle;
} PhEventRegion_t;
The PhEventRegion_t structure describes the emitter and
the collector of events.
It contains at least the following members:
- PhRid_t rid
- The ID of a region. This member lets an application determine
which of its regions emitted or collected an event.
The following constants are defined in <photon/PhT.h>:
- Ph_DEV_RID — the ID of the device region.
- Ph_ROOT_RID — the ID of the root region.
- long handle
- The user-definable handle that the application specifies
when it opens the region. Applications can use
handle to quickly pass a small amount
of information along with events. For example, the widget
(Pt*()) functions use handle internally.
If the region described by a
PhEventRegion_t structure isn't owned
by the application that collected the event, then the
Photon Manager sets handle to 0.
Photon
PhEvent_t,
PhRegion_t
Events
chapter of the Photon Programmer's Guide.
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/pheventregion_t.html on line 114
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/pheventregion_t.html on line 114