# Path: pygaze/settings.py
# class Settings(object):
#     def __init__(self):
#     def read_module(self, mod):
#     def __getattr__(self, setting):
#     def __setattr__(self, setting, value):
# 
# Path: pygaze/_time/basetime.py
# class BaseTime:
#     
#     """Class for keeping track of time"""
#     
#     def __init__(self):
#         
#         """
#         Initializes a Time instance
#         
#         arguments
# 
#         None
#         
#         keyword arguments
# 
#         None
#         """
#         
#         pass
# 
# 
#     def expstart(self):
# 
#         """
#         Time is set to 0 when calling this
#         
#         arguments
# 
#         None
#         
#         keyword arguments
#         
#         None
# 
#         returns
# 
#         Nothing
#         """
# 
#         pass
# 
# 
#     def get_time(self):
# 
#         """
#         Returns current time in milliseconds
#         
#         arguments
#         
#         None
#         
#         keyword arguments
#         
#         None
#         
#         returns
#         
#         time        --    current time in milliseconds, as measured since
#                     expbegintime
#         """
# 
#         pass
# 
# 
#     def pause(self):
# 
#         """
#         Pauses the experiment for given number of milliseconds
#         
#         arguments
# 
#         pausetime    --    time to pause in milliseconds
#         
#         keyword arguments
#         
#         None
#         
#         returns
#         
#         pausetime    --    actual time the system paused (in milliseconds)
#         """
# 
#         pass
# 
# 
#     def expend(self):
# 
#         """
#         Completely ends the experiment (only call this at the end!)
#         
#         arguments
# 
#         None
#         
#         keyword arguments
#         
#         None
#         
#         returns
# 
#         endtime    --    ending time of the experiment (in milliseconds since
#                     expbegintime
#         """
# 
#         pass


from pygaze.py3compat import *
from pygaze import settings
from pygaze._time.basetime import BaseTime
    from pygaze._misc.misc import copy_docstr
    # see pygaze._time.basetime.BaseTime
    
    def __init__(self):
        
        # see pygaze._time.basetime.BaseTime

        # try to copy docstring (but ignore it if it fails, as we do
        # not need it for actual functioning of the code)
        try:
            copy_docstr(BaseTime, OSTime)
        except:
            # we're not even going to show a warning, since the copied
            # docstring is useful for code editors; these load the docs
            # in a non-verbose manner, so warning messages would be lost
            pass
        
        pass


    def expstart(self):
        
        # see pygaze._time.basetime.BaseTime
        
        self.expbegintime = 0


    def get_time(self):

        # see pygaze._time.basetime.BaseTime


# Path: pygaze/settings.py
# class Settings(object):
#     def __init__(self):
#     def read_module(self, mod):
#     def __getattr__(self, setting):
#     def __setattr__(self, setting, value):
# 
# Path: pygaze/_time/basetime.py
# class BaseTime:
#     
#     """Class for keeping track of time"""
#     
#     def __init__(self):
#         
#         """
#         Initializes a Time instance
#         
#         arguments
# 
#         None
#         
#         keyword arguments
# 
#         None
#         """
#         
#         pass
# 
# 
#     def expstart(self):
# 
#         """
#         Time is set to 0 when calling this
#         
#         arguments
# 
#         None
#         
#         keyword arguments
#         
#         None
# 
#         returns
# 
#         Nothing
#         """
# 
#         pass
# 
# 
#     def get_time(self):
# 
#         """
#         Returns current time in milliseconds
#         
#         arguments
#         
#         None
#         
#         keyword arguments
#         
#         None
#         
#         returns
#         
#         time        --    current time in milliseconds, as measured since
#                     expbegintime
#         """
# 
#         pass
# 
# 
#     def pause(self):
# 
#         """
#         Pauses the experiment for given number of milliseconds
#         
#         arguments
# 
#         pausetime    --    time to pause in milliseconds
#         
#         keyword arguments
#         
#         None
#         
#         returns
#         
#         pausetime    --    actual time the system paused (in milliseconds)
#         """
# 
#         pass
# 
# 
#     def expend(self):
# 
#         """
#         Completely ends the experiment (only call this at the end!)
#         
#         arguments
# 
#         None
#         
#         keyword arguments
#         
#         None
#         
#         returns
# 
#         endtime    --    ending time of the experiment (in milliseconds since
#                     expbegintime
#         """
# 
#         pass


# Path: pygaze/_time/ostime.py
from pygaze.py3compat import *
from pygaze import settings
from pygaze._time.basetime import BaseTime
    from pygaze._misc.misc import copy_docstr

    # see pygaze._time.basetime.BaseTime
    
    def __init__(self):
        
        # see pygaze._time.basetime.BaseTime

        # try to copy docstring (but ignore it if it fails, as we do
        # not need it for actual functioning of the code)
        try:
            copy_docstr(BaseTime, OSTime)
        except:
            # we're not even going to show a warning, since the copied
            # docstring is useful for code editors; these load the docs
            # in a non-verbose manner, so warning messages would be lost
            pass
        
        pass


    def expstart(self):
        
        # see pygaze._time.basetime.BaseTime
        
        self.expbegintime = 0


    def get_time(self):

        # see pygaze._time.basetime.BaseTime


        return settings.osexperiment.time()