Go to the documentation of this file.
31 #ifndef GENAPI_SYNCH_H
32 #define GENAPI_SYNCH_H
40 #elif defined (__GNUC__) && (defined (__linux__) || defined (__APPLE__))
44 #elif defined(VXWORKS)
49 # error No/unknown platform thread support
91 CRITICAL_SECTION m_csObject;
93 #elif defined (__GNUC__) && (defined (__linux__) || defined (__APPLE__))
94 pthread_mutex_t m_mtxObject;
96 #elif defined(VXWORKS)
99 # error No/unknown platform thread support
112 # if defined (_WIN32)
120 # elif defined (__GNUC__) && (defined (__linux__) || defined (__APPLE__) || defined(VXWORKS))
123 # error No/unknown platform support
168 template<
class Object>
200 return Lock( *
this );
206 #endif // GENAPI_SYNCH_H
Lexical analyzer for CIntSwissKnife.
void Lock()
enters the critical section (may block)
const LockableObject< Object > & m_Object
Reference to outer object.
Lock & operator=(const Lock &)
void Unlock()
leaves the critical section
Lock(const LockableObject< Object > &obj)
AutoLock & operator=(const AutoLock &)
Lock GetLock() const
Get a new lock.
This class is for testing purposes only. It should not be used for client code because it exists only...
Instance-Lock for an object.
virtual IBoolean & operator=(bool Value)
Set node value.
declspec's to be used for GenApi Windows dll
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:12