CoreDX DDS C++ Reference Manual
Public Member Functions | List of all members
CDX::UShortDynamicType Class Reference

Contains an unsigned short. More...

Inheritance diagram for CDX::UShortDynamicType:
CDX::DynamicType

Public Member Functions

uint16_t get_ushort ()
 Provides access to data held in an UNSIGNED SHORT DynamicType object. More...
 
DDS::ReturnCode_t set_ushort (unsigned short c)
 Assigns a value to the provided USHORT DynamicType. More...
 
- Public Member Functions inherited from CDX::DynamicType
virtual TypeCodeKind get_type ()
 Provides access to the 'type' of the DynamicType object. Applicable to any DynamicType. More...
 

Detailed Description

Contains an unsigned short.

Member Function Documentation

uint16_t CDX::UShortDynamicType::get_ushort ( )

Provides access to data held in an UNSIGNED SHORT DynamicType object.

Return values
uint16_tthe data value held by 't'.
DDS::ReturnCode_t CDX::UShortDynamicType::set_ushort ( unsigned short  c)

Assigns a value to the provided USHORT DynamicType.

Return values
BAD_PARAMETERif 't' is not of type USHORT.
OKupon success.

© 2009-2017 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.