Esempio n. 1
0
 /// <summary>
 /// Constructs a new LogStream.
 /// </summary>
 /// <param name="userData">User-supplied data</param>
 protected LogStream(String userData)
 {
     m_logStream = new AiLogStream(OnLogstream, userData);
 }
Esempio n. 2
0
 /// <summary>
 /// Constructs a new LogStream.
 /// </summary>
 protected LogStream()
 {
     m_logStream = new AiLogStream(OnLogstream);
 }
Esempio n. 3
0
 /// <summary>
 /// Constructs a new LogStream.
 /// </summary>
 /// <param name="callback">Callback called when messages are logged.</param>
 /// <param name="userData">User-supplied data</param>
 public LogStream(LogCallback callback, String userData)
 {
     m_logStream = new AiLogStream(OnLogstream, userData);
     m_logCallback = callback;
 }
Esempio n. 4
0
 /// <summary>
 /// Constructs a new LogStream.
 /// </summary>
 /// <param name="callback">Callback called when messages are logged.</param>
 public LogStream(LogCallback callback)
 {
     m_logStream = new AiLogStream(OnLogstream);
     m_logCallback = callback;
 }
Esempio n. 5
0
 public static extern void AttachLogStream(ref AiLogStream stream);
Esempio n. 6
0
 public static extern ReturnCode DetachLogStream(ref AiLogStream stream);