perfsrv/memspy/Engine/Include/Sink/MemSpyEngineOutputSinkFile.h
changeset 62 1c2bb2fc7c87
parent 51 98307c651589
equal deleted inserted replaced
56:aa2539c91954 62:1c2bb2fc7c87
    45     TMemSpySinkType Type() const;
    45     TMemSpySinkType Type() const;
    46     void DataStreamBeginL( const TDesC& aContext, const TDesC& aFolder, const TDesC& aExtension );
    46     void DataStreamBeginL( const TDesC& aContext, const TDesC& aFolder, const TDesC& aExtension );
    47     void DataStreamBeginL( const TDesC& aContext, const TDesC& aFolder, const TDesC& aExtension, TBool aOverwrite );
    47     void DataStreamBeginL( const TDesC& aContext, const TDesC& aFolder, const TDesC& aExtension, TBool aOverwrite );
    48     void DataStreamBeginL( const TDesC& aContext, const TDesC& aFolder, const TDesC& aExtension, TBool aOverwrite, TBool aUseTimeStamp );
    48     void DataStreamBeginL( const TDesC& aContext, const TDesC& aFolder, const TDesC& aExtension, TBool aOverwrite, TBool aUseTimeStamp );
    49     void DataStreamEndL();
    49     void DataStreamEndL();
       
    50     void FlushL();
       
    51 
    50     void DoOutputLineL( const TDesC& aLine );
    52     void DoOutputLineL( const TDesC& aLine );
    51     void DoOutputRawL( const TDesC8& aData );
    53     void DoOutputRawL( const TDesC8& aData );
    52     TBool IsPrefixAllowed( const TDesC& aPrefix );
    54     TBool IsPrefixAllowed( const TDesC& aPrefix );
    53 
    55 
    54 private: // Internal
    56 private: // Internal
    91     void WriteLineL( const TDesC& aData );
    93     void WriteLineL( const TDesC& aData );
    92     void WriteRawL( const TDesC8& aData );
    94     void WriteRawL( const TDesC8& aData );
    93     void EnableBufferL();
    95     void EnableBufferL();
    94     void DisableBufferL();
    96     void DisableBufferL();
    95     const TDesC& FileName() const;
    97     const TDesC& FileName() const;
       
    98     void FlushL();
    96     //
    99     //
    97     inline TBool UsingBuffer() const { return iEntireFileBuffer != NULL; }
   100     inline TBool UsingBuffer() const { return iEntireFileBuffer != NULL; }
    98     inline TBool IsMainLog() const { return iIsMainLog; }
   101     inline TBool IsMainLog() const { return iIsMainLog; }
    99 
   102 
   100 private: // Internal
   103 private: // Internal