FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
OMEthread.cpp File Reference
#include <OMEdebugInfo.h>
#include <OMEfunctions.h>
#include <OMEthread.h>
#include <OMEnamespace.h>
#include <OMEobjACL.h>
#include <OMEerror.h>
#include <OMErouteEntry.h>
#include <OMEcore.h>
#include <utils/base/atomic_values.h>
#include <utils/logging/logging_api.hpp>

Macros

#define THIS_COMPONENT   app
 
#define ARG_IS_INT(x)   OME_TypeCheck::isHeldBy32BitInteger(x)
 
#define INCREMENT_COUNTER32_BY(v, amt)
 
#define SIMPLE_INCREMENT_COUNTER32_BY(v, amt)   atomicIncrement_uint32(&v, amt)
 

Functions

int yieldSlice (OMEthread *thread, OMEtype &result)
 
int oidIsExternal (OMEthread *thread, OMEtype &result, const OMEtype &obj)
 
void unregisterAllServices ()
 
int registerService (OMEthread *thread, OMEtype &result, const OMEtype &name, const OMEtype &obj, const OMEtype &flag)
 
int unregisterService (OMEthread *thread, OMEtype &result, const OMEtype &name, const OMEtype &obj)
 
int lookupLocalService (OMEthread *thread, OMEtype &result, const OMEtype &name)
 
int listRegisteredServices (OMEthread *, OMEtype &result, const OMEtype &flag)
 
void doAbort ()
 
int inCalledMethod (OMEthread *thread, OMEtype &result)
 
OMEtypeOILnextIterator (int *rc, OMEtype &setVar)
 
bool OMEokToAssignTypes (uint32_t srcType, uint32_t targetType, OMEthread *t)
 
OME_DLL_EXPORT void INIT_DECLARE_OMEthread ()
 

Macro Definition Documentation

◆ ARG_IS_INT

#define ARG_IS_INT (   x)    OME_TypeCheck::isHeldBy32BitInteger(x)

◆ INCREMENT_COUNTER32_BY

#define INCREMENT_COUNTER32_BY (   v,
  amt 
)
Value:
do { uint32_t *ptr = v.getAddress(); \
atomicIncrement_uint32(ptr, amt); } while (0)

◆ SIMPLE_INCREMENT_COUNTER32_BY

#define SIMPLE_INCREMENT_COUNTER32_BY (   v,
  amt 
)    atomicIncrement_uint32(&v, amt)

◆ THIS_COMPONENT

#define THIS_COMPONENT   app

Function Documentation

◆ doAbort()

void doAbort ( )

◆ inCalledMethod()

int inCalledMethod ( OMEthread thread,
OMEtype result 
)

◆ INIT_DECLARE_OMEthread()

OME_DLL_EXPORT void INIT_DECLARE_OMEthread ( )
Generated: Tue Jul 28 2020 16:03:26
Support Information