|
OpenJAUS Software Development Kit
4.3.1
|
#include <Logger.h>
Inherits openjaus::system::Thread.
Public Member Functions | |
| Logger () | |
| virtual | ~Logger () |
| std::string | getFile () const |
| Accessor to get the value of file. More... | |
| bool | setFile (std::string file) |
| Accessor to set value of file. More... | |
| virtual std::string | toString () const |
Public Member Functions inherited from openjaus::system::Thread | |
| Thread () | |
| virtual | ~Thread () |
| Thread (void *(*functionPointer)(void *), void *data) | |
| bool | isRunning () const |
| Accessor to get the value of running. More... | |
| bool | setRunning (bool running) |
| Accessor to set value of running. More... | |
| void | create () |
| Operation create. More... | |
| void | join () |
| Operation join. More... | |
| void | setThreadFunction (void *(*functionPointer)(void *), void *data) |
Static Public Member Functions | |
| static bool | log (Event event) |
| Operation log. More... | |
Protected Member Functions | |
| virtual void * | run () |
Protected Member Functions inherited from openjaus::system::Thread | |
| virtual void | onCreate () |
| Method is executed when create() is called but before the Thread is created and run. More... | |
Protected Attributes | |
| std::string | file |
Protected Attributes inherited from openjaus::system::Thread | |
| bool | running |
| pthread_t | thread |
| void * | data |
| void *(* | threadFunction )(void *) |
Friends | |
| OPENJAUS_EXPORT friend std::ostream & | operator<< (std::ostream &output, const Logger &object) |
| OPENJAUS_EXPORT friend std::ostream & | operator<< (std::ostream &output, const Logger *object) |
Additional Inherited Members | |
Static Protected Member Functions inherited from openjaus::system::Thread | |
| static void * | start (void *classPointer) |
| openjaus::system::Logger::Logger | ( | ) |
|
virtual |
| std::string openjaus::system::Logger::getFile | ( | ) | const |
|
static |
| event |
|
inlineprotectedvirtual |
Reimplemented from openjaus::system::Thread.
| bool openjaus::system::Logger::setFile | ( | std::string | file | ) |
| file | The value of the new file. |
|
virtual |
Reimplemented from openjaus::system::Thread.
|
friend |
|
friend |
|
protected |