SophiaFramework UNIVERSE 5.3 |
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
X | O | O | O |
Public Functions | |
---|---|
SFCError |
GetParam(
AEELogParamType type
, VoidConstPtr param
)
Get the configuration of the SFBLogger interface.
|
SFCError |
GetParam(
AEELogParamType type
, SFXBufferConstRef param
)
Get the configuration of the SFBLogger interface.
|
static SFBLoggerSmp |
NewInstance(
AEECLSID clsid = AEECLSID_LOGGER_WIN
, SFCErrorPtr exception = null
)
Create a new SFBLogger instance.
|
SFCError |
Printf(
AEELogBucketType bucket
, ACharConstPtr fileName
, UInt16 lineNum
, ACharConstPtr format
, ...
)
Send a formatted ASCII text message.
|
SFCError |
PutItem(
AEELogBucketType bucket
, AEELogItemType type
, UInt16 size
, UInt08Ptr item
)
Send a prioritized user-defined binary message.
|
SFCError |
PutMsg(
AEELogBucketType bucket
, ACharConstPtr fileName
, UInt16 lineNum
, ACharConstPtr msg
, UInt08 numArgs
, UInt32 args[]
)
Send a predefined binary message and allows fast logging
due to the limited formatting required and the fixed size of the outgoing log message.
|
SFCError |
PutRecord(
AEELogBucketType bucket
, AEELogRecord* record
)
Send a binary message.
|
SFCError |
SetParam(
AEELogParamType type
, UInt32 param
, VoidConstPtr paramPtr
)
Configure the performance and behavior of the SFBLogger interface.
Supported Parameters depend on the current implementation's support.
|
SFCError |
SetParam(
AEELogParamType type
, UInt32 param
, SFXBufferConstRef paramPtr
)
Configure the performance and behavior of the SFBLogger interface.
Supported Parameters depend on the current implementation's support.
|
Protected Functions | |
---|---|
static SFBBaseSmp |
FactoryByCreate(
AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface.
|
static SFBBaseSmp |
FactoryByQuery(
SFBQuerySmpConstRef query
, AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.
|
[ public ] SFCError GetParam( AEELogParamType type // parameter to modify VoidConstPtr param // pointer to be filled with settings parameter );
[ public ] SFCError GetParam( AEELogParamType type // parameter to modify SFXBufferConstRef param // pointer to be filled with settings parameter );
Supported Parameters: Depends on the current implementations support, see AEELoggerTypes.h for more information
See details in : AEELoggerTypes.h
[ public, static ] SFBLoggerSmp NewInstance( AEECLSID clsid = AEECLSID_LOGGER_WIN // Class ID SFCErrorPtr exception = null // Error );
The implemented ClassID of SFBLogger as below can be used.
AEECLSID_LOGGER_FILE: Write log in files |
AEECLSID_LOGGER_ WIN: Send log to simulator window |
[ public ] SFCError Printf( AEELogBucketType bucket // bucket to place item ACharConstPtr fileName // name of file calling this function UInt16 lineNum // line number in file where it was called ACharConstPtr format // ASCII text similar to a printf format string ... // format string arguments );
[ public ] SFCError PutItem( AEELogBucketType bucket // bucket to place item AEELogItemType type // user defined item type UInt16 size // size of type in bytes UInt08Ptr item // pointer to instance of type );
[ public ] SFCError PutMsg( AEELogBucketType bucket // bucket to place item ACharConstPtr fileName // ASCII null terminated name of file calling this function UInt16 lineNum // line number in file where it was called ACharConstPtr msg // ASCII null terminated text message UInt08 numArgs // length of the args array UInt32 args[] // array containing UInt32 arguments );
The outgoing binary message's data of type structure AEELogBinMsgType, which is defined in AEELoggerTypes.h.
[ public ] SFCError PutRecord( AEELogBucketType bucket // bucket to place item AEELogRecord* record // pointer to AEELogRecord structure );
[ public ] SFCError SetParam( AEELogParamType type // parameter to modify UInt32 param // new settings parameter VoidConstPtr paramPtr // pointer to new settings parameter );
[ public ] SFCError SetParam( AEELogParamType type // parameter to modify UInt32 param // new settings parameter SFXBufferConstRef paramPtr // pointer to new settings parameter );
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |