ADTF
Loading...
Searching...
No Matches
adtf::remote::catwo::ISystem Class Referenceabstract

Inherits adtf::remote::bat::ISystem.

Inherited by adtf::remote::devil::ISystem.

Public Member Functions

 ADTF_IID (ISystem, "system.catwo.remote.adtf")
 RPC interface ID of the ADTF System RPC object server.
 
virtual int CreateEventBuffer (const char *strObject, const char *strStructName, const char *strDDL)=0
 
virtual tResult ReleaseEventBuffer (int nBufferID)=0
 
virtual tResult ReleaseAllEventBuffers ()=0
 
virtual const char * RetrieveEvents (int nBufferID)=0
 
virtual const char * GetInterfaceDefinition (const char *strObject)=0
 
- Public Member Functions inherited from adtf::remote::bat::ISystem
 ADTF_IID (ISystem, "system.bat.remote.adtf")
 RPC interface ID of the ADTF System RPC object server.
 
virtual const char * GetRPCIIDsForObject (const char *strObject) const =0
 
- Public Member Functions inherited from adtf::remote::ant::ISystem
 ADTF_IID (ISystem, "system.ant.remote.adtf")
 RPC interface ID of the ADTF System RPC object server.
 
virtual const char * GetObjects () const =0
 
virtual const char * GetRPCIIDForObject (const char *strObject) const =0
 
virtual int8_t GetRunlevel () const =0
 
virtual tResult SetRunlevel (int8_t nRunLevel)=0
 
virtual const char * GetLastErrorString () const =0
 
virtual tResult Shutdown ()=0
 
virtual uint64_t GetProcessID () const =0
 

Additional Inherited Members

- Static Public Attributes inherited from adtf::remote::ant::ISystem
static constexpr const tChar *const DEFAULT_NAME = "system"
 Default RPC object server name of the ADTF System RPC object server.
 

Member Function Documentation

◆ CreateEventBuffer()

virtual int adtf::remote::catwo::ISystem::CreateEventBuffer ( const char * strObject,
const char * strStructName,
const char * strDDL )
pure virtual

Creates a new event buffer

Parameters
[in]strObjectThe object id of the event source.
[in]strStructNameThe struct name of the struct from the ddl that describes the event data.
[in]strDDLThe DDL of the event data.
Returns
A new buffer ID or -1 in case of failure.

◆ GetInterfaceDefinition()

virtual const char * adtf::remote::catwo::ISystem::GetInterfaceDefinition ( const char * strObject)
pure virtual

Returns the interface definition of the given RPC object.

Parameters
[in]strObjectThe name of the RPC object.

◆ ReleaseAllEventBuffers()

virtual tResult adtf::remote::catwo::ISystem::ReleaseAllEventBuffers ( )
pure virtual

Releases all currently available event buffers and all associated resources.

Returns
Standard result.

◆ ReleaseEventBuffer()

virtual tResult adtf::remote::catwo::ISystem::ReleaseEventBuffer ( int nBufferID)
pure virtual

Releases an event buffer and all associated resources.

Parameters
[in]nBufferID
Returns
Standard result.

◆ RetrieveEvents()

virtual const char * adtf::remote::catwo::ISystem::RetrieveEvents ( int nBufferID)
pure virtual

Returns a string representation of all events since the last call.

Parameters
[in]nBufferID
Returns
Each line represents an event in the format <timestamp>:<value1>,<value2>,...,<valueN>

The documentation for this class was generated from the following file: