Exemplo n.º 1
0
        //--------------------------------------------------------------------------------------------------

        void _MessageRouter_MessageArrived(string text, Message_Gravity gravity)
        {
            if (!_IsMainThread)
            {
                // Don't accept messages from other threads than the main thread yet
                return;
            }

            MessageSeverity severity;

            switch (gravity)
            {
            case Message_Gravity.Message_Trace:
                severity = MessageSeverity.Trace;
                break;

            case Message_Gravity.Message_Info:
                severity = MessageSeverity.Info;
                break;

            case Message_Gravity.Message_Warning:
                severity = MessageSeverity.Warning;
                break;

            case Message_Gravity.Message_Alarm:
                severity = MessageSeverity.Warning;
                break;

            case Message_Gravity.Message_Fail:
                severity = MessageSeverity.Error;
                break;

            default:
                throw new ArgumentOutOfRangeException(nameof(gravity), gravity, null);
            }

            AddMessage(new MessageItem(severity, text));
        }
Exemplo n.º 2
0
 public Message_PrinterOStream(Message_Gravity theTraceLevel)
     : base()
 {
     throw new NotImplementedException();
 }
Exemplo n.º 3
0
 public Message_PrinterOStream(string theFileName, bool theDoAppend, Message_Gravity theTraceLevel)
     : base()
 {
     throw new NotImplementedException();
 }
 public Message_PrinterSystemLog(TCollection_AsciiString theEventSourceName, Message_Gravity theTraceLevel)
     : base()
 {
     throw new NotImplementedException();
 }
Exemplo n.º 5
0
 public void SendMessages(Message_Gravity theTraceLevel, int theMaxCount)
 {
     throw new NotImplementedException();
 }
 public void Clear(Message_Gravity theGravity)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 7
0
 public void Send(TCollection_ExtendedString theString, Message_Gravity theGravity)
 {
     throw new NotImplementedException();
 }
 public Message_Alert AddAlert(Message_Report theReport, Message_Attribute theAttribute,
                               Message_Gravity theGravity)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 9
0
 public void SendMessages(Message_Messenger theMessenger, Message_Gravity theGravity)
 {
     throw new NotImplementedException();
 }
 public void Send(Message_Msg message, Message_Gravity gravity)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 11
0
 public void SendMsg(TopoDS_Shape shape, Message_Msg message, Message_Gravity gravity)
 {
     throw new NotImplementedException();
 }
 public void Send(Standard_Transient obj, Message_Msg message, Message_Gravity gravity)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 13
0
 public void SetTraceLevel(Message_Gravity theTraceLevel)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 14
0
 public void sendMetricAlert(TCollection_AsciiString theValue, Message_Gravity theGravity)
 {
     throw new NotImplementedException();
 }
 public Message_ListOfAlert Alerts(Message_Gravity theGravity)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 16
0
 public void Merge(Message_Report theOther, Message_Gravity theGravity)
 {
     throw new NotImplementedException();
 }
 public bool RemoveAlert(Message_Gravity theGravity, Message_Alert theAlert)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 18
0
 public void sendMessages(Message_Messenger theMessenger, Message_Gravity theGravity,
                          Message_CompositeAlerts theCompositeAlert)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 19
0
 public void Send(string theString, Message_Gravity theGravity)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 20
0
 public void AddAlert(Message_Gravity theGravity, Message_Alert theAlert)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 21
0
 public void Send(Standard_Transient theObject, Message_Gravity theGravity)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 22
0
 public void AddMessage(TopoDS_Shape S, Message_Msg msg, Message_Gravity gravity)
 {
     throw new NotImplementedException();
 }
 public void send(TCollection_AsciiString theString, Message_Gravity theGravity)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 24
0
 public void SendStatusMessages(Message_ExecStatus theFilter, Message_Gravity theTraceLevel)
 {
     throw new NotImplementedException();
 }