Home | Download | Screen shots | Discussion | Documentation |
---|
#include <openvrml/browser.h>
browser
-wide event. Public Types | |
enum | type_id { initialized = 1, shutdown = 2 } |
browser_event type identifier. More... | |
Public Member Functions | |
type_id | id () const throw () |
Event type identifier. | |
browser & | source () const throw () |
The browser that emitted the event. | |
Private Member Functions | |
browser_event (browser &b, type_id id) throw () | |
Construct. | |
Private Attributes | |
browser * | source_ |
The browser from which the event originated. | |
type_id | id_ |
Event type identifier. | |
Friends | |
class | browser |
Only browsers can construct browser_events . |
browser_event
type identifier.
Construct.
For internal use only.
[in] | b | the browser from which the event originated. |
[in] | id | the event type. |
openvrml::browser_event::type_id openvrml::browser_event::id | ( | ) | const throw () |
Event type identifier.
openvrml::browser & openvrml::browser_event::source | ( | ) | const throw () |
openvrml::browser_event::browser [friend] |
Only browsers
can construct browser_events
.
openvrml::browser * openvrml::browser_event::source_ [private] |
Event type identifier.
For internal use only.