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

phLiveObject.h File Reference

#include <phStdint.h>
#include <phRWLock.h>
#include <phSemaphore.h>
#include <phTimeInterval.h>
#include <phConditionCounter.h>

Go to the source code of this file.

Classes

class  phLiveCookie
 todo. More...
class  phLiveObject
 The phLiveObject and phLiveCookie classes are the backbone of the data flow type system. They are used to encapsulate all update and signaling functionality. Any object that wants to use the connect, update and disconnect phLiveObject API should derive from this class. In this manner, any object that also derives from phLiveObject can connect to any other phLiveObject class. These classes must also overload the 'copy' and 'swap' methods of the phObject class. More...

Defines

#define phTHIS_READLOCK_LOOSE(l)
#define phTHIS_READLOCK(l)
#define phTHIS_WRITELOCK_LOOSE(l)
#define phTHIS_WRITELOCK(l)
#define phTHIS_RWUNLOCK_LOOSE(l)
#define phTHIS_RWUNLOCK(l)
#define phTHIS_RWUNLOCK_ERROR(l)
#define phTHIS_RWUNLOCK_RET(l, success_value, error_value)
#define phREADLOCK(rw, l)
#define phREADLOCK_LOOSE(rw, l)
#define phWRITELOCK(rw, l)
#define phWRITELOCK_LOOSE(rw, l)
#define phRWUNLOCK(rw, l)
#define phRWUNLOCK_LOOSE(rw, l)
#define phRWUNLOCK_ERROR(rw, l)
#define phLiveCookieNOFLAG   phSemNOFLAG
#define phLiveCookieNOWAIT   phSemNOWAIT
#define phLiveCookieWAIT   phSemWAIT /*(1<<1)*/
#define phLiveObjectNOFLAG   (0)
#define phLiveObjectNOWAIT   (1<<0)
#define phLiveObjectWAIT   (1<<1)
#define phLiveObjectCOPY   (1<<2)
#define phLiveObjectSWAP   (1<<3)
#define phLiveObjectFORCE   (1<<4)
#define phLiveCookieNOTAKE   phSemaphoreNOTAKE
#define phLiveCookieTAKEN   phSemaphoreTAKEN
#define phLiveObjectNOUPDATE   phSemaphoreNOTAKE
#define phLiveObjectUPDATED   0
#define phLiveObjectDEFAULTFLAGS   (phLiveObjectWAIT | phLiveObjectCOPY)
#define phLiveObjectTRANSFERMASK   (phLiveObjectCOPY | phLiveObjectSWAP)
#define phLiveObjectWAITMASK   (phLiveObjectWAIT | phLiveObjectNOWAIT)
#define phLiveObjectFLAGMASK




Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo


Generated on Sat Jun 16 02:44:12 2007 for phission by  doxygen 1.4.4