platform.h File Reference

#include "types.h"
#include "robot.h"

Classes

class  CPlatform
 Operation system depending functions. More...
struct  Polyeder
 Memory Mapped File Data Container. More...

Defines

#define ML(x)   CPlatform::mutex_lock(x)
#define MU(x)   CPlatform::mutex_unlock(x)
#define SYNCLEN   12
#define SYNCTEXT   "HELLO WORLD"
#define POLYCOUNT   50

Enumerations

enum  {
  THREAD_MOTION, THREAD_INPUT, THREAD_CMD, THREAD_INTERPOLATION,
  THREAD_TRAJECTORY, THREAD_MOTIONCMD, THREADNUM
}
 Thread identifiers. More...
enum  {
  MUTEXCIN, MUTEXCOUT, MUTEXCOMM, MUTEXMOTION,
  MUTEXINPUT, MUTEXTRAJECTORY, MUTEXINTERPOLATION, MUTEXCMDS,
  MUTEXNUM
}
 Mutex identifiers. More...
enum  CAMERA_TYPES { CAM_NONE, CAM_LEFT, CAM_RIGHT }

Variables

const int dwMemoryFileSize = POLYCOUNT * sizeof(Polyeder) + 1 * sizeof(int)
 Size of Memory Mapped File.

Define Documentation

#define ML (  )     CPlatform::mutex_lock(x)

#define MU (  )     CPlatform::mutex_unlock(x)

#define POLYCOUNT   50

#define SYNCLEN   12

#define SYNCTEXT   "HELLO WORLD"


Enumeration Type Documentation

anonymous enum

Thread identifiers.

Enumerator:
THREAD_MOTION 
THREAD_INPUT 
THREAD_CMD 
THREAD_INTERPOLATION 
THREAD_TRAJECTORY 
THREAD_MOTIONCMD 
THREADNUM 

anonymous enum

Mutex identifiers.

Enumerator:
MUTEXCIN 
MUTEXCOUT 
MUTEXCOMM 
MUTEXMOTION 
MUTEXINPUT 
MUTEXTRAJECTORY 
MUTEXINTERPOLATION 
MUTEXCMDS 
MUTEXNUM 

enum CAMERA_TYPES

Enumerator:
CAM_NONE 
CAM_LEFT 
CAM_RIGHT 


Variable Documentation

const int dwMemoryFileSize = POLYCOUNT * sizeof(Polyeder) + 1 * sizeof(int)

Size of Memory Mapped File.


Generated on Mon Apr 21 23:27:40 2008 for BioloidControl by  doxygen 1.5.2