brings latest ant::cStreamMetaType to the users scope
More...
#include <streamtype.h>
Inherits adtf::ucom::catwo::object< IStreamMetaType >.
Inherited by adtf::streaming::ant::stream_meta_type< MetaTypeStruct >, and adtf::streaming::hollow::cCamelionStreamMetaType.
|
| tResult | SetMetaTypeName (const char *strTypeName) |
| |
|
| ~IObject ()=default |
| | Protected destructor --> Only the final implementation can be destroyed!
|
| |
brings latest ant::cStreamMetaType to the users scope
Implements the default adtf::streaming::ant::IStreamMetaType interface.
Please have a look at Example Demo Custom Stream Type on how to implement your own stream types and stream meta types.
◆ cStreamMetaType()
| adtf::streaming::ant::cStreamMetaType::cStreamMetaType |
( |
| ) |
|
◆ ~cStreamMetaType()
| virtual adtf::streaming::ant::cStreamMetaType::~cStreamMetaType |
( |
| ) |
|
|
overridevirtual |
◆ GetDefaultConfig()
Get the default configuration values for a Stream Type.
- Parameters
-
| [out] | pProperties | All properties of the default configuration |
- Returns
- Standard error code
- Return values
-
| ERR_NOERROR | Everything went fine |
◆ GetMetaTypeName()
| tResult adtf::streaming::ant::cStreamMetaType::GetMetaTypeName |
( |
IString && | strTypeName | ) |
const |
|
override |
Gets the unique meta type name.
- Returns
- Standard error code
- Parameters
-
| [out] | strTypeName | The meta type name as string |
- Return values
-
| ERR_NOERROR | Everything went fine |
◆ GetParent()
This GetParent function is deprecated.
- Deprecated
- This IStreamMetaType::GetParent function is not supported anymore!
- Parameters
-
| [out] | pParent | The parent Stream Type definition |
- Returns
- Standard error code
- Return values
-
| ERR_NOERROR | Everything went fine |
| ERR_NOT_SUPPORTED | Is not supported anymore |
◆ GetVersion()
| adtf::util::tVersion adtf::streaming::ant::cStreamMetaType::GetVersion |
( |
| ) |
const |
|
override |
Get version of a Stream Type.
- Returns
- Version of the Stream Type.
- See also
- adtf_util::tVersion
◆ IsCompatible()
Compares the oTypeExpected Stream Type with the oTypeToCheck.
This default implementation of IsCompatible will return ERR_NOERROR only if:
- Parameters
-
| [in] | oTypeToCheck | The incoming type to check. |
| [in] | oTypeExpected | The expected type which values are more significant. |
- Return values
-
| ERR_NOERROR | types are compatible |
◆ SetMetaTypeName()
| tResult adtf::streaming::ant::cStreamMetaType::SetMetaTypeName |
( |
const char * | strTypeName | ) |
|
|
protected |
Sets the unique type name.
- Parameters
-
| [in] | strTypeName | the unique type name for this meta type so set. |
- Returns
- Standard Result Code
The documentation for this class was generated from the following file:
- src/libraries/streaming3/include/adtfstreaming3/streamtype.h