Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress C++ API Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

2.12 Service Variable Classes

Table 11: Service Variable Classes

Class NameDescription

rwsf::CustomServiceVariable

Class CustomServiceVariable stores a custom type T as a templatized type. To access this data, you have to use the templatized set and get functions.

rwsf::GenericServiceVariable

Class GenericServiceVariable holds a generic pointer to a void type. This allows any type to be stored and then cast out later. The pointer and the size of the data being pointed to are all that are needed. The marshal for this type will print out XML with a CDATA block which cotnains the binary string for this object. Note that this string can contain embedded nulls.

rwsf::MessageServiceVariable

Class MessageServiceVariable holds a map of string part names to ServiceVariable parts. The parts can be of any type. This class also keeps a list of part names so order can be preserved.

rwsf::SDOServiceVariable

Class SDOServiceVariable stores complex types as an SDO. Access this SDO via the "getData" function.

rwsf::ServiceVariable

Class ServiceVariable is an interface for all specific variable implementations. It is what is stored and passed around in the agent and can be introspected by casting it to an appropriate type and checking for null. It has an interface for types and formats, but leaves any further interfaces to the more specific implementations.

rwsf::SimpleServiceVariable

Class SimpleServiceVariable encapsulates simple data as a string. It can be represented as a long, double, boolean, or string depending on the function called, but it always is stored in string form.



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.