Go to the documentation of this file.
2 #define _OME_METHOD_H "$Id: OMEmethod.h 452 2020-07-23 20:19:23Z geoff $"
11 #define OME_INVOKE_OIL2_INTERPRET 1
12 #define OME_INVOKE_OIL2_NATIVE 2
13 #define OME_INVOKE_KERNEL_THREAD 3
14 #define OME_INVOKE_TRIVIAL_NATIVE 4
69 atomicIncrement_uint64(&
totalTicks, tickCount);
const struct OMEinstanceVarDescr * varDescRec
Definition: OMEmethod.h:37
NativeMethodFP function
Definition: OMEmethod.h:49
OMEmethod * OMEmethodP
Definition: OMEmethod.h:102
uint32_t signature
Definition: OMEmethod.h:44
uint32_t invocationMode
Definition: OMEmethod.h:47
OME_CORE_CALL void * OMEdefaultStackCreate(const class OMEinvocationData *mInfo)
Default stack creation routine for a native method.
void * data
Definition: OMEmethod.h:50
Implements associative array of OMEtype elements.
Definition: OMEassoc.h:112
Implements text and binary string storage.
Definition: OMEstring.h:305
#define OME_DELETE_OBJECT_VECTOR(ptr)
Definition: OMEmanifests.h:160
OME_FAST_CALL OMEinvocationData * findImplementationWithSignature(const uint32_t sig) const
Definition: OMEmethod.cpp:123
Fundamental ANY type for FARGOS/VISTA Object Management Environment.
Definition: OMEbaseType.h:250
OMEarray variableDescriptions
Definition: OMEmethod.h:38
Description of an OME method.
Definition: OMEmethod.h:82
int setStorageDescription(const struct OMEinstanceVarDescr *desc)
Definition: OMEmethod.cpp:69
OMEstring methodName
Definition: OMEmethod.h:86
OME_CORE_CALL int(* NativeMethodFP)(class OMEthread *)
Typedef of a native method.
Definition: OMEmethod.h:20
OME_FAST_CALL void addTickCount(const int64_t tickCount) const OME_ALWAYS_INLINE
Definition: OMEmethod.h:68
Meta data record to describe an instance variable of a class.
Definition: OMEnamespace.h:76
#define OME_INVOKE_OIL2_INTERPRET
Definition: OMEmethod.h:11
OMEarray localGlobals
Definition: OMEmethod.h:55
Base class for reference-counted data.
Definition: OMErefCount.h:31
~OMEinvocationData()
Definition: OMEmethod.cpp:61
OME_CORE_CALL void *(* CreateStackFP)(const class OMEinvocationData *mInfo)
Typedef for stack creation routine associated with a native method.
Definition: OMEmethod.h:22
OMEarray constantTable
Definition: OMEmethod.h:54
uint32_t anyMask
Definition: OMEmethod.h:45
const char srcID[]
Definition: catSym.c:17
OME_FAST_CALL int64_t getTickCount() const
Definition: OMEmethod.h:73
uint32_t stackSize
Definition: OMEmethod.h:46
OMEinvocationData * implementationList
Definition: OMEmethod.h:84
#define OME_EXPECT_TRUE(expr)
Annotation macro for conditional expression expected to be true.
Definition: compiler_hints.h:541
DeleteStackFP deleteStackRoutine
Definition: OMEmethod.h:53
OME fundamental type implementation.
CreateStackFP createStackRoutine
Definition: OMEmethod.h:52
OME_FAST_CALL uint_fast32_t listMethodInfo(OMEarray &result, const uint_fast32_t count=0) const
Definition: OMEmethod.cpp:166
const char srcID[] OME_USED
Definition: tick_time.cpp:24
OMEinvocationData()
Definition: OMEmethod.cpp:30
OME_CORE_CALL void(* DeleteStackFP)(const class OMEinvocationData *mInfo, void *data)
Typedef for stack delete routine associated with a native method.
Definition: OMEmethod.h:24
OME_FAST_CALL uint32_t getInvocationCount() const
Definition: OMEmethod.h:77
#define OME_ALWAYS_INLINE
Tell the compiler to alway inline a function, regardless of optimization level.
Definition: compiler_hints.h:364
Record to describe the implementation of the method of an OME class.
Definition: OMEmethod.h:35
void addImplementation(OMEinvocationData *impl)
Definition: OMEmethod.cpp:96
#define OME_FAST_CALL
Definition: compiler_hints.h:468
~OMEmethod()
Definition: OMEmethod.cpp:147
OME debug and profiling interfaces.
uint32_t totalInvocations
Definition: OMEmethod.h:42
Implements sparse array of OMEtype elements.
Definition: OMEarray.h:75
Public interface to an OME thread.
Definition: OMEthread.h:60
OME_FAST_CALL uint32_t getSliceCount() const
Definition: OMEmethod.h:75
uint64_t totalTicks
Definition: OMEmethod.h:39
uint32_t totalSlices
Definition: OMEmethod.h:40
OME_CORE_CALL void OMEdefaultStackDelete(const class OMEinvocationData *mInfo, void *data)
Default stack delete routine for a native method.
class OMEinvocationData * next
Definition: OMEmethod.h:43
void * OMEdefaultStackCreate(const OMEinvocationData *mInfo)
Definition: OMEmethod.cpp:14
#define OME_CORE_CALL
Definition: compiler_hints.h:472
#define OMEtype
Definition: tmp.o.cpp:396
OMEmethod(const OMEstring &nm, OMEinvocationData *impl)
Definition: OMEmethod.cpp:85
uint_fast16_t OMEconvertToStorageDescription(OMEarray &varDesc, const OMEinstanceVarDescr *desc)
Definition: OMEclass.cpp:188
union OMEinvocationData::@30 code
void OMEdefaultStackDelete(const OMEinvocationData *mInfo, void *data)
Definition: OMEmethod.cpp:24