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

#include <module_descriptor.h>

Inheritance diagram for mBrane::ModuleDescriptor:
Inheritance graph
Collaboration diagram for mBrane::ModuleDescriptor:
Collaboration graph

Classes

class  _Projection
 
class  _Subscription
 

Public Member Functions

 ModuleDescriptor (const char *hostName, _Module *m, uint16_t CID, const char *name)
 
 ModuleDescriptor (uint8_t hostID, uint16_t CID, uint16_t ID)
 
 ~ModuleDescriptor ()
 
void applyInitialProjections (uint8_t hostID)
 
const char * getName ()
 
void _activate ()
 
void _deactivate ()
 
void addSubscription_message (uint8_t hostID, uint16_t spaceID, uint16_t MCID)
 
void addSubscription_stream (uint8_t hostID, uint16_t spaceID, uint16_t SID)
 
void removeSubscription_message (uint8_t hostID, uint16_t spaceID, uint16_t MCID)
 
void removeSubscription_stream (uint8_t hostID, uint16_t spaceID, uint16_t SID)
 
void removeSubscriptions_message (uint8_t hostID, uint16_t spaceID)
 
void removeSubscriptions_stream (uint8_t hostID, uint16_t spaceID)
 
- Public Member Functions inherited from mBrane::Projectable< ModuleDescriptor >
 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 ModuleDescriptorNew (XMLNode &n)
 
static void Init (uint8_t hostID)
 
static uint16_t GetID (uint8_t hostID, uint16_t CID)
 
static const char * GetName (uint16_t cid, uint16_t id)
 

Public Attributes

uint16_t CID
 
Host::host_name hostName
 
P< _Modulemodule
 
- Public Attributes inherited from mBrane::Projectable< ModuleDescriptor >
uint8_t hostID
 
uint16_t ID
 
uint32_t activationCount
 
bool reactivated
 

Static Public Attributes

static Array< Array< P< ModuleDescriptor >, 128 >, 32 > Config
 
static Array< Array< Array< P< ModuleDescriptor >, 128 >, 32 >, 8 > Main
 

Private Attributes

Array< _Projection, 32 > initialProjections
 
const char * name
 

Additional Inherited Members

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

Constructor & Destructor Documentation

mBrane::ModuleDescriptor::ModuleDescriptor ( const char *  hostName,
_Module m,
uint16_t  CID,
const char *  name 
)

Here is the call graph for this function:

Here is the caller graph for this function:

mBrane::ModuleDescriptor::ModuleDescriptor ( uint8_t  hostID,
uint16_t  CID,
uint16_t  ID 
)

Here is the call graph for this function:

mBrane::ModuleDescriptor::~ModuleDescriptor ( )

Here is the call graph for this function:

Member Function Documentation

void mBrane::ModuleDescriptor::_activate ( )
void mBrane::ModuleDescriptor::_deactivate ( )
void mBrane::ModuleDescriptor::addSubscription_message ( uint8_t  hostID,
uint16_t  spaceID,
uint16_t  MCID 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void mBrane::ModuleDescriptor::addSubscription_stream ( uint8_t  hostID,
uint16_t  spaceID,
uint16_t  SID 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void mBrane::ModuleDescriptor::applyInitialProjections ( uint8_t  hostID)

Here is the call graph for this function:

Here is the caller graph for this function:

uint16_t mBrane::ModuleDescriptor::GetID ( uint8_t  hostID,
uint16_t  CID 
)
static

Here is the caller graph for this function:

const char * mBrane::ModuleDescriptor::GetName ( uint16_t  cid,
uint16_t  id 
)
static

Here is the call graph for this function:

const char * mBrane::ModuleDescriptor::getName ( )

Here is the caller graph for this function:

void mBrane::ModuleDescriptor::Init ( uint8_t  hostID)
static

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

void mBrane::ModuleDescriptor::removeSubscription_message ( uint8_t  hostID,
uint16_t  spaceID,
uint16_t  MCID 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void mBrane::ModuleDescriptor::removeSubscription_stream ( uint8_t  hostID,
uint16_t  spaceID,
uint16_t  SID 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void mBrane::ModuleDescriptor::removeSubscriptions_message ( uint8_t  hostID,
uint16_t  spaceID 
)

Here is the call graph for this function:

void mBrane::ModuleDescriptor::removeSubscriptions_stream ( uint8_t  hostID,
uint16_t  spaceID 
)

Here is the call graph for this function:

Member Data Documentation

uint16_t mBrane::ModuleDescriptor::CID
Array< Array< P< ModuleDescriptor >, 128 >, 32 > mBrane::ModuleDescriptor::Config
static
Host::host_name mBrane::ModuleDescriptor::hostName
Array<_Projection, 32> mBrane::ModuleDescriptor::initialProjections
private
Array< Array< Array< P< ModuleDescriptor >, 128 >, 32 >, 8 > mBrane::ModuleDescriptor::Main
static
P<_Module> mBrane::ModuleDescriptor::module
const char* mBrane::ModuleDescriptor::name
private

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