replicode
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
mBrane::Space Class Reference

#include <space.h>

Inheritance diagram for mBrane::Space:
Inheritance graph
Collaboration diagram for mBrane::Space:
Collaboration graph

Classes

class  _Projection
 

Public Member Functions

 Space (uint8_t hostID, const char *name=NULL)
 
 ~Space ()
 
const char * getName ()
 
void setActivationThreshold (float thr)
 
float getActivationThreshold ()
 
void _activate ()
 
void _deactivate ()
 
List< P< Projection< ModuleDescriptor > >, 16 >::Iterator project (Projection< ModuleDescriptor > *p)
 
List< P< Projection< Space > >, 16 >::Iterator project (Projection< Space > *p)
 
- Public Member Functions inherited from mBrane::Projectable< Space >
 Projectable (uint8_t hostID, uint16_t ID)
 
 ~Projectable ()
 
void project (uint8_t hostID, uint16_t spaceID)
 
void unproject (uint8_t hostID, uint16_t spaceID)
 
void activate ()
 
void deactivate ()
 
void setActivationLevel (uint8_t hostID, uint16_t spaceID, float a)
 

Static Public Member Functions

static SpaceGet (const char *name)
 
static SpaceNew (XMLNode &n)
 
static void Init (uint8_t hostID)
 
static void InitRoot ()
 
static uint16_t GetID (uint8_t hostID)
 

Public Attributes

List< P< Projection< ModuleDescriptor > >, 16 > moduleDescriptors
 
List< P< Projection< Space > >, 16 > spaces
 
- Public Attributes inherited from mBrane::Projectable< Space >
uint8_t hostID
 
uint16_t ID
 
uint32_t activationCount
 
bool reactivated
 

Static Public Attributes

static Array< P< Space >, 16 > Config
 
static Array< Array< P< Space >, 16 >, 8 > Main
 

Private Member Functions

void applyInitialProjections (uint8_t hostID)
 

Private Attributes

float initialActivationThreshold
 
const char * name
 
float _activationThreshold
 
Array< _Projection, 32 > initialProjections
 

Additional Inherited Members

- Protected Attributes inherited from mBrane::Projectable< Space >
Array< Array< typename List< P< Projection< Space > >, 16 >::Iterator, 32 >, 8 > projections
 

Constructor & Destructor Documentation

mBrane::Space::Space ( uint8_t  hostID,
const char *  name = NULL 
)

Here is the call graph for this function:

Here is the caller graph for this function:

mBrane::Space::~Space ( )

Here is the call graph for this function:

Member Function Documentation

void mBrane::Space::_activate ( )
inline

Here is the caller graph for this function:

void mBrane::Space::_deactivate ( )
inline
void mBrane::Space::applyInitialProjections ( uint8_t  hostID)
private

Here is the call graph for this function:

Space * mBrane::Space::Get ( const char *  name)
static

Here is the call graph for this function:

Here is the caller graph for this function:

float mBrane::Space::getActivationThreshold ( )

Here is the caller graph for this function:

uint16_t mBrane::Space::GetID ( uint8_t  hostID)
static

Here is the caller graph for this function:

const char * mBrane::Space::getName ( )
void mBrane::Space::Init ( uint8_t  hostID)
static

Here is the call graph for this function:

Here is the caller graph for this function:

void mBrane::Space::InitRoot ( )
static

Here is the call graph for this function:

Here is the caller graph for this function:

Space * mBrane::Space::New ( XMLNode n)
static

Here is the call graph for this function:

Here is the caller graph for this function:

List< P< Projection< ModuleDescriptor > >, 16 >::Iterator mBrane::Space::project ( Projection< ModuleDescriptor > *  p)
List< P< Projection< Space > >, 16 >::Iterator mBrane::Space::project ( Projection< Space > *  p)
void mBrane::Space::setActivationThreshold ( float  thr)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

float mBrane::Space::_activationThreshold
private
Array< P< Space >, 16 > mBrane::Space::Config
static
float mBrane::Space::initialActivationThreshold
private
Array<_Projection, 32> mBrane::Space::initialProjections
private
Array< Array< P< Space >, 16 >, 8 > mBrane::Space::Main
static
List<P<Projection<ModuleDescriptor> >, 16> mBrane::Space::moduleDescriptors
const char* mBrane::Space::name
private
List<P<Projection<Space> >, 16> mBrane::Space::spaces

The documentation for this class was generated from the following files: