#include "iocinf.h"
#include "oldAccess.h"
#include "syncGroup.h"
Go to the source code of this file.
|
int epicsStdCall | ca_sg_create (CA_SYNC_GID *pgid) |
|
int | ca_sync_group_destroy (CallbackGuard &cbGuard, epicsGuard< epicsMutex > &guard, ca_client_context &cac, const CA_SYNC_GID gid) |
|
int epicsStdCall | ca_sg_delete (const CA_SYNC_GID gid) |
|
void | sync_group_reset (ca_client_context &client, CASG &sg) |
|
int epicsStdCall | ca_sg_block (const CA_SYNC_GID gid, ca_real timeout) |
|
int epicsStdCall | ca_sg_reset (const CA_SYNC_GID gid) |
|
int epicsStdCall | ca_sg_stat (const CA_SYNC_GID gid) |
|
int epicsStdCall | ca_sg_test (const CA_SYNC_GID gid) |
|
int epicsStdCall | ca_sg_array_put (const CA_SYNC_GID gid, chtype type, arrayElementCount count, chid pChan, const void *pValue) |
|
int epicsStdCall | ca_sg_array_get (const CA_SYNC_GID gid, chtype type, arrayElementCount count, chid pChan, void *pValue) |
|
#define epicsAssertAuthor "Jeff Hill johill@lanl.gov" |
Definition at line 308 of file syncgrp.cpp.
325 pcasg->get ( guard, pChan,
type,
326 static_cast < unsigned > ( count ), pValue );
353 catch ( std::bad_alloc & )
pvd::StructureConstPtr type
epicsMutex & mutexRef() const
int fetchClientContext(ca_client_context **ppcac)
CASG * lookupCASG(epicsGuard< epicsMutex > &, unsigned id)
#define ECA_UNAVAILINSERV
Definition at line 246 of file syncgrp.cpp.
263 pcasg->put ( guard, pChan,
type,
264 static_cast < unsigned > ( count ), pValue );
295 catch ( std::bad_alloc & )
pvd::StructureConstPtr type
epicsMutex & mutexRef() const
int fetchClientContext(ca_client_context **ppcac)
CASG * lookupCASG(epicsGuard< epicsMutex > &, unsigned id)
#define ECA_UNAVAILINSERV
Definition at line 127 of file syncgrp.cpp.
138 status = pcasg->
block (
139 pcac->pCallbackGuard.get (), guard,
timeout );
int block(epicsGuard< epicsMutex > *pcbGuard, epicsGuard< epicsMutex > &guard, double timeout)
int fetchClientContext(ca_client_context **ppcac)
CASG * lookupCASG(epicsGuard< epicsMutex > &, unsigned id)
void sync_group_reset(ca_client_context &client, CASG &sg)
Definition at line 24 of file syncgrp.cpp.
37 pcasg =
new ( pcac->casgFreeList )
CASG ( guard, *pcac );
38 *pgid = pcasg->getId ();
41 catch ( std::bad_alloc & ) {
epicsMutex & mutexRef() const
int fetchClientContext(ca_client_context **ppcac)
Definition at line 68 of file syncgrp.cpp.
73 if ( pcac->pCallbackGuard.get() &&
int ca_sync_group_destroy(CallbackGuard &cbGuard, epicsGuard< epicsMutex > &guard, ca_client_context &cac, const CA_SYNC_GID gid)
int fetchClientContext(ca_client_context **ppcac)
LIBCOM_API epicsThreadId epicsStdCall epicsThreadGetIdSelf(void)
Definition at line 155 of file syncgrp.cpp.
int fetchClientContext(ca_client_context **ppcac)
CASG * lookupCASG(epicsGuard< epicsMutex > &, unsigned id)
void sync_group_reset(ca_client_context &client, CASG &sg)
Definition at line 179 of file syncgrp.cpp.
194 pcasg->show ( guard, 1000u );
epicsMutex & mutexRef() const
int fetchClientContext(ca_client_context **ppcac)
CASG * lookupCASG(epicsGuard< epicsMutex > &, unsigned id)
Definition at line 202 of file syncgrp.cpp.
211 if ( pcac->pCallbackGuard.get() &&
214 isComplete = pcasg->ioComplete ( *pcac->pCallbackGuard.get(), guard );
227 isComplete = pcasg->ioComplete ( cbGuard, guard );
epicsMutex & mutexRef() const
int fetchClientContext(ca_client_context **ppcac)
CASG * lookupCASG(epicsGuard< epicsMutex > &, unsigned id)
LIBCOM_API epicsThreadId epicsStdCall epicsThreadGetIdSelf(void)
Definition at line 49 of file syncgrp.cpp.
56 cac.casgFreeList.
release ( pcasg );
void destructor(CallbackGuard &, epicsGuard< epicsMutex > &guard)
CASG * lookupCASG(epicsGuard< epicsMutex > &, unsigned id)
Definition at line 96 of file syncgrp.cpp.
98 if ( client.pCallbackGuard.get() &&
101 sg.
reset ( *client.pCallbackGuard.get(), guard );
114 sg.
reset ( cbGuard, guard );
void reset(CallbackGuard &, epicsGuard< epicsMutex > &)
LIBCOM_API epicsThreadId epicsStdCall epicsThreadGetIdSelf(void)