|
OpenCMISS-Zinc C++ API Documentation
|
Font object controlling attributes of rendering text. More...
#include <logger.hpp>
Public Types | |
| enum | ChangeFlag { CHANGE_FLAG_NONE = CMZN_LOGGER_CHANGE_FLAG_NONE, CHANGE_FLAG_NEW_MESSAGE = CMZN_LOGGER_CHANGE_FLAG_NEW_MESSAGE, CHANGE_FLAG_FINAL = CMZN_LOGGER_CHANGE_FLAG_FINAL } |
| enum | MessageType { MESSAGE_TYPE_INVALID = CMZN_LOGGER_MESSAGE_TYPE_INVALID, MESSAGE_TYPE_ERROR = CMZN_LOGGER_MESSAGE_TYPE_ERROR, MESSAGE_TYPE_WARNING = CMZN_LOGGER_MESSAGE_TYPE_WARNING, MESSAGE_TYPE_INFORMATION = CMZN_LOGGER_MESSAGE_TYPE_INFORMATION } |
| typedef int | ChangeFlags |
Public Member Functions | |
| Logger (cmzn_logger_id in_logger_id) | |
| Logger (const Logger &logger) | |
| Logger & | operator= (const Logger &logger) |
| bool | isValid () const |
| cmzn_logger_id | getId () const |
| int | getNumberOfMessages () |
| MessageType | getMessageTypeAtIndex (int index) |
| char * | getMessageTextAtIndex (int index) |
| int | setMaximumNumberOfMessages (int number) |
| int | removeAllMessages () |
| Loggernotifier | createLoggernotifier () |
Protected Attributes | |
| cmzn_logger_id | id |
Font object controlling attributes of rendering text.
Font object incorporating typeface, size and other attributes for rendering text in graphics.
| typedef int OpenCMISS::Zinc::Logger::ChangeFlags |
Type for passing logical OR of ChangeFlag
|
inline |
Create a notifier for getting callbacks for changes to the messages in the logger.
|
inline |
|
inline |
Return text of the message at index, oldest message index being 1 and newest message index being number_of_messages;
| index | index of the message to enquire. |
|
inline |
Return type of the message at index, oldest message index being 1 and newest message index being number_of_messages;
| index | index of the message to enquire. |
|
inline |
Return the number of messages currently in the logger.
|
inline |
Check if this is a valid Logger object.
|
inline |
Remove all messages in logger. This will clear all messages.
|
inline |
Set the maximum number of messages stored in the logger. The default number is 500.
| number | maximum number of messages to set to. |
1.8.11