MAK Legion API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Typedefs | Enumerations
c_api.h File Reference

Go to the source code of this file.

Classes

struct  LEG_vector2f
 
struct  LEG_vector2d
 
struct  LEG_vector3f
 
struct  LEG_vector3d
 
struct  LEG_vector4f
 
struct  LEG_vector4d
 
struct  LEG_object_type
 
struct  LEG_InstanceUpdateData
 

Typedefs

typedef unsigned char UInt8
 
typedef signed char Int8
 
typedef unsigned short UInt16
 
typedef short Int16
 
typedef unsigned int UInt32
 
typedef int Int32
 
typedef unsigned long long UInt64
 
typedef long long Int64
 
typedef UInt8 Bool
 
typedef unsigned long long DatabaseHandle
 
typedef unsigned long long EntityManagerHandle
 
typedef unsigned long long ViewManagerHandle
 
typedef unsigned long long ConfigHandle
 
typedef unsigned long long EventManagerHandle
 
typedef unsigned long long ControlManagerHandle
 
typedef unsigned long long OwnershipManagerHandle
 
typedef unsigned long long InteractionHandle
 
typedef unsigned long long EventHandle
 
typedef unsigned long long ControlHandle
 
typedef unsigned long long AttributeSetHandle
 
typedef unsigned long long ViewHandle
 
typedef unsigned long long InstanceHandle
 
typedef unsigned long long ConnectionHandle
 
typedef unsigned long long GlobalId
 
typedef unsigned int ClientId
 
typedef unsigned int AttributeId
 
typedef unsigned int AttributeIndex
 
typedef unsigned int ParameterId
 
typedef unsigned int EventType
 
typedef unsigned int ControlType
 
typedef unsigned int AttributeSetId
 
typedef unsigned long long TransactionId
 

Enumerations

enum  LEG_ReturnCode {
  Return_success = 0, Return_invalidHandle, Return_invalidInput, Return_invalidOperation,
  Return_fileOpenFailed, Return_managerObjectNotFound, Return_noSuchAttributeSet, Return_noSuchAttributeTable,
  Return_noSuchAttributeInstance, Return_noSuchEventTable, Return_noSuchEventInstance, Return_noAttributeData,
  Return_userDataBufferTooShort, Return_operationFailed, Return_hasMoreRecords, Return_hasLessRecords,
  Return_variableSizeData, Return_unknownDataType, Return_noSuchValue = 0xFFFFFFFF
}
 
enum  LEG_DataType {
  DataType_Bool, DataType_UInt8, DataType_Int8, DataType_UInt16,
  DataType_Int16, DataType_UInt32, DataType_Int32, DataType_UInt64,
  DataType_Int64, DataType_Float, DataType_Double, DataType_Vector2f,
  DataType_Vector2d, DataType_Vector3f, DataType_Vector3d, DataType_Vector4f,
  DataType_Vector4d, DataType_ObjectType
}
 
enum  LEG_Bool { Bool_False, Bool_True }
 
enum  LEG_Scope { View_Local = 0, View_Remote, View_All }
 

Typedef Documentation

typedef unsigned int AttributeId
typedef unsigned int AttributeIndex
typedef unsigned long long AttributeSetHandle
typedef unsigned int AttributeSetId
typedef UInt8 Bool
typedef unsigned int ClientId
typedef unsigned long long ConfigHandle
typedef unsigned long long ConnectionHandle
typedef unsigned long long ControlHandle
typedef unsigned long long ControlManagerHandle
typedef unsigned int ControlType
typedef unsigned long long DatabaseHandle
typedef unsigned long long EntityManagerHandle
typedef unsigned long long EventHandle
typedef unsigned long long EventManagerHandle
typedef unsigned int EventType
typedef unsigned long long GlobalId
typedef unsigned long long InstanceHandle
typedef short Int16
typedef int Int32
typedef long long Int64
typedef signed char Int8
typedef unsigned long long InteractionHandle
typedef unsigned long long OwnershipManagerHandle
typedef unsigned int ParameterId
typedef unsigned long long TransactionId
typedef unsigned short UInt16
typedef unsigned int UInt32
typedef unsigned long long UInt64
typedef unsigned char UInt8
typedef unsigned long long ViewHandle
typedef unsigned long long ViewManagerHandle

Enumeration Type Documentation

enum LEG_Bool

C API Bool Type

Enumerator
Bool_False 
Bool_True 

C API Attribute Data Types. The enum values of LEG_DataType are in sync with Legion's data types

Enumerator
DataType_Bool 
DataType_UInt8 
DataType_Int8 
DataType_UInt16 
DataType_Int16 
DataType_UInt32 
DataType_Int32 
DataType_UInt64 
DataType_Int64 
DataType_Float 
DataType_Double 
DataType_Vector2f 
DataType_Vector2d 
DataType_Vector3f 
DataType_Vector3d 
DataType_Vector4f 
DataType_Vector4d 
DataType_ObjectType 

C API Error Codes

Enumerator
Return_success 
Return_invalidHandle 
Return_invalidInput 
Return_invalidOperation 
Return_fileOpenFailed 
Return_managerObjectNotFound 
Return_noSuchAttributeSet 
Return_noSuchAttributeTable 
Return_noSuchAttributeInstance 
Return_noSuchEventTable 
Return_noSuchEventInstance 
Return_noAttributeData 
Return_userDataBufferTooShort 
Return_operationFailed 
Return_hasMoreRecords 
Return_hasLessRecords 
Return_variableSizeData 
Return_unknownDataType 
Return_noSuchValue 
enum LEG_Scope

The Legion's local and remote views enum declaration

Enumerator
View_Local 
View_Remote 
View_All 

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)