FBX C++ API Reference
FbxSyncStack Class Reference

A simple stack of linked items that is multi-thread safe, protected by a spinlock. More...

#include <fbxsync.h>

Classes

struct  Item
 A single link item to be used to construct the stack. More...
 

Public Member Functions

 FbxSyncStack ()
 Constructor. More...
 
void Push (Item *pItem)
 Add an item on the top of the stack. More...
 
ItemPop ()
 Remove the item on the top of the stack. More...
 

Detailed Description

A simple stack of linked items that is multi-thread safe, protected by a spinlock.

Definition at line 154 of file fbxsync.h.

Constructor & Destructor Documentation

Constructor.

Member Function Documentation

void Push ( Item pItem)

Add an item on the top of the stack.

Parameters
pItemThe item to add on top of the stack.
Item* Pop ( )

Remove the item on the top of the stack.

Returns
Returns the item on top of the stack, otherwise NULL if stack empty.

The documentation for this class was generated from the following file: