32 #ifndef OPAL_OPAL_CALL_H
33 #define OPAL_OPAL_CALL_H
45 #include <ptlib/safecoll.h>
141 PSyncPoint * sync = NULL
228 const PString & caller
298 PSafetyMode mode = PSafeReference
304 template <
class ConnClass>
307 PSafetyMode mode = PSafeReadWrite
310 PSafePtr<ConnClass> connection;
311 for (PSafePtr<OpalConnection> iterConn(
connectionsActive, PSafeReference); iterConn != NULL; ++iterConn) {
312 if ((connection = PSafePtrCast<OpalConnection, ConnClass>(iterConn)) != NULL && count-- == 0) {
313 if (!connection.SetSafetyMode(mode))
314 connection.SetNULL();
372 const PString & address,
417 unsigned sessionID = 0,
474 const PString & value
542 const PFilePath & filename,
558 const PString & streamId,
565 const PString & streamId
571 const PString & streamId,
579 const PString & streamId,
583 #endif // OPAL_HAS_MIXER
591 PSafePtr<OpalConnection> & connection,
623 #endif // OPAL_OPAL_CALL_H