Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SharedGlobals.h File Reference


Detailed Description

A class to hold various simulator parameters which need to be accessed from multiple processes.

Author:
ejt (Creator)
Author
ejt
Name
tekkotsu-4_0
Revision
1.3
State
Exp
Date
2007/11/09 19:01:17

Definition in file SharedGlobals.h.

#include "IPC/MutexLock.h"
#include "IPC/SemaphoreManager.h"
#include "IPC/ProcessID.h"
#include "Shared/plist.h"
#include "Shared/TimeET.h"
#include "Shared/RobotInfo.h"

Include dependency graph for SharedGlobals.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SharedGlobals
 A class to hold various simulator parameters which need to be accessed from multiple processes. More...
class  SharedGlobals::MotionSimConfig
 holds configuration parameters for the motion process More...

Typedefs

typedef RegionRegistry
< MAX_SUBJECTS,
MAX_SUBJECT_NAME
ipc_setup_t
 the type to use for the inter-process communication registry

Functions

float getTimeScale ()
 a prototype for accessing current time scale without referencing globals directly

Variables

const unsigned int MAX_SUBJECTS = 50
 maximum number of message queues the simulator can maintain
const unsigned int MAX_SUBJECT_NAME = 50
 maximum storage capacity of subject names
ipc_setup_tipc_setup
 a global pointer to the inter-process message queue registry (a RegionRegistry)
SharedGlobalsglobals
 a global pointer to the SharedGlobals instance


Typedef Documentation

the type to use for the inter-process communication registry

Definition at line 254 of file SharedGlobals.h.


Function Documentation


Variable Documentation

a global pointer to the inter-process message queue registry (a RegionRegistry)

Definition at line 15 of file SharedGlobals.cc.

Referenced by Simulator::sendCommand(), sim::sim(), and sim::~sim().

const unsigned int MAX_SUBJECT_NAME = 50

maximum storage capacity of subject names

Definition at line 251 of file SharedGlobals.h.

const unsigned int MAX_SUBJECTS = 50

maximum number of message queues the simulator can maintain

Definition at line 250 of file SharedGlobals.h.


Tekkotsu Hardware Abstraction Layer 4.0
Generated Thu Nov 22 01:01:10 2007 by Doxygen 1.5.4