Raritan PX2/PX3 JSON-RPC API
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
assetmgrmodel::AssetStripLogger_1_0_6 Interface Reference

Asset Strip Logger interface. More...

import"AssetStripLogger.idl";

Classes

struct  Info
 Log information structure. More...
 
struct  Record
 Log record structure. More...
 

Public Types

enum  RecordType { EMPTY, ASSET_TAG_CONNECTED, ASSET_TAG_DISCONNECTED, ASSET_STRIP_STATE_CHANGED }
 Log record type. More...
 

Public Member Functions

Info getInfo ()
 Retrieve the log information. More...
 
int getRecords (out vector< Record > records, in int id, in int count)
 Retrieve records from the log ring buffer. More...
 

Public Attributes

constant int NO_ERROR = 0
 Error codes. More...
 
constant int ERR_INVALID_PARAM = 1
 Invalid parameter.
 

Detailed Description

Asset Strip Logger interface.

Member Enumeration Documentation

Log record type.

Enumerator
EMPTY 

The log record is empty.

ASSET_TAG_CONNECTED 

An asset tag has been connected.

ASSET_TAG_DISCONNECTED 

An asset tag has been disconnected.

ASSET_STRIP_STATE_CHANGED 

The state of the asset strip changed.

Member Function Documentation

Info assetmgrmodel::AssetStripLogger_1_0_6::getInfo ( )

Retrieve the log information.

Returns
Log information
int assetmgrmodel::AssetStripLogger_1_0_6::getRecords ( out vector< Record records,
in int  id,
in int  count 
)

Retrieve records from the log ring buffer.

This method is used to read one or more records from the log ring buffer. It is allowed to read unused entries. The record index will wrap to 0 when reading beyond the end of the log.

Parameters
recordsResult: The requested log entries
idIndex of the first log index to read (0..capacity)
countNumber of records to read (1..capacity)
Returns
NO_ERROR on success
ERR_INVALID_PARAM if any parameter is out of range

Member Data Documentation

constant int assetmgrmodel::AssetStripLogger_1_0_6::NO_ERROR = 0

Error codes.

Operation successful, no error


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