ALMA Computing Group

acsexmplAsyncCalls.cpp File Reference

#include <maciSimpleClient.h>
#include <baciThread.h>
#include "acsexmplMountC.h"
#include "acsexmplAsyncCallbacks.h"
#include "acsexmplAsyncMethodCB.h"
#include <iostream>
#include <string>

Include dependency graph for acsexmplAsyncCalls.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  maci

Classes

struct  threadParamStruct

Typedefs

typedef threadParamStruct ThreadParamStruct

Functions

void worker (void *threadParam_p)
 The thread to read the actual azimuth and elevation The reads are synchronous.
int main (int argc, char *argv[])
 

Variables

char * rcsId = "@(#) $Id: acsexmplAsyncCalls.cpp,v 1.8 2008/07/10 10:00:37 bjeram Exp $"
void * use_rcsId = ((void)&use_rcsId,(void *) &rcsId)


Typedef Documentation

typedef struct threadParamStruct ThreadParamStruct
 

Referenced by main(), and worker().


Function Documentation

int main int  argc,
char *  argv[]
 

Definition at line 182 of file acsexmplAsyncCalls.cpp.

References threadParamStruct::az, threadParamStruct::el, threadParamStruct::mount, ThreadParamStruct, and worker().

void worker void *  threadParam_p  )  [static]
 

The thread to read the actual azimuth and elevation The reads are synchronous.

Definition at line 91 of file acsexmplAsyncCalls.cpp.

References MOUNT_ACS::Mount::actAz, MOUNT_ACS::Mount::actEl, threadParamStruct::az, threadParamStruct::el, threadParamStruct::mount, MOUNT_ACS::Mount::objfix(), and ThreadParamStruct.

Referenced by main().


Variable Documentation

char* rcsId = "@(#) $Id: acsexmplAsyncCalls.cpp,v 1.8 2008/07/10 10:00:37 bjeram Exp $" [static]
 

Definition at line 73 of file acsexmplAsyncCalls.cpp.

void* use_rcsId = ((void)&use_rcsId,(void *) &rcsId) [static]
 

Definition at line 74 of file acsexmplAsyncCalls.cpp.