#include <iModule.h>
Public Methods | |
virtual void | getName (ViChar moduleName[]) const=0 |
Retrieves the name of this module. More... | |
virtual ViUInt32 | getModuleID (void) const=0 |
Retrieves the internal module ID of this module. More... | |
virtual ViUInt32 | getModuleSize (void) const=0 |
Retrieves the size in bytes of this module. More... | |
virtual ViUInt32 | getModuleIOMapSize (void) const=0 |
Retrieves the size in bytes of the I/O map associated with this module. More... | |
virtual ViUInt32 | readIOMap (ViUInt32 offsetInBytes, ViUInt32 numberOfBytes, ViPBuf dataBufferPtr, tStatus &status)=0 |
Reads a portion of this module's I/O map. More... | |
virtual ViUInt32 | writeIOMap (ViUInt32 offsetInBytes, ViUInt32 numberOfBytes, const ViByte dataBufferPtr[], tStatus &status)=0 |
Writes a portion of this module's I/O map. More... | |
Protected Methods | |
virtual | ~iModule ()=0 |
Destructor. | |
Friends | |
class | tNXT |
|
Retrieves the internal module ID of this module.
|
|
Retrieves the size in bytes of the I/O map associated with this module.
|
|
Retrieves the size in bytes of this module.
|
|
Retrieves the name of this module.
|
|
Reads a portion of this module's I/O map. Reads the data located at [I/O map address] + [specified offset in bytes] into the specified data buffer. The read will attempt to copy the specified number of bytes. No read occurs if the specified status is fatal. The ownership of data buffer is not transferred to this module object.
|
|
Writes a portion of this module's I/O map. Writes the specified data into this module's I/O map. The write starts at [I/O map address] + [specified offset in bytes] and stops after the specified number of bytes have been written. No write occurs if the specified status is fatal. The ownership of data buffer is not transferred to this module object.
|
© Copyright 2005-2006, National Instruments Corporation. All rights reserved.