Exemplo n.º 1
0
        public Trackable TrackableFactory(int trackableType, IntPtr trackableHandle)
        {
            ExperimentBase trackableManager = _GetTrackableTypeManager(trackableType);

            if (trackableManager != null)
            {
                return(trackableManager.TrackableFactory(trackableType, trackableHandle));
            }

            return(null);
        }
Exemplo n.º 2
0
        public Trackable TrackableFactory(int trackableType, IntPtr trackableHandle)
        {
            ExperimentBase trackableManager = _GetTrackableTypeManager(trackableType);

            if (trackableManager != null)
            {
                return(trackableManager.TrackableFactory(trackableType, trackableHandle));
            }
            throw new NotImplementedException(
                      "ExperimentManager.TrackableFactory::No constructor for requested trackable type.");
        }