Skip to main content
Allows you to define your own containers by deriving from this class. For the custom class deriving from CustomContainerBase to be fully supported by DPF features (connection to Operator, remote access, multi languages API), all private attributes should registered into the GenericDataContainer held. Inherited by:

Members

Friends

Public functions

Function CustomContainerBase

Parameters:
  • std::string const & class_name: [in] Name of the custom class in camel case format. Will be used to print the instance.
Return type:

Function CustomContainerBase

Parameters:
  • std::string const & class_name: [in] Name of the custom class in camel case format. Will be used to print the instance.
  • Client const *const client: [in] Client instance designating the IP, port and protocol to use.
Return type:

Function CustomContainerBase

Parameters:
  • std::string const & class_name: [in] Name of the custom class in camel case format. Will be used to print the instance.
  • GenericDataContainer const & container: [in] Internal container holding all the attributes as properties.
Return type:

Function ~CustomContainerBase

Return type:

Function container

Returns: The internal container. Return type: GenericDataContainer &

Function container

Returns: The internal container. Return type: GenericDataContainer const &

Function describe

Returns: Description of object. Return type: std::string

Function getAttributeNames

Return type: std::vector< std::string >

Function getClient

Returns: Get the Client the object is on, if it has one. Must not be used without using remote API. Parameters: Return type: bool