Ignore:
Timestamp:
Apr 15, 2011, 11:03:39 PM (10 years ago)
Author:
tbretz
Message:
Changed basis of MessageImp::Write function from const char* to std::string& to be able to boost::bind the function, because boost::bind will hold an internal copy of the string.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/MessageDim.h

    r10274 r10373  
    1717    ~MessageDimTX();
    1818
    19     int Write(const Time &t, const char *txt, int qos=kInfo);
     19    int Write(const Time &t, const std::string &txt, int qos=kInfo);
    2020
    2121    void SetDebug(bool b=true) { fDebug=b; }
     
    3434    DimStampedInfo fDimMessage;
    3535
    36     int fMinLogLevel;
     36    int  fMinLogLevel;
     37    bool fConnected;
    3738
    3839protected:
     
    4344
    4445    void SetMinLogLevel(int min=0) { fMinLogLevel=min; }
     46    bool IsConnected() const { return fConnected; }
    4547};
    4648
Note: See TracChangeset for help on using the changeset viewer.