13 #ifndef P6RUNTIMEIF_H__
14 #define P6RUNTIMEIF_H__ 1
32 #define P6INVALIDATOM (P6R::P6ATOM)0
42 #define INTERFACE p6IAtom
88 #define IF_p6IAtom {0x32804623,0x1DCD,0x4103,{0xB2,0x30,0x4A,0xCE,0x1F,0x2B,0xC6,0x5F}}
99 #define INTERFACE p6IEnumCategories
133 #define IF_p6IEnumCategories {0x0BE1E15B,0xF964,0x4be4,{0x8E,0x71,0xA3,0xE2,0x98,0xA2,0xD5,0x35}}
141 #define INTERFACE p6IEnumCategoryComponents
175 #define IF_p6IEnumCategoryComponents {0xACD65F14,0xD83E,0x4cb2,{0x8C,0x8A,0x38,0x47,0x11,0x84,0x8F,0x7A}}
205 #define INTERFACE p6ICategoryMgr
251 #define IF_p6ICategoryMgr {0x40768F08,0x4107,0x42ca,{0x9D,0x73,0x8B,0x1E,0xCD,0x03,0xCD,0x62}}
267 #define INTERFACE p6IComponentMgr
310 #define IF_p6IComponentMgr {0x17e66188, 0xf9ae, 0x437e, {0xac, 0x8b, 0xbf, 0x73, 0xa8, 0xa7, 0x28, 0x96}}
328 #define MAX_SERVICE_NAME 32
335 P6WCHAR m_szName[MAX_SERVICE_NAME];
345 #define INTERFACE p6IEnumServices
389 #define INTERFACE p6IEnvironment
433 #define IF_p6IEnvironment {0x485d6b1e,0xa081,0x45b7,{0xaf,0x2a,0x52,0xf,0x52,0x81,0x28,0xc4}}
442 #define P6MAX_EVENTID_LEN 128
457 #define INTERFACE p6IEventMgr
502 #define IF_p6IEventMgr {0xF2F9C170,0xA926,0x4864,{0x83,0x32,0xFE,0xA7,0xE4,0xBE,0xEB,0x0A}}
510 #define INTERFACE p6IServer
535 #define IF_p6IServer {0x0E94A85F,0x1C97,0x4036,{0xB4,0xF7,0x96,0x3B,0x33,0x50,0x9B,0x09}}
547 #define INTERFACE p6IRunningIface
613 #define IF_p6IRunningIface {0x393A85DF,0x7442,0x43ab,{0xA7,0xC7,0x52,0xD9,0x6C,0x53,0x47,0x12}}
633 #define INTERFACE p6ISafeString
2825 #define IF_p6ISafeString {0x1B77B8F2,0x9FBC,0x4d90,{0x9B,0x1F,0x21,0x1D,0xA2,0x4C,0xD8,0x23}}
2840 #define INTERFACE p6ISystemInfo
2952 #define IF_p6ISystemInfo {0x56084D40,0x9165,0x42DF,{0x84,0x25,0x0B,0x33,0xE9,0x1D,0x9A,0xEF}}
2968 #define INTERFACE p6IConsole
3032 #define IF_p6IConsole {0xBA6864AD,0x935F,0x4C14,{0xAB,0xFC,0x3C,0xA6,0xC5,0xCB,0x2D,0xE5}}
3037 #define INTERFACE p6IMarshalData
3051 #define IF_p6IMarshalData {0xCD8CECEA,0xDDE2,0x4F44,{0x80,0x02,0x56,0xB9,0x06,0x64,0xE0,0x79}}
3062 #define INTERFACE p6INetHelpers
3261 #define IF_p6INetHelpers {0x464F74EE,0x0D93,0x4ee9,{0x9E,0x5E,0x13,0xEE,0x0C,0x94,0xB5,0x3D}}
3273 #define INTERFACE p6ITraceFile
3289 #define IF_p6ITraceFile {0xE39C9608,0xED21,0x4FC7,{0x35,0xCB,0xD1,0x9F,0xF0,0x9F,0x5D,0x84}}
3302 if(
P6SUCCEEDED(m_cpTrace.getRuntimeIface(IID_p6ITraceFile))) {
3303 if(
P6SUCCEEDED(m_cpTrace->traceFunctionBegin(pszFile,cLine,pszFunction))) {
3304 m_pszFunction = pszFunction;
3305 m_cpTrace->indentInc();
3313 m_cpTrace->indentDec();
3314 m_cpTrace->traceFunctionEnd(m_pszFunction);
3320 if(m_cpTrace) { m_cpTrace->traceLine(pszFile,cLine); }
3324 if(m_cpTrace) { m_cpTrace->traceMatch(pszString); }
3328 if(m_cpTrace) { m_cpTrace->traceExclude(pszString); }
3336 #ifdef P6ENABLE_FUNCTION_TRACING
3337 #define P6TRACE() P6R::CP6FunctionTrace traceit(P6FILEANDLINE,P6CURFUNCTION)
3338 #define P6TRACELINE() traceit.traceLine(P6FILEANDLINE)
3339 #define P6TRACEMATCH(s) traceit.traceMatch((s))
3340 #define P6TRACEEXCLUDE(s) traceit.traceExclude((s))
3343 #define P6TRACELINE(text)
3344 #define P6TRACEMATCH(s)
3345 #define P6TRACEEXCLUDE(s)
P6UUID P6CID
A component ID.
P6COM smart interface pointer template.
Provides very basic, thread safe access to the console, allowing the console to be read from and writ...
A smart pointer implementation to help manage and use [p6]COM based interfaces.
CP6FunctionTrace(const P6R::P6CHAR *pszFile, P6R::P6SIZE cLine, const P6R::P6CHAR *pszFunction)
This runtime interface provides access to a tracing facility that outputs to a separate trace log fil...
unsigned char P6BOOL
Boolean type.
Wide Const binary string.
P6SIZE P6ATOM
Atom type see P6R::p6IAtom in p6com.h.
This runtime interface provides network helpers for managing byte-order and providing address convers...
const P6CHAR * m_pszFunction
wchar_t P6WCHAR
Wide character type see p6i18n.h.
void traceExclude(const P6R::P6CHAR *pszString)
This runtime interface provides a set of safe string routines that should be used in place of the sta...
P6UUID P6CATID
A category ID.
The base interface all [p6]COM components must derive from and implement.
P6COM base interface definitions.
A universally unique indentifier (UUID).
#define P6DECLCOMMETHOD(method)
p6ComPtr< p6ITraceFile > m_cpTrace
void traceLine(const P6R::P6CHAR *pszFile, P6R::P6SIZE cLine)
void traceMatch(const P6R::P6CHAR *pszString)
char P6CHAR
Narrow character type.
#define P6DECLAREIF_(iface, baseif)