diff options
Diffstat (limited to 'CIAO/tests/TTSCTest/TTSConnector/TTSConnector.idl')
-rw-r--r-- | CIAO/tests/TTSCTest/TTSConnector/TTSConnector.idl | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/CIAO/tests/TTSCTest/TTSConnector/TTSConnector.idl b/CIAO/tests/TTSCTest/TTSConnector/TTSConnector.idl deleted file mode 100644 index e4f13b93c7c..00000000000 --- a/CIAO/tests/TTSCTest/TTSConnector/TTSConnector.idl +++ /dev/null @@ -1,53 +0,0 @@ -//: - -#ifndef TIMETRIGGERCONNECTOR_IDL -#define TIMETRIGGERCONNECTOR_IDL - -#include <Components.idl> - -//In this demo the connector is made by hand, but in future, the connector has to be generated by idl. - -module TTC { - - typedef long TimerId; - - struct TimeT - { - long seconds; - unsigned long nanosec; - }; - - enum timeout_enum_t - { - ABSOLUTE_TIME, - RELATIVE_TIME - }; - - //timeout can be relative or absolute, as denoted by the flag. - struct timeout_t - { - // Time value for timeout - TimeT time_val; - // Timeout type - timeout_enum_t flag; - }; -}; - -typedef string TimerService; - -local interface TTC_Callback { - void on_timer (in TTC::timeout_t time); -}; - -local interface TTC_Scheduler { - TTC::TimerId start_scheduler_periodic (in TTC::timeout_t delay_time,in TTC::timeout_t rate, in TTC_Callback cb); - TTC::TimerId start_scheduler_sporadic (in TTC::timeout_t time, in TTC_Callback cb); - void cancel_scheduler (in TTC::TimerId timer_id); -}; - -component TTSConnector -{ - provides TTC_Scheduler p_provides_tcc_scheduler; -}; - -#endif /*TIMETRIGGERCONNECTOR_IDL*/ |