ADTF
Loading...
Searching...
No Matches
adtf::remote Namespace Reference

Namespace for the ADTF Remote SDK. More...

Namespaces

namespace  ant
 Namespace for all functionality of the ADTF Remote SDK provided since v3.0.
 
namespace  bat
 Namespace for all functionality of the ADTF Remote SDK provided since v3.1.
 
namespace  catwo
 Namespace for all functionality of the ADTF Remote SDK provided since v3.2.
 
namespace  devil
 Namespace for all functionality of the ADTF Remote SDK provided since v3.3.
 
namespace  elasto
 Namespace for all functionality of the ADTF Remote SDK provided since v3.4.
 
namespace  hollow
 Namespace for all functionality of the ADTF Remote SDK provided since v3.7.
 
namespace  osborn
 Namespace for all functionality of the ADTF Remote SDK provided since v3.14.
 
namespace  quiet
 Namespace for all functionality of the ADTF Remote SDK provided since v3.16.
 
namespace  spider
 Namespace for all functionality of the ADTF Remote SDK provided since v3.18.
 
namespace  thor
 Namespace for all functionality of the ADTF Remote SDK provided since v3.19.
 
namespace  ultron
 Namespace for all functionality of the ADTF Remote SDK provided since v3.20.
 
namespace  vision
 Namespace for all functionality of the ADTF Remote SDK provided since v3.21.
 
namespace  wolverine
 Namespace for all functionality of the ADTF Remote SDK provided since v3.22.
 
namespace  yak
 Namespace for all functionality of the ADTF Remote SDK provided since v3.24.
 

Classes

class  cADTFClientConnector
 
class  cAdtfJsonConverter
 
class  cADTFRemoteSystem
 
struct  cJsonRPCClientObjectFactory
 
class  IClock
 
class  IFileSystem
 
class  ILogging
 
class  IPlayer
 
class  IRecorder
 
class  IRPCActiveRunner
 
class  IRPCInterfaceDefinition
 
class  IRPCObjectClient
 
class  IRPCObjectClientPtr
 
class  IRPCObjectServer
 
class  ISampleStreamTracer
 
class  ISession
 
class  ISystem
 
class  rpc_object_client_ptr
 
class  rpc_object_server
 
class  rpc_remote_interface
 

Typedefs

template<typename Stub>
using remote_object = rpc::jsonrpc_remote_object<Stub, cADTFClientConnector, adtf::util::cString>
 

Functions

void register_client_connector_factory (const char *strProtocol, std::function< std::shared_ptr< jsonrpc::IClientConnector >(const char *)> fnFactory)
 
tResult parse_logging_rpc_buffer (const char *strInput, adtf::util::log::logger oLogger)
 
tResult stream_type_to_json (adtf::base::IString &&strJson, const adtf::streaming::IStreamType &oType)
 Serializes the streamtype to a json string in format like: das.
 
tResult stream_type_from_json (adtf::ucom::iobject_ptr< adtf::streaming::IStreamType > &pType, const adtf::base::IString &strJson)
 Reads a json string and creates the corresponding streamtype and it properties. The json string must follw th format defined in stream_type_to_json.
 
template<typename INTERFACE>
rpc_object_client_ptr< INTERFACE > make_rpc_object_client_ptr (const char *strHostURL, const char *strObjectName)
 
template<typename INTERFACE>
rpc_object_client_ptr< INTERFACE > make_rpc_object_client_ptr (const char *strHostURL, const char *strObjectName)
 
tResult rpc_register_object_server (const char *strName, ucom::ant::iobject_ptr< IRPCObjectServer > &pObjectServer)
 
tResult rpc_register_object_server (const char *strName, const adtf::ucom::ant::iobject_enum< adtf::remote::ant::IRPCObjectServer > &oInterfaceObjects)
 
tResult rpc_unregister_object_server (const char *strName)
 

Detailed Description

Namespace for the ADTF Remote SDK.

Within this namespace all interfaces, classes and functions always refer to their last revised implementation (version namespace). When using types defined within this namespace it is guaranteed to always use the latest version of the types.

The ADTF Remote SDK defines concreate RPC access interfaces to ADTF objects.

The main focus of this package is to define a valid application interface for the RPC calls to a ADTF System Launcher. The one and only class of this package is cADTFRemoteSystem.

Function Documentation

◆ parse_logging_rpc_buffer()

tResult adtf::remote::ant::parse_logging_rpc_buffer ( const char * strInput,
adtf::util::log::logger oLogger )
inline

This method parses the return value of ILogging::GetBufferContent().

Parameters
[in]strInputThe input string.
[in]oLoggerThe callback that will be called for each log entry.

◆ stream_type_from_json()

tResult adtf::remote::wolverine::stream_type_from_json ( adtf::ucom::iobject_ptr< adtf::streaming::IStreamType > & pType,
const adtf::base::IString & strJson )

Reads a json string and creates the corresponding streamtype and it properties. The json string must follw th format defined in stream_type_to_json.

See also
stream_type_to_json
Parameters
pTypeThe object pointer for resulting streamtype on success
strJsonThe json string to read
Return values
ERR_NOERRORsuccess
Returns
tResult failed parsing error with details if fails

◆ stream_type_to_json()

tResult adtf::remote::wolverine::stream_type_to_json ( adtf::base::IString && strJson,
const adtf::streaming::IStreamType & oType )

Serializes the streamtype to a json string in format like: das.

{
"meta_type": "adtf/substreams",
"properties": {
"substreams": {
"type": "tBool",
"value": "true"
"properties": {
// ...
}
}
}
Parameters
strJsonThe result json string
oTypeThe type to serialize
Return values
ERR_NOERRORsuccess
Returns
tResult failed result on json errors