|
AGX Dynamics 2.42.3.0
|
#include <agx/agx.h>#include <iostream>#include <agx/Vector.h>#include <sstream>#include <agx/HashTable.h>#include <agx/Singleton.h>#include <agx/LogStream.h>Go to the source code of this file.
Classes | |
| class | agx::Notify |
| Class for handling logging of messages. More... | |
| class | agx::NotifyCallback |
| Callback class, derive from this and Register to the notify singleton to get callbacks. More... | |
Namespaces | |
| namespace | agx |
| The agx namespace contains the dynamics/math part of the AGX Dynamics API. | |
Macros | |
| #define | ADD_NOTIFY_FUNCTIONALITY_TO_CLASS() |
| #define | NOTIFY() getNotify() |
| #define | NOTIFY_CLEAR() clear() |
| #define | NOTIFY_DEBUG() setDebugStrings(::agx::Notify::NOTIFY_DEBUG, NOTIFY_POS_ARGS) |
| #define | NOTIFY_END() end() |
| #define | NOTIFY_ERROR() setDebugStrings(::agx::Notify::NOTIFY_ERROR, NOTIFY_POS_ARGS) |
| #define | NOTIFY_ERROR_IF_FALSE(X, Y) if ( !Y ) { X << X.NOTIFY_STATE(::agx::Notify::PRINT_ALL) << X.NOTIFY_ERROR() << " Test false: " << #Y <<std::endl << X.NOTIFY_END(); } |
| #define | NOTIFY_ERROR_IF_nullptr(X, Y) if ( Y == nullptr ) { X << X.NOTIFY_STATE(::agx::Notify::PRINT_ALL) << X.NOTIFY_ERROR() << " nullptr pointer: " << #Y <<std::endl << X.NOTIFY_END(); } |
| #define | NOTIFY_ERROR_IF_TRUE(X, Y) if ( Y ) { X << X.NOTIFY_STATE(::agx::Notify::PRINT_ALL) << X.NOTIFY_ERROR() << " Test true: " << #Y <<std::endl << X.NOTIFY_END(); } |
| #define | NOTIFY_INFO() setDebugStrings(::agx::Notify::NOTIFY_INFO, NOTIFY_POS_ARGS) |
| #define | NOTIFY_INSTANCE() ::agx::Notify::instance() |
| #define | NOTIFY_LOG() logOnly() |
| #define | NOTIFY_POS_ARGS __FUNCTION__,__LINE__,__FILE__ |
| #define | NOTIFY_STATE(X) push().setValue(X) |
| #define | NOTIFY_WARNING() setDebugStrings(::agx::Notify::NOTIFY_WARNING, NOTIFY_POS_ARGS) |
| #define | NOTIFY_WARNING_IF_FALSE(X, Y) if ( !Y ) { X << X.NOTIFY_WARNING() << " Test false: " << #Y <<std::endl << X.NOTIFY_END(); } |
| #define | NOTIFY_WARNING_IF_nullptr(X, Y) if ( Y == nullptr ) { X << X.NOTIFY_WARNING() << " nullptr pointer: " << #Y << std::endl << X.NOTIFY_END(); } |
| #define | NOTIFY_WARNING_IF_TRUE(X, Y) if ( Y ) { X << X.NOTIFY_WARNING() << " Test true: " << #Y <<std::endl << X.NOTIFY_END(); } |
| #define | THREAD_SAFE_NOTIFY 1 |
| #define ADD_NOTIFY_FUNCTIONALITY_TO_CLASS | ( | ) |
| #define NOTIFY_DEBUG | ( | ) | setDebugStrings(::agx::Notify::NOTIFY_DEBUG, NOTIFY_POS_ARGS) |
| #define NOTIFY_ERROR | ( | ) | setDebugStrings(::agx::Notify::NOTIFY_ERROR, NOTIFY_POS_ARGS) |
| #define NOTIFY_ERROR_IF_FALSE | ( | X, | |
| Y | |||
| ) | if ( !Y ) { X << X.NOTIFY_STATE(::agx::Notify::PRINT_ALL) << X.NOTIFY_ERROR() << " Test false: " << #Y <<std::endl << X.NOTIFY_END(); } |
| #define NOTIFY_ERROR_IF_nullptr | ( | X, | |
| Y | |||
| ) | if ( Y == nullptr ) { X << X.NOTIFY_STATE(::agx::Notify::PRINT_ALL) << X.NOTIFY_ERROR() << " nullptr pointer: " << #Y <<std::endl << X.NOTIFY_END(); } |
| #define NOTIFY_ERROR_IF_TRUE | ( | X, | |
| Y | |||
| ) | if ( Y ) { X << X.NOTIFY_STATE(::agx::Notify::PRINT_ALL) << X.NOTIFY_ERROR() << " Test true: " << #Y <<std::endl << X.NOTIFY_END(); } |
| #define NOTIFY_INFO | ( | ) | setDebugStrings(::agx::Notify::NOTIFY_INFO, NOTIFY_POS_ARGS) |
| #define NOTIFY_INSTANCE | ( | ) | ::agx::Notify::instance() |
| #define NOTIFY_WARNING | ( | ) | setDebugStrings(::agx::Notify::NOTIFY_WARNING, NOTIFY_POS_ARGS) |
| #define NOTIFY_WARNING_IF_FALSE | ( | X, | |
| Y | |||
| ) | if ( !Y ) { X << X.NOTIFY_WARNING() << " Test false: " << #Y <<std::endl << X.NOTIFY_END(); } |
| #define NOTIFY_WARNING_IF_nullptr | ( | X, | |
| Y | |||
| ) | if ( Y == nullptr ) { X << X.NOTIFY_WARNING() << " nullptr pointer: " << #Y << std::endl << X.NOTIFY_END(); } |
| #define NOTIFY_WARNING_IF_TRUE | ( | X, | |
| Y | |||
| ) | if ( Y ) { X << X.NOTIFY_WARNING() << " Test true: " << #Y <<std::endl << X.NOTIFY_END(); } |