FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Classes | Namespaces | Macros | Enumerations
Object.hpp File Reference
#include "FAST/Exception.hpp"
#include "FAST/Reporter.hpp"
#include <memory>
+ Include dependency graph for Object.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fast::Object
 

Namespaces

 fast
 

Macros

#define NOMINMAX
 
#define _USE_MATH_DEFINES
 
#define FAST_OBJECT(className)
 

Enumerations

enum  fast::StreamingMode { fast::STREAMING_MODE_NEWEST_FRAME_ONLY, fast::STREAMING_MODE_STORE_ALL_FRAMES, fast::STREAMING_MODE_PROCESS_ALL_FRAMES }
 

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

◆ FAST_OBJECT

#define FAST_OBJECT (   className)
Value:
public: \
typedef std::shared_ptr<className> pointer; \
static std::shared_ptr<className> New() { \
std::shared_ptr<className> smartPtr(new className()); \
smartPtr->setPtr(smartPtr); \
\
return smartPtr; \
} \
virtual std::string getNameOfClass() const { \
return std::string(#className); \
}; \
static std::string getStaticNameOfClass() { \
return std::string(#className); \
}; \
private: \
void setPtr(className::pointer ptr) { \
mPtr = ptr; \
} \

◆ NOMINMAX

#define NOMINMAX