MAK Legion API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
CustomEvent Class Reference
+ Inheritance diagram for CustomEvent:
+ Collaboration diagram for CustomEvent:

Public Member Functions

 CustomEvent ()
 
 CustomEvent (Legion::EventHandle handle)
 
 ~CustomEvent ()
 
Legion::UInt64 paramIdSource () const
 
void setSourceId (const Legion::UInt64 &sourceId)
 
Legion::UInt64 paramIdTarget () const
 
void setTargetId (const Legion::UInt64 &targetId)
 
- Public Member Functions inherited from Legion::EventInstance
 EventInstance (const EventInstance &orig)
 copy constructor More...
 
EventInstanceoperator= (const EventInstance &orig)
 assignment operator More...
 
EventHandle handle () const
 Returns the event handle to the internal representation. More...
 
EventType typeId () const
 Returns the type ID of the event. More...
 
template<typename DATA_TYPE >
DATA_TYPE data (ParameterId parameterId) const
 Returns the data of a given parameter. More...
 
template<typename DATA_TYPE >
const Span< DATA_TYPE > dataArray (ParameterId parameterId) const
 Returns an array of data for a given parameters, if the particular parameter's cardinality is greater than one. More...
 
template<typename DATA_TYPE >
void setData (ParameterId parameterId, const DATA_TYPE &val)
 Sets a given parameters value. More...
 
template<typename DATA_TYPE >
void setDataArray (ParameterId parameterId, const Span< DATA_TYPE > &val)
 Sets a given parameter to an array of values, if the particular parameter's cardinality is greater than one. More...
 
void setDataArrayLength (ParameterId paramId, UInt32 length)
 Set the length of a variable length array parameter. This only works for variable length array parameters. More...
 
UInt32 dataArrayLength (ParameterId paramId) const
 Get the length of the parameter if it is an array. More...
 

Static Public Member Functions

static Legion::EventType eventType ()
 

Static Public Attributes

static Legion::EventType theEventType
 
static Legion::ParameterId theParamIdSource
 
static Legion::ParameterId theParamIdTarget
 

Additional Inherited Members

- Protected Member Functions inherited from Legion::EventInstance
 EventInstance (EventHandle handle)
 constructor More...
 
virtual ~EventInstance ()
 
- Protected Attributes inherited from Legion::EventInstance
EventHandle myHandle
 

Constructor & Destructor Documentation

CustomEvent::CustomEvent ( )
inline
CustomEvent::CustomEvent ( Legion::EventHandle  handle)
inline
CustomEvent::~CustomEvent ( )
inline

Member Function Documentation

static Legion::EventType CustomEvent::eventType ( )
inlinestatic

References theEventType.

Legion::UInt64 CustomEvent::paramIdSource ( ) const
inline

References theParamIdSource.

Legion::UInt64 CustomEvent::paramIdTarget ( ) const
inline

References theParamIdTarget.

void CustomEvent::setSourceId ( const Legion::UInt64 sourceId)
inline

References theParamIdSource.

Referenced by main().

void CustomEvent::setTargetId ( const Legion::UInt64 targetId)
inline

References theParamIdTarget.

Member Data Documentation

Legion::EventType CustomEvent::theEventType
static

Referenced by eventType(), and registerCustomEvent().

Legion::ParameterId CustomEvent::theParamIdSource
static
Legion::ParameterId CustomEvent::theParamIdTarget
static

The documentation for this class was generated from the following file:

Document ID: Generated on Mon Mar 8 15:11:30 EST 2021 from SVN revision 225633
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)