#include "demo_deserializer_support_srv.h"
ADTF_PLUGIN(
"Deserializer Support Service", cDemoDeserializerSupportSrv);
cDemoDeserializerSupportSrv::cDemoDeserializerSupportSrv()
{
SetDescription("Use this System Service to extend the ADTF System with deserialization support for sample data created with ADTF 2 Video Compression Toolbox.");
SetHelpLink("$(ADTF_DIR)/doc/adtf_html/page_demo_deserializer_support_service.html");
}
tResult cDemoDeserializerSupportSrv::ServiceInit()
{
object_ptr<IADTFFileSupport> pFileSupport;
return pFileSupport->LoadADTFFilePlugin(cFileSystem::GetOwnModuleDirectory().AppendPath("demo_adtf2_compressed_video_deserializer.adtffileplugin"));
}
#define ADTF_PLUGIN(__plugin_identifier,...)
The ADTF Plugin Macro will add the code of a adtf::ucom::ant::IPlugin implementation.
#define RETURN_IF_FAILED(s)
Return if expression is failed, which requires the calling function's return type to be tResult.
virtual tResult GetObject(iobject_ptr< IObject > &pObject, const char *strNameOID) const =0
Get registered object from object registry.
Namespace for the ADTF Base SDK.
Namespace for a summary of all service interfaces (System Service) provided by ADTF.
Namespace for the ADTF uCOM3 SDK.
alias namespace for the A_UTILS Library.
adtf::ucom::IRuntime * _runtime
Global Runtime Pointer to reference to the current runtime.
#define RETURN_IF_FAILED_DESC(s,...)
returns if the expression returns a failed tResult and ammends the error message.