xCPS
Public Member Functions | Protected Attributes | List of all members
IndexTable Class Reference

#include <IndexTable.h>

Collaboration diagram for IndexTable:
Collaboration graph

Public Member Functions

 IndexTable (int number)
 
void enable ()
 
void disable ()
 
void initComm (CommSystem *communication)
 

Protected Attributes

int _number
 
int _mask
 
int _card
 
CommSystemcomm
 

Detailed Description

Author
Max Houwing
Date
November 23rd, 2015

This is the implementation of the index tables, as found on the xCPS machine. The functioning is relatively simple: there is only an enable() and disable() method that turn the tables on and off, respectively. Note that these methods are named differently in the xCPS class (where they can be indirectly called): index_enable() and index_disable().

Constructor & Destructor Documentation

IndexTable::IndexTable ( int  number)

IndexTable implementation

Member Function Documentation

void IndexTable::disable ( )

Disables the index table.

void IndexTable::enable ( )

Enables the index table, by pushing the mask to the CommSystem.


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