Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

costime_uto(3erl) [linux man page]

CosTime_UTO(3erl)					     Erlang Module Definition						 CosTime_UTO(3erl)

NAME
CosTime_UTO - This module implements the OMG CosTime::UTO interface. DESCRIPTION
To get access to the record definitions for the structures use: -include_lib("cosTime/include/*.hrl"). EXPORTS
'_get_time'(UTO) -> ulonglong() Types UTO = #objref This operation returns the time associated with the target object. '_get_inaccuracy'(UTO) -> ulonglong() Types UTO = #objref This operation returns the inaccuracy associated with the target object. '_get_tdf'(UTO) -> short() Types UTO = #objref This operation returns the time displacement factor associated with the target object. '_get_utc_time'(UTO) -> UtcT Types UTO = #objref Utc = #'TimeBase_UtcT'{time, inacclo, inacchi, tdf} time = ulonglong() inacclo = ulong() inacchi = ushort() tdf = short() This operation returns the data associated with the target object in Utc form. absolute_time(UTO) -> OtherUTO Types UTO = OtherUTO = #objref This operation create a new UTO object representing the time in the target object added to current time (UTC). The time base is 15 october 1582 00:00 . Comparing two time objects which use different time base is, by obvious reasons, pointless. Raises DATA_CONVER- SION if causes an overflow. This operation is only useful if the target object represents a relative time. compare_time(UTO, ComparisonType, OtherUTO) -> Reply Types UTO = OtherUTO = #objref ComparisonType = 'IntervalC' | 'MidC' Reply = 'TCEqualTo' | 'TCLessThan' | 'TCGreaterThan' | 'TCIndeterminate' This operation compares the time associated with the target object and the given UTO object. The different ComparisonType are: * 'MidC' - only compare the time represented by each object. Furthermore, the target object is always used as the first parameter in the comparison, i.e., if the target object's time is larger 'TCGreaterThan' will be returned. * 'IntervalC' - also takes the inaccuracy into consideration, i.e., if the two objects interval overlaps 'TCIndeterminate' is returned, otherwise the as for 'MidC'. time_to_interval(UTO, OtherUTO) -> TIO Types UTO = OtherUTO = TIO = #objref This operation returns a TIO representing the interval between the target object and the given UTO midpoint times. The inaccuracy in the objects are not taken into consideration. interval(UTO) -> TIO Types UTO = TIO = #objref This operation creates a TIO object representing the error interval around the time value represented by the target object, i.e., TIO.upper_bound = UTO.time+UTO.inaccuracy and TIO.lower_bound = UTO.time-UTO.inaccuracy . Ericsson AB cosTime 1.1.10 CosTime_UTO(3erl)

Check Out this Related Man Page

cosTime(3erl)						     Erlang Module Definition						     cosTime(3erl)

NAME
cosTime - The main module of the cosTime application DESCRIPTION
To get access to the record definitions for the structures use: -include_lib("cosTime/include/*.hrl"). This module contains the functions for starting and stopping the application. This application use the time base 15 october 1582 00:00 . Performing operations using other time bases will not yield correct result. The OMG CosTime specification defines the operation secure_universal_time . As of today we cannot provide this functionality considering the criteria demanded to fulfill the OMG specification. When using this application, time and inaccuracy supplied by the user must be given in number of 100 nano seconds . The Time Displacement Factor is positive east of the meridian, while those to the west are negative. This application use calender:now_to_universal_time(Now) to create a UTC. Hence, the underlying OS must deliver a correct result when call- ing erlang:now() . When determining the inaccuracy of the system, the user should consider the way the time objects will be used. Communicating with other ORB's, add a substantial overhead and should be taken into consideration. EXPORTS
install_time() -> Return Types Return = ok | {'EXIT', Reason} This operation installs the cosTime Time Service part application. uninstall_time() -> Return Types Return = ok | {'EXIT', Reason} This operation uninstalls the cosTime Time Service part application. install_timerevent() -> Return Types Return = ok | {'EXIT', Reason} This operation installs the cosTime Timer Event Service part application. Note: The Timer Event Service part requires Time Service part and cosEvent or the cosNotification application to be installed first. uninstall_timerevent() -> Return Types Return = ok | {'EXIT', Reason} This operation uninstalls the cosTime Timer Event Service part application. start() -> Return Types Return = ok | {error, Reason} This operation starts the cosTime application. stop() -> Return Types Return = ok | {error, Reason} This operation stops the cosTime application. start_time_service(Tdf, Inaccuracy) -> Return Types Tdf = short() Inaccuracy = ulonglong(), eq. #100 nano seconds Return = ok | {'EXCEPTION', #'BAD_PARAM'{}} This operation starts a Time Service server. Please note that there may only be exactly one Time Service active at a time. The Inac- curacy parameter defines the inaccuracy the underlying OS will introduce. Remember to take into account latency when passing time object between nodes. stop_time_service(TimeService) -> ok Types TimeService = #objref This operation stops the Time Service object. start_timerevent_service(TimeService) -> ok Types TimeService = #objref This operation starts a Timer Event Service server. Please note that there may only be exactly one Timer Event Service per node active at a time. The supplied TimeServcie reference will be the object Timer Event Service contacts to get access to a new UTC. stop_timerevent_service(TimerEventService) -> ok Types TimerEventService = #objref This operation stops the Timer Event Service object. Ericsson AB cosTime 1.1.10 cosTime(3erl)
Man Page