mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-07-02 05:35:11 +00:00
35
tests/unit_tests/sdv_control/test_component.idl
Normal file
35
tests/unit_tests/sdv_control/test_component.idl
Normal file
@@ -0,0 +1,35 @@
|
||||
#include <interfaces/core.idl>
|
||||
#include <interfaces/process.idl>
|
||||
|
||||
/**
|
||||
* @brief Example interface
|
||||
*/
|
||||
interface ITestLock
|
||||
{
|
||||
/**
|
||||
* @brief Lock Mutex
|
||||
*/
|
||||
void Lock();
|
||||
|
||||
/**
|
||||
* @brief Unlock Mutex
|
||||
*/
|
||||
void Unlock();
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Hello interface
|
||||
*/
|
||||
interface IHello
|
||||
{
|
||||
/**
|
||||
* @brief Say hello
|
||||
* @return The greetings string.
|
||||
*/
|
||||
u8string SayHello() const;
|
||||
|
||||
/**
|
||||
* @brief Get the PID of the process the component is running in...
|
||||
*/
|
||||
//sdv::process::TProcessID GetPID() const;
|
||||
};
|
||||
Reference in New Issue
Block a user