Raritan PX2/PX3 JSON-RPC API
Public Member Functions | List of all members
pdumodel::MemoryMapController_4_0_0 Interface Reference

Memory map controller. More...

import"MemoryMapController.idl";

Inheritance diagram for pdumodel::MemoryMapController_4_0_0:
pdumodel::Controller_4_0_0

Public Member Functions

int readMemory (in int address, in int size, out vector< byte > memory)
 Read a given number of bytes from an address. More...
 
int writeMemory (in int address, in vector< byte > memory)
 Write bytes to an address. More...
 
- Public Member Functions inherited from pdumodel::Controller_4_0_0
Status getCommunicationStatus ()
 Retrieve the current status of communication with controller. More...
 
CtrlStatistic getStatistics ()
 Retrieve statistics. More...
 
MetaData getMetaData ()
 Retrieve the slave controller metadata. More...
 

Additional Inherited Members

- Public Types inherited from pdumodel::Controller_4_0_0
enum  Status {
  OK, COMMUNICATION_UNSTABLE, COMMUNICATION_FAILURE, UNKNOWN,
  INCOMPATIBLE, FIRMWARE_UPDATE
}
 Communication status. More...
 
enum  Type { OUTLET_CTRL, INLET_CTRL, METER_CTRL }
 Slave controller type. More...
 
- Public Attributes inherited from pdumodel::Controller_4_0_0
valueobject StatusChangedEvent: idl::Event { Status oldStatus
 Event: Controller communication status has changed. More...
 
Status newStatus
 Status after change.
 
valueobject MetaDataChangedEvent: idl::Event { MetaData oldMetaData
 Event: Controller metadata has changed. More...
 
MetaData newMetaData
 Metadata after change.
 

Detailed Description

Memory map controller.

Member Function Documentation

int pdumodel::MemoryMapController_4_0_0::readMemory ( in int  address,
in int  size,
out vector< byte >  memory 
)

Read a given number of bytes from an address.

Parameters
addressThe address to read
sizeThe number of bytes to read
memoryThe vector with the read bytes
Returns
0 if OK
an error code otherwise
int pdumodel::MemoryMapController_4_0_0::writeMemory ( in int  address,
in vector< byte >  memory 
)

Write bytes to an address.

Parameters
addressThe address to write
memoryThe vector with the bytes to write
Returns
0 if OK
an error code otherwise

The documentation for this interface was generated from the following file: