Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

costime_timeservice(3erl) [linux man page]

CosTime_TimeService(3erl)				     Erlang Module Definition					 CosTime_TimeService(3erl)

NAME
CosTime_TimeService - This module implements the OMG CosTime::TimeService interface. DESCRIPTION
To get access to the record definitions for the structures use: -include_lib("cosTime/include/*.hrl"). EXPORTS
universal_time(TimeService) -> Reply Types TimeService = #objref Reply = UTO | {'EXCEPTION", #'TimerService_TimeUnavailable'{}} UTO = #objref This operation returns the current time and the Inaccuracy given when starting this application in a UTO. The time base is 15 octo- ber 1582 00:00 . Comparing two time objects which use different time base is, by obvious reasons, pointless. new_universal_time(TimeService, Time, Inaccuracy, Tdf) -> UTO Types TimeService = UTO = #objref Time = Inaccuracy = ulonglong() Tdf = short() This operation creates a new UTO object representing the time parameters given. This is the only way to create a UTO with an arbi- trary time from its components. This is useful when using the Timer Event Service. uto_from_utc(TimeService, Utc) -> UTO Types TimeService = UTO = #objref Utc = #'TimeBase_UtcT'{time, inacclo, inacchi, tdf} time = ulonglong() inacclo = ulong() inacchi = ushort() tdf = short() This operation is used to create a UTO given a time in the Utc form. new_interval(TimeService, Lower, Upper) -> TIO Types TimeService = TIO = #objref Lower = Upper = ulonglong() This operation is used to create a new TIO object, representing the input parameters. If Lower is greater than Upper BAD_PARAM is raised. Ericsson AB cosTime 1.1.10 CosTime_TimeService(3erl)

Check Out this Related Man Page

CosTimerEvent_TimerEventHandler(3erl)			     Erlang Module Definition			     CosTimerEvent_TimerEventHandler(3erl)

NAME
CosTimerEvent_TimerEventHandler - This module implements the OMG CosTimerEvent::TimerEventHandler interface. DESCRIPTION
To get access to the record definitions for the structures use: -include_lib("cosTime/include/*.hrl"). EXPORTS
'_get_status'(TimerEventHandler) -> Reply Types TimerEventHandler = #objref Reply = 'ESTimeSet' | 'ESTimeCleared' | 'ESTriggered' | 'ESFailedTrigger' This operation returns the status of the target object. * 'ESTimeSet' - timer is set to trigger event(s). * 'ESTimeCleared' - no time set or the timer have been reset. * 'ESTriggered' - event has already been sent. * 'ESFailedTrigger' - tried to, but failed, sending the event. If the target object is of type 'TTPeriodic' the status value 'ESTriggered' is not valid. time_set(TimerEventHandler) -> Reply Types TimerEventHandler = #objref Reply = {boolean(), UTO} UTO = #objref This operation returns true if the time has been set for an event that is yet to be triggered, false otherwise. The outparameter represents the current time value of the target object. set_timer(TimerEventHandler, TimeType, TriggerTime) -> void() Types TimerEventHandler = #objref TimeType = 'TTAbsolute' | 'TTRelative' | 'TTPeriodic' TriggerTime = UTO UTO = #objref This operation terminates any previous set trigger, and set a new trigger specified by the TimeType and UTO objects. The relation between the UTO object and the TimeTypes are: * 'TTAbsolute' - the UTO object must represent absolute time, i.e., number of 100 nanoseconds passed since 15 october 1582 00:00. * 'TTRelative' - the UTO object must represent the from now until when the event should be triggered, e.g., within 30*10^7 nanoseconds. * 'TTPeriodic' - the same as for 'TTRelative', but this option will trigger an event periodically until timer cancelled. cancel_timer(TimerEventHandler) -> boolean() Types TimerEventHandler = #objref This operation cancel, if possible, the triggering of event(s). Returns true if an event is actually cancelled, false otherwise. set_data(TimerEventHandler, EventData) -> ok Types TimerEventHandler = #objref EventData = #any This operation changes the event data sent when triggered. Ericsson AB cosTime 1.1.10 CosTimerEvent_TimerEventHandler(3erl)
Man Page