#include <comm.h>
Public Member Functions | |
| NXTModule () | |
| The NXTModule constructor. | |
| NXTModule (nFANTOM100::iModule *m) | |
| This constructs an NXTModule from the Fantom module type. Only in the Windows version. | |
| int | getName (std::string &name) |
| Retrieves the name of the module. | |
| int | getModuleID (int &id) |
| Retrieves the ID of the module. | |
| int | getModuleSize (int &size) |
| Retrieves the size of the module. | |
| int | getIOMapSize (int &size) |
| Retrieves the IOMap size. | |
| int | readIOMap (ViPByte buffer, int offset, int number_of_bytes) |
| Reads the IOMap into a buffer. | |
| int | writeIOMap (const ViPByte, int offset, int number_of_bytes) |
| Writes data to the IOMap. | |
Public Attributes | |
| nFANTOM100::iModule * | internalModule |
| The Fantom module pointer. Only in the Windows version. | |
Definition at line 134 of file comm.h.
| NXTModule::NXTModule | ( | nFANTOM100::iModule * | m | ) | [inline] |
This constructs an NXTModule from the Fantom module type. Only in the Windows version.
Definition at line 142 of file comm.h.
References internalModule.
| int NXTModule::getName | ( | std::string & | name | ) |
Retrieves the name of the module.
| int NXTModule::getModuleID | ( | int & | id | ) |
Retrieves the ID of the module.
| int NXTModule::getModuleSize | ( | int & | size | ) |
Retrieves the size of the module.
| int NXTModule::getIOMapSize | ( | int & | size | ) |
Retrieves the IOMap size.
| int NXTModule::readIOMap | ( | ViPByte | buffer, | |
| int | offset, | |||
| int | number_of_bytes | |||
| ) |
Reads the IOMap into a buffer.
| int NXTModule::writeIOMap | ( | const | ViPByte, | |
| int | offset, | |||
| int | number_of_bytes | |||
| ) |
Writes data to the IOMap.
| nFANTOM100::iModule* NXTModule::internalModule |
The Fantom module pointer. Only in the Windows version.
Definition at line 148 of file comm.h.
Referenced by NXTModule().