Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Platform/Aperios1.3.2/ProcessFramework.h File Reference

This file contains classes related to processes on the Aperios Platform. More...

#include <OPENR/OObject.h>
#include <OPENR/OSubject.h>
#include <OPENR/OObserver.h>
#include <ObjectEntryTable.h>
#include <string.h>
#include "Platform/SystemCall.h"
#include "Platform/GTAssert.h"
#include "Sender.h"
#include "MotorCommandsSender.h"
#include "SoundDataSender.h"
#include "SharedSender.h"
#include "Receiver.h"
#include "SharedReceiver.h"
#include "IPEndpoint.h"

Include dependency graph for ProcessFramework.h:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Classes

class  PlatformProcess
 This class is the platform dependent base class for all processes. More...

class  ProcessBase
 The class is a helper that allows to instantiate a class as an Aperios process. More...

class  ProcessCreator
 The class is a helper that allows to instantiate a class as an Aperios process. More...


Defines

#define MAKE_PROCESS(theClass)   ProcessCreator<theClass> theProcess(#theClass)
 The macro MAKE_PROCESS instantiates a class as an Aperios process.

#define GT_GLOBAL   /**/
 All process-local global variable declarations have to be preceeded by this macro.


Variables

const unsigned int ENTRY_TABLE_MIN
 The maximum number of robots in this address context.


Detailed Description

This file contains classes related to processes on the Aperios Platform.

Author:
Thomas Röfer

Definition in file ProcessFramework.h.


Define Documentation

#define MAKE_PROCESS theClass   )     ProcessCreator<theClass> theProcess(#theClass)
 

The macro MAKE_PROCESS instantiates a class as an Aperios process.

As a convention, it should be used in the last line of the source file. In each Aperios process, MAKE_PROCESS must exactly be used once.

Parameters:
theClass The type of the class to be instantiated.

Definition at line 365 of file ProcessFramework.h.

#define GT_GLOBAL   /**/
 

All process-local global variable declarations have to be preceeded by this macro.

Only variables of simple types can be defined, i.e. no class instantiations are allowed.

Definition at line 373 of file ProcessFramework.h.


Variable Documentation

const unsigned int ENTRY_TABLE_MIN
 

Initial value:

 5
          ENTRY_TABLE_MAX = 100
          NAME_LENGTH_MAX = 100
          PROCESS_MAX = 1
          ROBOT_MAX = 1
The maximum number of robots in this address context.

Definition at line 17 of file ProcessFramework.h.

Referenced by ProcessCreator< T >::DoInit(), SenderBase< MotorCommands >::fillEntryTable(), and Receiver< T >::fillEntryTable().


Generated on Mon Mar 20 22:04:50 2006 for GT2005 by doxygen 1.3.6