Event Wrapper¶
- group FnEventWrapper
 - 
class Foundry::Katana::ViewerAPI::FnEventWrapper¶
 - #include <FnEventWrapper.h>
A Wrapper for UI events.
The event is used to pass UI event data from the viewport widget in Katana to Viewports. Events are generated by “EventTranslator” python plug-ins which convert Qt QEvents into attributes.
Public Types
Public Functions
- 
FnEventWrapper()¶
 
- 
FnEventWrapper(const FnAttribute::GroupAttribute &attr)¶
 
- 
FnEventWrapper(const FnEventWrapper &other)¶
 
- 
~FnEventWrapper()¶
 
- 
std::string getType() const¶
 Returns the type of event as a string.
- 
FnAttribute::Hash getTypeHash() const¶
 Returns the hash of the eventType StringAttribute for faster comparisons.
- 
FnAttribute::GroupAttribute getData() const¶
 Returns a GroupAttribute containing the additional event data.
- 
FnAttributeHandle getHandle() const¶
 Returns an attribute handle for the event data.
- 
FnAttributeHandle getRetainedHandle() const¶
 Returns a retained attribute handle for the event data.
 - 
FnEventWrapper()¶
 
- 
class Foundry::Katana::ViewerAPI::FnEventWrapper¶