return the current time associated with this receiver . for non-dt receivers , this method reverts to the director 's getcurrenttime method . in dt , there is a local time associated with every receiver . concode_field_sep IOPort _container concode_elem_sep Token[] _tokenCache concode_field_sep IOPort getContainer concode_elem_sep void clear concode_elem_sep Token[] getArray concode_elem_sep void put concode_elem_sep void putArrayToAll concode_elem_sep void putArray concode_elem_sep void putToAll concode_elem_sep Token get concode_elem_sep boolean hasToken concode_elem_sep boolean hasToken concode_elem_sep boolean isKnown concode_elem_sep void reset concode_elem_sep String toString concode_elem_sep double getCurrentTime concode_elem_sep boolean hasRoom concode_elem_sep boolean hasRoom concode_elem_sep void setContainer
Time function ( ) { IOPort loc0 = getContainer ( ) ; Actor loc1 = ( Actor ) loc0 . getContainer ( ) ; Director loc2 = loc1 . getDirector ( ) ; return loc2 . getModelTime ( ) ; }