Model Railroad System 2.2.2
Public Member Functions | Private Attributes | List of all members
xpressnet::CommandStationResponse Class Reference

General response class. More...

Public Member Functions

 TimeStamp ()
 Return the time stamp of the response. More...
 
 ResponseType ()
 Return the response type. More...
 
 CommandStationResponse (name,...)
 Constructor. More...
 

Private Attributes

 _time_stamp
 Holds the time stamp of the response. More...
 

Detailed Description

General response class.

All responses are delegated from this class, via a component element.

Parameters
-responsetypeThis readonly option contains the response type and determines the type of object installed in the actual response component.
Additional parameters are passed to the actual response constructors.
Author
Robert Heller <heller@deepsoft.com>

Constructor & Destructor Documentation

◆ CommandStationResponse()

xpressnet::CommandStationResponse::CommandStationResponse ( name  ,
  ... 
)

Constructor.

Construct a response object. The actual response is installed as a component of this object.

Parameters
-responsetypeThis readonly option contains the response type and determines the type of object installed in the actual response component.
Additional parameters are passed to the actual response constructors.

Member Function Documentation

◆ ResponseType()

xpressnet::CommandStationResponse::ResponseType ( )

Return the response type.

◆ TimeStamp()

xpressnet::CommandStationResponse::TimeStamp ( )

Return the time stamp of the response.

Member Data Documentation

◆ _time_stamp

xpressnet::CommandStationResponse::_time_stamp
private

Holds the time stamp of the response.