Overview
The window and camera services enables external applications to control basic camera functions as well as adding/removing post-process effects and sensor modes using window plug-ins.
Classes | |
struct | LLADegreesMeters |
struct | PBHDegrees |
struct | XYZMeters |
struct | ScreenCoord |
struct | ObjectLocalTransform |
struct | ObjectWorldTransform |
union | ARGBColor |
struct | ARGBColor.__unnamed__ |
union | RenderFlags |
struct | RenderFlags.__unnamed__ |
struct | BoundingBox2D |
struct | TextDescription |
union | TextDescription.__unnamed__ |
Union that supports text description flags. More... | |
struct | TextDescription.__unnamed__.__unnamed__ |
class | BasicWaypoint |
BasicWaypoint. More... | |
class | EntityType |
struct | CloudLayer |
struct | WindAloftLayer |
struct | TempLayer |
struct | PressureInfo |
struct | VisibilityLayer |
class | IListBuilder< T > |
class | CComPtrVecBuilder< T > |
class | VecListBuilder< T > |
class | NameListCopy |
class | NameList |
class | NameListC |
Class Documentation
§ LLADegreesMeters
struct LLADegreesMeters |
Struct that stores world position lat/lon in degrees, and altitude in meters.
Public Member Functions | |
LLADegreesMeters () noexcept | |
LLADegreesMeters (double latitude, double longitude, double altitude) | |
Public Attributes | |
double | Latitude |
double | Longitude |
double | Altitude |
Constructor & Destructor Documentation
§ LLADegreesMeters() [1/2]
|
inlinenoexcept |
§ LLADegreesMeters() [2/2]
|
inline |
- Parameters
-
latitude Latitude in degrees longitude longitude in degrees altitude altitude in meters
Member Data Documentation
§ Altitude
double Altitude |
§ Latitude
double Latitude |
§ Longitude
double Longitude |
§ PBHDegrees
struct PBHDegrees |
Struct that stores orientation PBH (pitch, bank, heading) in degrees
Public Member Functions | |
PBHDegrees () noexcept | |
PBHDegrees (float pitch, float bank, float heading) | |
Public Attributes | |
float | Pitch |
float | Bank |
float | Heading |
Constructor & Destructor Documentation
§ PBHDegrees() [1/2]
|
inlinenoexcept |
§ PBHDegrees() [2/2]
|
inline |
- Parameters
-
pitch pitch in degrees bank bank in degrees heading heading in degrees
Member Data Documentation
§ Bank
float Bank |
§ Heading
float Heading |
§ Pitch
float Pitch |
§ XYZMeters
struct XYZMeters |
Public Member Functions | |
XYZMeters () noexcept | |
XYZMeters (float x, float y, float z) | |
XYZMeters | operator- (const XYZMeters &rhs) const |
XYZMeters & | operator-= (const XYZMeters &rhs) |
XYZMeters | operator+ (const XYZMeters &rhs) const |
XYZMeters & | operator+= (const XYZMeters &rhs) |
XYZMeters | operator* (const XYZMeters &rhs) const |
XYZMeters & | operator*= (const XYZMeters &rhs) |
XYZMeters | operator* (const float &rhs) const |
XYZMeters & | operator*= (const float &rhs) |
XYZMeters | operator/ (const XYZMeters &rhs) const |
XYZMeters & | operator/= (const XYZMeters &rhs) |
XYZMeters | operator/ (const float &rhs) const |
XYZMeters & | operator/= (const float &rhs) |
bool | operator== (const XYZMeters &src) const |
bool | operator!= (const XYZMeters &src) const |
Public Attributes | |
float | X |
float | Y |
float | Z |
Constructor & Destructor Documentation
§ XYZMeters() [1/2]
|
inlinenoexcept |
§ XYZMeters() [2/2]
|
inline |
- Parameters
-
x x offset in meters y y offset in meters z z offset in meters
Member Function Documentation
§ operator!=()
|
inline |
§ operator*() [1/2]
§ operator*() [2/2]
|
inline |
§ operator*=() [1/2]
§ operator*=() [2/2]
|
inline |
§ operator+()
§ operator+=()
§ operator-()
§ operator-=()
§ operator/() [1/2]
§ operator/() [2/2]
|
inline |
§ operator/=() [1/2]
§ operator/=() [2/2]
|
inline |
§ operator==()
|
inline |
Member Data Documentation
§ X
float X |
§ Y
float Y |
§ Z
float Z |
§ ScreenCoord
struct ScreenCoord |
Public Member Functions | |
ScreenCoord () noexcept | |
ScreenCoord (float x, float y, float dist) | |
Public Attributes | |
float | XPixels |
float | YPixels |
float | DistanceMeters |
Constructor & Destructor Documentation
§ ScreenCoord() [1/2]
|
inlinenoexcept |
§ ScreenCoord() [2/2]
|
inline |
- Parameters
-
x x offset in meters y y offset in meters z z offset in meters
Member Data Documentation
§ DistanceMeters
float DistanceMeters |
§ XPixels
float XPixels |
§ YPixels
float YPixels |
§ ObjectLocalTransform
struct ObjectLocalTransform |
Defines a local transformation which includes a position and orientation offset
Public Member Functions | |
ObjectLocalTransform () noexcept | |
ObjectLocalTransform (float x, float y, float z, float pitch, float bank, float heading) | |
Public Attributes | |
XYZMeters | XYZ |
PBHDegrees | PBH |
Constructor & Destructor Documentation
§ ObjectLocalTransform() [1/2]
|
inlinenoexcept |
§ ObjectLocalTransform() [2/2]
|
inline |
- Parameters
-
x x offset in meters y y offset in meters z z offset in meters pitch pitch in degrees bank bank in degrees heading heading in degrees
Member Data Documentation
§ PBH
PBHDegrees PBH |
§ XYZ
XYZMeters XYZ |
§ ObjectWorldTransform
struct ObjectWorldTransform |
Defines a world transformation which includes an LLA for position and PBH for orientation. Altitude is in meters. All angle values are in degrees.
Public Member Functions | |
ObjectWorldTransform () noexcept | |
ObjectWorldTransform (double latitude, double longitude, double altitude, float pitch, float bank, float heading) | |
Public Attributes | |
LLADegreesMeters | LLA |
PBHDegrees | PBH |
Constructor & Destructor Documentation
§ ObjectWorldTransform() [1/2]
|
inlinenoexcept |
§ ObjectWorldTransform() [2/2]
|
inline |
- Parameters
-
latitude Latitude in degrees longitude longitude in degrees altitude altitude in meters pitch pitch in degrees bank bank in degrees heading heading in degrees
Member Data Documentation
§ LLA
LLADegreesMeters LLA |
§ PBH
PBHDegrees PBH |
§ ARGBColor
union ARGBColor |
Union that stores color in ARGB 8 bit format
Public Member Functions | |
ARGBColor () noexcept | |
ARGBColor (unsigned int alpha, unsigned int red, unsigned int green, unsigned int blue) | |
Public Attributes | |
unsigned int | Color |
struct { | |
unsigned int | Blue: 8 |
unsigned int | Green: 8 |
unsigned int | Red: 8 |
unsigned int | Alpha: 8 |
}; | |
Constructor & Destructor Documentation
§ ARGBColor() [1/2]
|
inlinenoexcept |
§ ARGBColor() [2/2]
|
inline |
- Parameters
-
alpha Alpha component of the color red Red component of the color green Green component of the color blue Blue component of the color
Member Data Documentation
§ @3
struct { ... } |
§ Color
unsigned int Color |
§ ARGBColor.__unnamed__
struct ARGBColor.__unnamed__ |
§ RenderFlags
union RenderFlags |
Union that stores RenderFlags to control drawing
Public Member Functions | |
RenderFlags () noexcept | |
RenderFlags (unsigned int flags) | |
Public Attributes | |
unsigned int | Flags |
struct { | |
bool | DrawFromBase: 1 |
bool | DrawWithVC: 1 |
bool | DepthReadDisable: 1 |
bool | AlphaWriteEnable: 1 |
bool | ActAsStencil: 1 |
}; | |
Constructor & Destructor Documentation
§ RenderFlags() [1/2]
|
inlinenoexcept |
§ RenderFlags() [2/2]
|
inline |
Member Data Documentation
§ @5
struct { ... } |
§ Flags
unsigned int Flags |
§ RenderFlags.__unnamed__
struct RenderFlags.__unnamed__ |
§ BoundingBox2D
struct BoundingBox2D |
Describes a 2D bounding box in pixels.
Public Member Functions | |
BoundingBox2D () | |
Public Attributes | |
int | left |
int | top |
int | right |
int | bottom |
Constructor & Destructor Documentation
§ BoundingBox2D()
|
inline |
Member Data Documentation
§ bottom
int bottom |
§ left
int left |
§ right
int right |
§ top
int top |
§ TextDescription
struct TextDescription |
Describes how 2D and 3D text should be drawn to the screen.
Public Member Functions | |
TextDescription () | |
Public Attributes | |
TEXT_FONT | Font |
HORIZONTAL_ALIGNMENT | HorizontalAlignment |
VERTICAL_ALIGNMENT | VerticalAlignment |
BoundingBox2D | BoundingBox |
union { | |
struct { | |
bool | WorldSpace: 1 |
bool | DisplayOnTop: 1 |
bool | DropShadow: 1 |
bool | CalculateBox: 1 |
bool | NoPostProcess: 1 |
} | |
unsigned int | Flags |
}; | |
Union that supports text description flags. More... | |
Constructor & Destructor Documentation
§ TextDescription()
|
inline |
Member Data Documentation
§ @7
union { ... } |
Union that supports text description flags.
§ BoundingBox
BoundingBox2D BoundingBox |
The size of the text's bounding box.
- Remarks
- Negative values are currently not supported.
§ Font
TEXT_FONT Font |
The font type.
§ HorizontalAlignment
HORIZONTAL_ALIGNMENT HorizontalAlignment |
Alignment in the horizontal direction.
§ VerticalAlignment
VERTICAL_ALIGNMENT VerticalAlignment |
Alignment in the vertical direction.
§ TextDescription.__unnamed__
union TextDescription.__unnamed__ |
Union that supports text description flags.
Class Members | ||
---|---|---|
__unnamed__ | __unnamed__ | |
unsigned int | Flags |
§ TextDescription.__unnamed__.__unnamed__
struct TextDescription.__unnamed__.__unnamed__ |
§ P3D::BasicWaypoint
class P3D::BasicWaypoint |
Class Members | ||
---|---|---|
double | dHeading | |
DXYZ | vLonAltLat |
§ P3D::EntityType
class P3D::EntityType |
Public Member Functions | |
EntityType () noexcept | |
unsigned char | GetKind () const |
void | SetKind (unsigned char byKind) |
unsigned char | GetDomain () const |
void | SetDomain (unsigned char byDomain) |
unsigned short | GetCountry () const |
void | SetCountry (unsigned short usCountry) |
unsigned char | GetCategory () const |
void | SetCategory (unsigned char byCategory) |
unsigned char | GetSubcategory () const |
void | SetSubcategory (unsigned char bySubcategory) |
unsigned char | GetSpecific () const |
void | SetSpecific (unsigned char bySpecific) |
unsigned char | GetExtra () const |
void | SetExtra (unsigned char byExtra) |
Private Attributes | |
unsigned char | m_byKind |
unsigned char | m_byDomain |
unsigned short | m_usCountry |
unsigned char | m_byCategory |
unsigned char | m_bySubcategory |
unsigned char | m_bySpecific |
unsigned char | m_byExtra |
Constructor & Destructor Documentation
§ EntityType()
|
inlinenoexcept |
Member Function Documentation
§ GetCategory()
|
inline |
Gets DIS entity category
§ GetCountry()
|
inline |
Gets DIS entity country
§ GetDomain()
|
inline |
Gets DIS entity domain
§ GetExtra()
|
inline |
Gets DIS entity extra
§ GetKind()
|
inline |
Gets DIS entity kind
§ GetSpecific()
|
inline |
Gets DIS entity specific
§ GetSubcategory()
|
inline |
Gets DIS entity subcategory
§ SetCategory()
|
inline |
Sets DIS entity category
§ SetCountry()
|
inline |
Sets DIS entity country
§ SetDomain()
|
inline |
Sets DIS entity domain
§ SetExtra()
|
inline |
Sets DIS entity extra
§ SetKind()
|
inline |
Sets DIS entity kind
§ SetSpecific()
|
inline |
Sets DIS entity specific
§ SetSubcategory()
|
inline |
Sets DIS entity subcategory
Member Data Documentation
§ m_byCategory
|
private |
DIS entity category
§ m_byDomain
|
private |
DIS entity domain
§ m_byExtra
|
private |
DIS entity extra
§ m_byKind
|
private |
DIS entity kind
§ m_bySpecific
|
private |
DIS entity specific
§ m_bySubcategory
|
private |
DIS entity subcategory
§ m_usCountry
|
private |
DIS entity country
§ P3D::CloudLayer
struct P3D::CloudLayer |
Class Members | ||
---|---|---|
CLOUD_COVER | eCloudCover | |
CLOUD_TOP | eCloudTop | |
CLOUD_TYPE | eCloudType | |
ICINGRATE | eIcingRate | |
PRECIPRATE | ePrecipRate | |
PRECIPTYPE | ePrecipType | |
TURBULANCE | eTurbulance | |
float | fCloudBase | |
float | fCloudDeviation | |
float | fCloudTops | |
float | fPrecipBase |
§ P3D::WindAloftLayer
struct P3D::WindAloftLayer |
Class Members | ||
---|---|---|
TURBULANCE | eTurb | |
WINDSHEAR | eWindShear | |
float | fAlt | |
float | fDirection | |
float | fGusts | |
float | fSpeed | |
float | fVariance |
§ P3D::TempLayer
§ P3D::PressureInfo
§ P3D::VisibilityLayer
§ P3D::IListBuilder
class P3D::IListBuilder |
template<class T>
class P3D::IListBuilder< T >
Templated List Building Interface used by Prepar3D to add requested items to a list.
Inherited by CComPtrVecBuilder< T >, and VecListBuilder< T >.
Public Member Functions | |
virtual bool | AddItem (T *item) override |
virtual void | BeginBuilding () override |
virtual void | EndBuilding () |
Member Function Documentation
§ AddItem()
|
pure virtual |
Called for each item until all items have been called or until AddItem returns false.
- Returns
- true to continue adding items or false to stop
Implemented in NameListC, NameList, NameListCopy, VecListBuilder< T >, and CComPtrVecBuilder< T >.
§ BeginBuilding()
|
pure virtual |
Called before any items are added.
Implemented in NameListC, NameList, NameListCopy, VecListBuilder< T >, and CComPtrVecBuilder< T >.
§ EndBuilding()
|
inlinevirtual |
Called after all items have been added.
§ P3D::CComPtrVecBuilder
class P3D::CComPtrVecBuilder |
template<class T>
class P3D::CComPtrVecBuilder< T >
List builder implementation that creates a standard vector of CComPtrs of a templated type.
Inherits IListBuilder< T >.
Public Member Functions | |
virtual bool | AddItem (T *item) override |
virtual void | BeginBuilding () override |
Public Member Functions inherited from IListBuilder< T > | |
virtual void | EndBuilding () |
Public Attributes | |
std::vector< CComPtr< T > > | Items |
Member Function Documentation
§ AddItem()
|
inlineoverridevirtual |
Called for each item until all items have been called or until AddItem returns false.
- Returns
- true to continue adding items or false to stop
Implements IListBuilder< T >.
§ BeginBuilding()
|
inlineoverridevirtual |
Called before any items are added.
Implements IListBuilder< T >.
Member Data Documentation
§ Items
std::vector<CComPtr<T> > Items |
§ P3D::VecListBuilder
class P3D::VecListBuilder |
template<class T>
class P3D::VecListBuilder< T >
List builder implementation that creates a standard vector of objects of a templated type.
Inherits IListBuilder< T >.
Public Member Functions | |
virtual bool | AddItem (T *item) override |
virtual void | BeginBuilding () override |
Public Member Functions inherited from IListBuilder< T > | |
virtual void | EndBuilding () |
Public Attributes | |
std::vector< T > | Items |
Member Function Documentation
§ AddItem()
|
inlineoverridevirtual |
Called for each item until all items have been called or until AddItem returns false.
- Returns
- true to continue adding items or false to stop
Implements IListBuilder< T >.
§ BeginBuilding()
|
inlineoverridevirtual |
Called before any items are added.
Implements IListBuilder< T >.
Member Data Documentation
§ Items
std::vector<T> Items |
§ P3D::NameListCopy
class P3D::NameListCopy |
IListBuilder that stores names in a string vector. The contents of each name are copied into the string so it is safe to store this list for later use.
Inherits IListBuilder< const WCHAR >.
Public Member Functions | |
virtual bool | AddItem (const WCHAR *item) override |
virtual void | BeginBuilding () override |
Public Member Functions inherited from IListBuilder< const WCHAR > | |
virtual void | EndBuilding () |
Public Attributes | |
std::vector< std::basic_string< WCHAR > > | Items |
Member Function Documentation
§ AddItem()
|
inlineoverridevirtual |
Called for each item until all items have been called or until AddItem returns false.
- Returns
- true to continue adding items or false to stop
Implements IListBuilder< const WCHAR >.
§ BeginBuilding()
|
inlineoverridevirtual |
Called before any items are added.
Implements IListBuilder< const WCHAR >.
Member Data Documentation
§ Items
std::vector<std::basic_string<WCHAR> > Items |
Vector of strings that can be used to access the name list once it has been built.
§ P3D::NameList
class P3D::NameList |
IListBuilder that stores names in a temporary const char* vector. The contents of each string are not copied, so this type is only safe to use within the scope of the current function.
Inherits IListBuilder< const WCHAR >.
Public Member Functions | |
virtual bool | AddItem (const WCHAR *item) override |
virtual void | BeginBuilding () override |
Public Member Functions inherited from IListBuilder< const WCHAR > | |
virtual void | EndBuilding () |
Public Attributes | |
std::vector< const WCHAR * > | Items |
Member Function Documentation
§ AddItem()
|
inlineoverridevirtual |
Called for each item until all items have been called or until AddItem returns false.
- Returns
- true to continue adding items or false to stop
Implements IListBuilder< const WCHAR >.
§ BeginBuilding()
|
inlineoverridevirtual |
Called before any items are added.
Implements IListBuilder< const WCHAR >.
Member Data Documentation
§ Items
std::vector<const WCHAR*> Items |
const char* vector that can be used to access the name list once it has been built.
§ P3D::NameListC
class P3D::NameListC |
IListBuilder that stores names in a preallocated fixed size array.
Inherits IListBuilder< const WCHAR >.
Public Member Functions | |
NameListC (const WCHAR **names, int &count, bool bMakeCopy=false) | |
virtual bool | AddItem (const WCHAR *item) override |
virtual void | BeginBuilding () override |
Public Member Functions inherited from IListBuilder< const WCHAR > | |
virtual void | EndBuilding () |
Private Attributes | |
const WCHAR ** | m_aNames |
int | m_iMaxCount |
int & | m_iCount |
bool | m_bMakeCopy |
Constructor & Destructor Documentation
§ NameListC()
|
inline |
Constructor which takes preallocated fixed size array to hold this lists data.
- Parameters
-
names pointer to preallocated const char* array count size of preallocated array. Reference value that will be changed to hold the count of items added to the list.
Member Function Documentation
§ AddItem()
|
inlineoverridevirtual |
Called for each item until all items have been called or until AddItem returns false.
- Returns
- true to continue adding items or false to stop
Implements IListBuilder< const WCHAR >.
§ BeginBuilding()
|
inlineoverridevirtual |
Called before any items are added.
Implements IListBuilder< const WCHAR >.
Member Data Documentation
§ m_aNames
|
private |
§ m_bMakeCopy
|
private |
§ m_iCount
|
private |
§ m_iMaxCount
|
private |
Macros | |
#define | DXYZ P3DDXYZ |
Simple vector structures for passing between P3D host and implementation. More... | |
#define | FXYZ P3DFXYZ |
#define | DEFAULT_REFCOUNT_INLINE_IMPL() |
#define | DECLARE_IUNKNOWN_WITH_INLINE_REFCOUNT_IMPL() |
#define | DEFAULT_IUNKNOWN_QI_INLINE_IMPL(IClassName, IID_IClassName) |
#define | NO_COPY_IUNKNOWN_IMPL(IClassName) |
Typedefs | |
typedef HRESULT(STDMETHODCALLTYPE * | PSimCreateFunc) (__in __notnull IBaseObjectV400 *, __out __notnull ISimObject **) |
typedef HRESULT(STDMETHODCALLTYPE * | PSaveLoadCallback) (__in LPCWSTR pszSection, __in unsigned int uInstance, __in LPCWSTR pszKeyword, __inout void *pvVal, __in const SAVED_DATA_TYPE eDataType) |
typedef void(STDMETHODCALLTYPE * | PNewScenarioNotify) (BOOL bOnSave) |
typedef HRESULT(STDMETHODCALLTYPE * | PPropertyCallback) (__in const ISimObject &Sim, __out double &dProperty, __in int iIndex) |
Double property callback. More... | |
typedef HRESULT(STDMETHODCALLTYPE * | PPropertyVectorCallback) (__in const ISimObject &Sim, __out DXYZ &vProperty, __in int iIndex) |
Vector (double x,y,z) property callback. More... | |
typedef HRESULT(STDMETHODCALLTYPE * | PPropertyStringCallback) (__in const ISimObject &Sim, __out LPWSTR pszProperty, __in UINT uStringLength, __in int iIndex) |
String property callback. More... | |
typedef HRESULT(STDMETHODCALLTYPE * | PPropertyCallbackWithSubString) (__in const ISimObject &Sim, __out double &dProperty, __in LPCWSTR pszSecondarySubstring, __in int iIndex) |
Double property callback (with secondary string input) More... | |
typedef HRESULT(STDMETHODCALLTYPE * | PEventCallback) (__in ISimObject &Sim, __in double dProperty, __in int iIndex) |
Event input callback. More... | |
typedef HRESULT(STDMETHODCALLTYPE * | PEventVectorCallback) (__in ISimObject &Sim, __in const DXYZ &vProperty, __in int iIndex) |
Event input callback. More... | |
typedef HRESULT(STDMETHODCALLTYPE * | PEventStringCallback) (__in ISimObject &Sim, __in LPCWSTR pszProperty, __in int iIndex) |
Event input callback. More... | |
typedef HRESULT(STDMETHODCALLTYPE * | PEventCallbackWithSubString) (__in ISimObject &Sim, __in double dProperty, __in LPCWSTR pszSecondarySecondarySubstring, __in int iIndex) |
Event input callback for double (with secondary string input) More... | |
typedef HRESULT(STDMETHODCALLTYPE * | POnObjectCreateCallback) (__in IUnknown &Obj) |
Register callback on object creation. This could be a simobject or a library object. More... | |
typedef HRESULT(STDMETHODCALLTYPE * | POnObjectRemoveCallback) (__in IUnknown &Obj) |
Register callback on object removal. This could be a simobject or a library object. More... | |
typedef HRESULT(STDMETHODCALLTYPE * | POnUserObjectChangedCallback) (__in IUnknown &NewObj, __in IUnknown &OldObj) |
Register callback on user object changing from one user to another (during runtime, not scenario load or vehicle change via UI) More... | |
using | INameList = IListBuilder< const WCHAR > |
Macro Definition Documentation
§ DECLARE_IUNKNOWN_WITH_INLINE_REFCOUNT_IMPL
#define DECLARE_IUNKNOWN_WITH_INLINE_REFCOUNT_IMPL | ( | ) |
§ DEFAULT_IUNKNOWN_QI_INLINE_IMPL
#define DEFAULT_IUNKNOWN_QI_INLINE_IMPL | ( | IClassName, | |
IID_IClassName | |||
) |
§ DEFAULT_REFCOUNT_INLINE_IMPL
#define DEFAULT_REFCOUNT_INLINE_IMPL | ( | ) |
§ DXYZ
#define DXYZ P3DDXYZ |
Simple vector structures for passing between P3D host and implementation.
§ FXYZ
#define FXYZ P3DFXYZ |
§ NO_COPY_IUNKNOWN_IMPL
#define NO_COPY_IUNKNOWN_IMPL | ( | IClassName | ) |
Typedef Documentation
§ INameList
using INameList = IListBuilder<const WCHAR> |
§ PEventCallback
typedef HRESULT(STDMETHODCALLTYPE * PEventCallback) (__in ISimObject &Sim, __in double dProperty, __in int iIndex) |
Event input callback.
§ PEventCallbackWithSubString
typedef HRESULT(STDMETHODCALLTYPE * PEventCallbackWithSubString) (__in ISimObject &Sim, __in double dProperty, __in LPCWSTR pszSecondarySecondarySubstring, __in int iIndex) |
Event input callback for double (with secondary string input)
§ PEventStringCallback
typedef HRESULT(STDMETHODCALLTYPE * PEventStringCallback) (__in ISimObject &Sim, __in LPCWSTR pszProperty, __in int iIndex) |
Event input callback.
§ PEventVectorCallback
typedef HRESULT(STDMETHODCALLTYPE * PEventVectorCallback) (__in ISimObject &Sim, __in const DXYZ &vProperty, __in int iIndex) |
Event input callback.
§ PNewScenarioNotify
typedef void(STDMETHODCALLTYPE * PNewScenarioNotify) (BOOL bOnSave) |
Function callback for notification that a new scenario is loaded or saved. These are registered through the IScenarioManager interface
§ POnObjectCreateCallback
typedef HRESULT(STDMETHODCALLTYPE * POnObjectCreateCallback) (__in IUnknown &Obj) |
Register callback on object creation. This could be a simobject or a library object.
§ POnObjectRemoveCallback
typedef HRESULT(STDMETHODCALLTYPE * POnObjectRemoveCallback) (__in IUnknown &Obj) |
Register callback on object removal. This could be a simobject or a library object.
§ POnUserObjectChangedCallback
typedef HRESULT(STDMETHODCALLTYPE * POnUserObjectChangedCallback) (__in IUnknown &NewObj, __in IUnknown &OldObj) |
Register callback on user object changing from one user to another (during runtime, not scenario load or vehicle change via UI)
§ PPropertyCallback
typedef HRESULT(STDMETHODCALLTYPE * PPropertyCallback) (__in const ISimObject &Sim, __out double &dProperty, __in int iIndex) |
Double property callback.
§ PPropertyCallbackWithSubString
typedef HRESULT(STDMETHODCALLTYPE * PPropertyCallbackWithSubString) (__in const ISimObject &Sim, __out double &dProperty, __in LPCWSTR pszSecondarySubstring, __in int iIndex) |
Double property callback (with secondary string input)
§ PPropertyStringCallback
typedef HRESULT(STDMETHODCALLTYPE * PPropertyStringCallback) (__in const ISimObject &Sim, __out LPWSTR pszProperty, __in UINT uStringLength, __in int iIndex) |
String property callback.
§ PPropertyVectorCallback
typedef HRESULT(STDMETHODCALLTYPE * PPropertyVectorCallback) (__in const ISimObject &Sim, __out DXYZ &vProperty, __in int iIndex) |
Vector (double x,y,z) property callback.
§ PSaveLoadCallback
typedef HRESULT(STDMETHODCALLTYPE * PSaveLoadCallback) (__in LPCWSTR pszSection, __in unsigned int uInstance, __in LPCWSTR pszKeyword, __inout void *pvVal, __in const SAVED_DATA_TYPE eDataType) |
Function pointer for state save/load (.FXML files) This pointer is passed to each ISimulation when it's time for save/load Section names will automatically be constructed as: [SectionName.Instance.SimObjectID] allowing for multiple instances of a system (e.g. multi-engines) Constructed section names are limited to a maximum of 128 characters. SAVED_DATA_TYPE allows you to distinguish your data between numeric and string values
§ PSimCreateFunc
typedef HRESULT(STDMETHODCALLTYPE * PSimCreateFunc) (__in __notnull IBaseObjectV400 *, __out __notnull ISimObject **) |
Function pointer prototype for object implementation creation function. This function is called for each instance of the respective simobject class
Enumeration Type Documentation
§ CLOUD_COVER
enum CLOUD_COVER |
§ CLOUD_COVERAGE_DENSITY
§ CLOUD_DRAW_DISTANCE
enum CLOUD_DRAW_DISTANCE |
§ CLOUD_TOP
enum CLOUD_TOP |
§ CLOUD_TYPE
enum CLOUD_TYPE |
§ COLLISIONTYPE
enum COLLISIONTYPE |
§ EVENTTYPE
enum EVENTTYPE |
§ HORIZONTAL_ALIGNMENT
enum HORIZONTAL_ALIGNMENT |
§ ICINGRATE
enum ICINGRATE |
§ INTEROGATIONTYPE
enum INTEROGATIONTYPE |
§ NET_MODE_TYPE
enum NET_MODE_TYPE |
§ PRECIPRATE
enum PRECIPRATE |
§ PRECIPTYPE
enum PRECIPTYPE |
§ PROPERTY_TYPE
enum PROPERTY_TYPE |
§ SAVED_DATA_TYPE
enum SAVED_DATA_TYPE |
§ TEXT_FONT
enum TEXT_FONT |
§ THERMAL_VISUAL_TYPE
enum THERMAL_VISUAL_TYPE |
§ TIMEOFDAY
enum TIMEOFDAY |
§ TIMEREF
enum TIMEREF |
§ TURBULANCE
enum TURBULANCE |
§ UNITMODE
enum UNITMODE |
§ VERTICAL_ALIGNMENT
enum VERTICAL_ALIGNMENT |
§ WEATHER_MODE
enum WEATHER_MODE |
§ WINDSHEAR
enum WINDSHEAR |