DataBlockPtr.h File Reference


Detailed Description

DataBlockPtr acts like a RefCountedBlockPtr that has two additional pieces of functionality:
  1. it contains a pointer to a Smarts DataObject used for constructing and running the Smarts data-flow graph.

  1. it can notify an observer when the destructor is called (i.e. when views of an engine go away).

DataBlockController is an extension of the RefBlockController used by RefCountedBlockPtr. This is where the data object and observable actually reside.

#include "Threads/PoomaSmarts.h"
#include "Utilities/Observable.h"
#include "Utilities/ObserverEvent.h"
#include "Utilities/RefCountedBlockPtr.h"
#include "Utilities/PAssert.h"

Include dependency graph for DataBlockPtr.h:

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


Classes

class  DataBlockController< T >
struct  DataBlockController< T >::WithAffinity
class  DataBlockPtr< T, BoundsChecked >
 DataBlockPtr is a customized RefCountedBlockPtr for use in various Pooma Engines. More...

Functions

template<class T, bool C1, bool C2>
ptrdiff_t operator- (const DataBlockPtr< T, C1 > &first, const DataBlockPtr< T, C2 > &second)

Function Documentation

template<class T, bool C1, bool C2>
ptrdiff_t operator- ( const DataBlockPtr< T, C1 > &  first,
const DataBlockPtr< T, C2 > &  second 
) [inline]


Generated on Sun May 17 21:38:00 2009 for FreePOOMA by  doxygen 1.5.5