Example #1
0
        /// <summary>
        /// Fills out a given Tango configuration with the currently set configuration settings.
        /// </summary>
        public static void InitConfig(TangoEnums.TangoConfigType configType)
        {
            m_tangoConfig = TangoConfigAPI.TangoService_getConfig(configType);

            // TODO : error check this!
        }
Example #2
0
 public static extern IntPtr TangoService_getConfig(TangoEnums.TangoConfigType config_type);
Example #3
0
 public static IntPtr TangoService_getConfig(TangoEnums.TangoConfigType config_type)
 {
     return(IntPtr.Zero);
 }
Example #4
0
 /// <summary>
 /// Create a new TangoConfig.
 ///
 /// A TangoConfig is passed to TangoService_connect() which starts the service running with
 /// the parameters set at that time in that TangoConfig.  This function can be used to find the current
 /// configuration of the service (i.e. what would be run if no config is specified on TangoService_connect()),
 /// or to create one of a few "template" TangoConfig objects.
 ///
 /// The class is needed only at the time of TangoService_connect() where it is used to configure the service
 /// and can safely be disposed after it has been used in TangoService_connect().
 /// </summary>
 /// <param name="configType">The requested configuration type.</param>
 public TangoConfig(TangoEnums.TangoConfigType configType)
 {
     m_configHandle = TangoConfigAPI.TangoService_getConfig(configType);
 }