Jack2  1.9.9
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Jack::JackDebugClient Class Reference

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

#include <JackDebugClient.h>

Inheritance diagram for Jack::JackDebugClient:
Jack::JackClient Jack::JackClientInterface Jack::JackRunnableInterface

Public Member Functions

 JackDebugClient (JackClient *fTheClient)
 
virtual int Open (const char *server_name, const char *name, int uuid, jack_options_t options, jack_status_t *status)
 
int Close ()
 
virtual JackGraphManagerGetGraphManager () const
 
virtual JackEngineControlGetEngineControl () 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 Activate ()
 We need to start thread before activating in the server, otherwise the FW driver connected to the client may not be activated.
 
int Deactivate ()
 Need to stop thread after deactivating in the server.
 
int SetBufferSize (jack_nframes_t buffer_size)
 
int SetFreeWheel (int onoff)
 
int ComputeTotalLatencies ()
 
void ShutDown ()
 
jack_native_thread_t GetThreadID ()
 
int PortRegister (const char *port_name, const char *port_type, unsigned long flags, unsigned long buffer_size)
 
int PortUnRegister (jack_port_id_t port)
 
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 PortRename (jack_port_id_t port_index, const char *name)
 
int ReleaseTimebase ()
 
int SetSyncCallback (JackSyncCallback sync_callback, void *arg)
 
int SetSyncTimeout (jack_time_t timeout)
 
int SetTimebaseCallback (int conditional, JackTimebaseCallback timebase_callback, void *arg)
 
void TransportLocate (jack_nframes_t frame)
 
jack_transport_state_t TransportQuery (jack_position_t *pos)
 
jack_nframes_t GetCurrentTransportFrame ()
 
int TransportReposition (jack_position_t *pos)
 
void TransportStart ()
 
void TransportStop ()
 
void OnShutdown (JackShutdownCallback callback, void *arg)
 
void OnInfoShutdown (JackInfoShutdownCallback callback, void *arg)
 
int SetProcessCallback (JackProcessCallback callback, void *arg)
 
int SetXRunCallback (JackXRunCallback callback, void *arg)
 
int SetInitCallback (JackThreadInitCallback callback, void *arg)
 
int SetGraphOrderCallback (JackGraphOrderCallback callback, void *arg)
 
int SetBufferSizeCallback (JackBufferSizeCallback callback, void *arg)
 
int SetClientRegistrationCallback (JackClientRegistrationCallback callback, void *arg)
 
int SetFreewheelCallback (JackFreewheelCallback callback, void *arg)
 
int SetPortRegistrationCallback (JackPortRegistrationCallback callback, void *arg)
 
int SetPortConnectCallback (JackPortConnectCallback callback, void *arg)
 
int SetPortRenameCallback (JackPortRenameCallback callback, void *arg)
 
int SetSessionCallback (JackSessionCallback callback, void *arg)
 
int SetLatencyCallback (JackLatencyCallback callback, void *arg)
 
char * GetInternalClientName (int ref)
 
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)
 
int SetProcessThread (JackThreadCallback fun, void *arg)
 
jack_session_command_tSessionNotify (const char *target, jack_session_event_type_t type, const char *path)
 
int SessionReply (jack_session_event_t *ev)
 
char * GetUUIDForClientName (const char *client_name)
 
char * GetClientNameByUUID (const char *uuid)
 
int ReserveClientName (const char *client_name, const char *uuid)
 
int ClientHasSessionCallback (const char *client_name)
 
JackClientControlGetClientControl () const
 
void CheckClient (const char *function_name) const
 
- Public Member Functions inherited from Jack::JackClient
 JackClient (JackSynchro *table)
 
virtual int TransportReposition (const jack_position_t *pos)
 
virtual int SetSampleRateCallback (JackBufferSizeCallback callback, void *arg)
 
jack_nframes_t CycleWait ()
 
void CycleSignal (int status)
 
bool Init ()
 Called once when the thread starts.
 
bool Execute ()
 RT thread.
 

Static Public Member Functions

static int TimeCallback (jack_nframes_t nframes, void *arg)
 

Protected Attributes

JackClientfClient
 
std::ofstream * fStream
 
PortFollower fPortList [MAX_PORT_HISTORY]
 
int fTotalPortNumber
 
int fOpenPortNumber
 
int fIsActivated
 
int fIsDeactivated
 
int fIsClosed
 
bool fFreewheel
 
char fClientName [JACK_CLIENT_NAME_SIZE+1]
 
JackProcessCallback fProcessTimeCallback
 
void * fProcessTimeCallbackArg
 
- Protected Attributes inherited from Jack::JackClient
JackProcessCallback fProcess
 
JackGraphOrderCallback fGraphOrder
 
JackXRunCallback fXrun
 
JackShutdownCallback fShutdown
 
JackInfoShutdownCallback fInfoShutdown
 
JackThreadInitCallback fInit
 
JackBufferSizeCallback fBufferSize
 
JackSampleRateCallback fSampleRate
 
JackClientRegistrationCallback fClientRegistration
 
JackFreewheelCallback fFreewheel
 
JackPortRegistrationCallback fPortRegistration
 
JackPortConnectCallback fPortConnect
 
JackPortRenameCallback fPortRename
 
JackTimebaseCallback fTimebase
 
JackSyncCallback fSync
 
JackThreadCallback fThreadFun
 
JackSessionCallback fSession
 
JackLatencyCallback fLatency
 
void * fProcessArg
 
void * fGraphOrderArg
 
void * fXrunArg
 
void * fShutdownArg
 
void * fInfoShutdownArg
 
void * fInitArg
 
void * fBufferSizeArg
 
void * fSampleRateArg
 
void * fClientRegistrationArg
 
void * fFreewheelArg
 
void * fPortRegistrationArg
 
void * fPortConnectArg
 
void * fPortRenameArg
 
void * fTimebaseArg
 
void * fSyncArg
 
void * fThreadFunArg
 
void * fSessionArg
 
void * fLatencyArg
 
char fServerName [JACK_SERVER_CONTROL_NAME_SIZE]
 
JackThread fThread
 
detail::JackClientChannelInterfacefChannel
 
JackSynchrofSynchroTable
 
std::list< jack_port_id_t > fPortList
 
JackSessionReply fSessionReply
 

Additional Inherited Members

- Protected Member Functions inherited from Jack::JackClient
int StartThread ()
 
void SetupDriverSync (bool freewheel)
 
bool IsActive ()
 
void CallSyncCallback ()
 
void CallTimebaseCallback ()
 
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 DummyCycle ()
 
void ExecuteThread ()
 
bool WaitSync ()
 
void SignalSync ()
 
int CallProcessCallback ()
 
void End ()
 
void Error ()
 
jack_nframes_t CycleWaitAux ()
 
void CycleSignalAux (int status)
 
void CallSyncCallbackAux ()
 
void CallTimebaseCallbackAux ()
 
int ActivateAux ()
 
void InitAux ()
 
int HandleLatencyCallback (int status)
 

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: