Functions | Variables
cphidgetmanager.c File Reference
#include "stdafx.h"
#include "cphidgetmanager.h"
#include "cphidget.h"
#include "cthread.h"
#include "cusb.h"
#include "cphidgetlist.h"
#include "csocket.h"
Include dependency graph for cphidgetmanager.c:

Go to the source code of this file.

Functions

int CPhidgetAttachEvent (CPhidgetHandle phid)
int CPhidgetDetachEvent (CPhidgetHandle phid)
int CPhidgetManager_areEqual (void *arg1, void *arg2)
int CCONV CPhidgetManager_close (CPhidgetManagerHandle phidm)
int CCONV CPhidgetManager_create (CPhidgetManagerHandle *phidm)
int CCONV CPhidgetManager_delete (CPhidgetManagerHandle phidm)
void CPhidgetManager_free (void *arg)
int CCONV CPhidgetManager_freeAttachedDevicesArray (CPhidgetHandle phidArray[])
int CCONV CPhidgetManager_getAttachedDevices (CPhidgetManagerHandle phidm, CPhidgetHandle *phidArray[], int *count)
int CCONV CPhidgetManager_getServerAddress (CPhidgetManagerHandle phidm, const char **address, int *port)
int CCONV CPhidgetManager_getServerID (CPhidgetManagerHandle phidm, const char **serverID)
int CCONV CPhidgetManager_getServerStatus (CPhidgetManagerHandle phidm, int *status)
int CCONV CPhidgetManager_open (CPhidgetManagerHandle phidm)
int CPhidgetManager_poll ()
int CCONV CPhidgetManager_set_OnAttach_Handler (CPhidgetManagerHandle phidm, int(CCONV *fptr)(CPhidgetHandle phid, void *userPtr), void *userPtr)
int CCONV CPhidgetManager_set_OnDetach_Handler (CPhidgetManagerHandle phidm, int(CCONV *fptr)(CPhidgetHandle phid, void *userPtr), void *userPtr)
int CCONV CPhidgetManager_set_OnError_Handler (CPhidgetManagerHandle phidm, int(CCONV *fptr)(CPhidgetManagerHandle, void *, int, const char *), void *userPtr)
int CCONV CPhidgetManager_set_OnServerConnect_Handler (CPhidgetManagerHandle phidm, int(CCONV *fptr)(CPhidgetManagerHandle phidm, void *userPtr), void *userPtr)
int CCONV CPhidgetManager_set_OnServerDisconnect_Handler (CPhidgetManagerHandle phidm, int(CCONV *fptr)(CPhidgetManagerHandle phidm, void *userPtr), void *userPtr)
static int sendInitialEvents ()

Variables

int ActivePhidgetManagers = 0
CPhidgetManagerListHandle localPhidgetManagers = NULL
CThread_mutex_t managerLock
int managerLockInitialized = PFALSE

Function Documentation

int CCONV CPhidgetManager_set_OnError_Handler ( CPhidgetManagerHandle  phidm,
int(CCONV *fptr)(CPhidgetManagerHandle, void *, int, const char *)  ,
void userPtr 
)

Definition at line 41 of file cphidgetmanager.c.

static int sendInitialEvents ( ) [static]

Definition at line 150 of file cphidgetmanager.c.


Variable Documentation

Definition at line 16 of file cphidgetmanager.c.

Definition at line 15 of file cphidgetmanager.c.



pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:21