Choreonoid  1.8
Namespaces | Macros
DSMediaView.cpp File Reference
#include "DSMediaView.h"
#include "MediaItem.h"
#include <cnoid/TimeBar>
#include <cnoid/Archive>
#include <cnoid/ConnectionSet>
#include <cnoid/MessageView>
#include <cnoid/ViewManager>
#include <cnoid/RootItem>
#include <cnoid/ItemList>
#include <cnoid/MenuManager>
#include <cnoid/Sleep>
#include <QPainter>
#include <Dshow.h>
#include <iostream>
#include <algorithm>
#include <windows.h>
#include <mbctype.h>
#include <fmt/format.h>
#include "gettext.h"

Namespaces

 cnoid
 

Macros

#define EIF(x)
 
#define SAFE_RELEASE(x)   { if(x) x->Release(); x = 0; }
 

Macro Definition Documentation

◆ EIF

#define EIF (   x)
Value:
result = (x); \
if(FAILED(result)) { \
throw DSException(format("FAILED(hr=0x{:x}) in" TEXT(#x), result)); \
}

◆ SAFE_RELEASE

#define SAFE_RELEASE (   x)    { if(x) x->Release(); x = 0; }