VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfPrint.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2015 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
64 
65 #pragma once
66 
67 #include "vrfutil/vrfutilDefines.h"
69 
70 #include "vlutil/vlPrint.h"
71 
72 //Stream Access
73 DT_DLL_vrfutil DtOutputStream& DtChannelError(const DtString& channel = "");
74 DT_DLL_vrfutil DtOutputStream& DtChannelWarn(const DtString& channel = "");
75 DT_DLL_vrfutil DtOutputStream& DtChannelInfo(const DtString& channel = "");
76 DT_DLL_vrfutil DtOutputStream& DtChannelVerbose(const DtString& channel = "");
77 DT_DLL_vrfutil DtOutputStream& DtChannelDebug(const DtString& channel = "");
78 
79 //Printer Management
83 
85 
86 //Channel Settings
87 DT_DLL_vrfutil int ChannelNotifyLevel(const DtString& channel);
89 DT_DLL_vrfutil bool ChannelIsEnabled(const DtString& channel);
90 
91 DT_DLL_vrfutil void SetChannelSettings(const DtString& channel,
92  int notifyLevel, const DtString& prefix, bool enabled);
94 DT_DLL_vrfutil void SetChannelEnabled(const DtString& channel, bool enabled);
95 DT_DLL_vrfutil void SetChannelLevel(const DtString& channel, int notifyLevel);
96 
98 DT_DLL_vrfutil void PrintStatus(const DtString& channel = "");
99 
101 
102 DT_DLL_vrfutil DtOutputStreamBuffer* CreateStreamBuffer();
103 
107 
114  const DtRwChannelDescriptorList& settings);
117  bool enabled);
119 
DT_DLL_vrfutil void AddAndManagePrinter(DtPrinter *printer)
DT_DLL_vrfutil void AddVrfPrinter(DtPrinter *printer)
DT_DLL_vrfutil DtOutputStream & DtChannelVerbose(const DtString &channel="")
DT_DLL_vrfutil DtOutputStreamBuffer * CreateStreamBuffer()
DT_DLL_vrfutil void SetOcChannelPrototypeEnabled(const DtString &channel, bool enabled)
These settings will be used when a new object console is created. Note that calling this function wil...
DT_DLL_vrfutil bool ChannelIsEnabled(const DtString &channel)
DT_DLL_vrfutil void SetChannelEnabled(const DtString &channel, bool enabled)
DT_DLL_vrfutil void SetChannelLevel(const DtString &channel, int notifyLevel)
DT_DLL_vrfutil void PrintStatus(const DtString &channel="")
Diagnostics.
DT_DLL_vrfutil int NumberOfNotifyLevels()
DT_DLL_vrfutil DtOutputStream & DtChannelWarn(const DtString &channel="")
DT_DLL_vrfutil void DestroyGlobalChannelManager()
Destroy global singleton manager. Not needed for normal operation, main purpose is for memory leak de...
DT_DLL_vrfutil DtOutputStream & DtChannelDebug(const DtString &channel="")
DT_DLL_vrfutil DtOutputStream & DtChannelInfo(const DtString &channel="")
DT_DLL_vrfutil void InitializePrinters()
DT_DLL_vrfutil DtOutputStream & DtChannelError(const DtString &channel="")
The following functions add the ability to send sim console to separate channels, with their own noti...
DT_DLL_vrfutil DtString ChannelPrefix(const DtString &channel)
DT_DLL_vrfutil int ChannelNotifyLevel(const DtString &channel)
DT_DLL_vrfutil void SetChannelSettings(const DtString &channel, int notifyLevel, const DtString &prefix, bool enabled)
Definition: rwTemplatedList.h:34
DT_DLL_vrfutil DtRwChannelDescriptorList OcChannelPrototypeSettings()
These settings will be used when a new object console is created. Note that calling this function wil...
DT_DLL_vrfutil void SetOcChannelPrototypeSettings(const DtRwChannelDescriptorList &settings)
These settings will be used when a new object console is created. Note that calling this function wil...
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
DT_DLL_vrfutil void RemovePrinter(DtPrinter *printer)

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)