Logo Search packages:      
Sourcecode: jackd2 version File versions  Download package

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

Jack::JackDebugClient Class Reference

A "decorator" debug client to validate API use. More...

#include <JackDebugClient.h>

Inheritance diagram for Jack::JackDebugClient:
Inheritance graph
Collaboration diagram for Jack::JackDebugClient:
Collaboration graph

List of all members.

Public Member Functions

int Activate ()
 We need to start thread before activating in the server, otherwise the FW driver connected to the client may not be activated.
void CheckClient (const char *function_name) const
int ClientNotify (int refnum, const char *name, int notify, int sync, const char *message, int value1, int value2)
 Notification received from the server.
int Close ()
void CycleSignal (int status)
jack_nframes_t CycleWait ()
int Deactivate ()
 Need to stop thread after deactivating in the server.
bool Execute ()
 RT thread.
JackClientControlGetClientControl () const
jack_nframes_t GetCurrentTransportFrame ()
virtual JackEngineControlGetEngineControl () const
virtual JackGraphManagerGetGraphManager () const
char * GetInternalClientName (int ref)
pthread_t GetThreadID ()
bool Init ()
 Called once when the thread starts.
int InternalClientHandle (const char *client_name, jack_status_t *status)
int InternalClientLoad (const char *client_name, jack_options_t options, jack_status_t *status, jack_varargs_t *va)
void InternalClientUnload (int ref, jack_status_t *status)
 JackDebugClient (JackClient *fTheClient)
void OnInfoShutdown (JackInfoShutdownCallback callback, void *arg)
void OnShutdown (JackShutdownCallback callback, void *arg)
virtual int Open (const char *server_name, const char *name, jack_options_t options, jack_status_t *status)
int PortConnect (const char *src, const char *dst)
int PortDisconnect (const char *src, const char *dst)
int PortDisconnect (jack_port_id_t src)
int PortIsMine (jack_port_id_t port_index)
int PortRegister (const char *port_name, const char *port_type, unsigned long flags, unsigned long buffer_size)
virtual int PortRename (jack_port_id_t port_index, const char *name)
int PortUnRegister (jack_port_id_t port)
int ReleaseTimebase ()
int SetBufferSize (jack_nframes_t buffer_size)
int SetBufferSizeCallback (JackBufferSizeCallback callback, void *arg)
int SetClientRegistrationCallback (JackClientRegistrationCallback callback, void *arg)
int SetFreeWheel (int onoff)
int SetFreewheelCallback (JackFreewheelCallback callback, void *arg)
int SetGraphOrderCallback (JackGraphOrderCallback callback, void *arg)
int SetInitCallback (JackThreadInitCallback callback, void *arg)
int SetPortConnectCallback (JackPortConnectCallback callback, void *arg)
int SetPortRegistrationCallback (JackPortRegistrationCallback callback, void *arg)
int SetPortRenameCallback (JackPortRenameCallback callback, void *arg)
int SetProcessCallback (JackProcessCallback callback, void *arg)
int SetProcessThread (JackThreadCallback fun, void *arg)
virtual int SetSampleRateCallback (JackBufferSizeCallback callback, void *arg)
int SetSyncCallback (JackSyncCallback sync_callback, void *arg)
int SetSyncTimeout (jack_time_t timeout)
int SetTimebaseCallback (int conditional, JackTimebaseCallback timebase_callback, void *arg)
int SetXRunCallback (JackXRunCallback callback, void *arg)
void ShutDown ()
void TransportLocate (jack_nframes_t frame)
jack_transport_state_t TransportQuery (jack_position_t *pos)
int TransportReposition (jack_position_t *pos)
void TransportStart ()
void TransportStop ()

Static Public Member Functions

static int TimeCallback (jack_nframes_t nframes, void *arg)

Protected Member Functions

int ActivateAux ()
int CallProcessCallback ()
void CallSyncCallback ()
void CallSyncCallbackAux ()
void CallTimebaseCallback ()
void CallTimebaseCallbackAux ()
virtual int ClientNotifyImp (int refnum, const char *name, int notify, int sync, const char *message, int value1, int value)
 Notification received from the server.
void CycleSignalAux (int status)
jack_nframes_t CycleWaitAux ()
void DummyCycle ()
void End ()
void Error ()
void ExecuteThread ()
bool IsActive ()
void SetupDriverSync (bool freewheel)
void SignalSync ()
int StartThread ()
bool WaitSync ()

Protected Attributes

JackBufferSizeCallback fBufferSize
void * fBufferSizeArg
char fClientName [JACK_CLIENT_NAME_SIZE+1]
JackClientRegistrationCallback fClientRegistration
void * fClientRegistrationArg
bool fFreewheel
void * fFreewheelArg
JackGraphOrderCallback fGraphOrder
void * fGraphOrderArg
JackInfoShutdownCallback fInfoShutdown
void * fInfoShutdownArg
JackThreadInitCallback fInit
void * fInitArg
int fIsActivated
int fIsClosed
int fIsDeactivated
int fOpenPortNumber
JackPortConnectCallback fPortConnect
void * fPortConnectArg
PortFollower fPortList [MAX_PORT_HISTORY]
JackPortRegistrationCallback fPortRegistration
void * fPortRegistrationArg
JackPortRenameCallback fPortRename
void * fPortRenameArg
JackProcessCallback fProcess
void * fProcessArg
JackProcessCallback fProcessTimeCallback
void * fProcessTimeCallbackArg
JackSampleRateCallback fSampleRate
void * fSampleRateArg
char fServerName [64]
JackShutdownCallback fShutdown
void * fShutdownArg
std::ofstream * fStream
JackSyncCallback fSync
void * fSyncArg
JackThread fThread
JackThreadCallback fThreadFun
void * fThreadFunArg
JackTimebaseCallback fTimebase
void * fTimebaseArg
int fTotalPortNumber
JackXRunCallback fXrun
void * fXrunArg

Detailed Description

A "decorator" debug client to validate API use.

Definition at line 49 of file JackDebugClient.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index