02.08.2013 Views

System Generator for DSP リファレンス ガイド - Xilinx

System Generator for DSP リファレンス ガイド - Xilinx

System Generator for DSP リファレンス ガイド - Xilinx

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LockableSharedMemory<br />

LockableSharedMemory<br />

Public タイプ<br />

Public メソッド<br />

Static Public 属性<br />

メンバー Typedefs<br />

SharedMemory の特性を継承し ます。<br />

• typedef void(* callback )(LockableSharedMemory &, void *)<br />

• LockableSharedMemory (const std::string &name, int nwords, int word_size,<br />

creation_tag_dispatch)<br />

• LockableSharedMemory (const std::string &name, unsigned start_address=0,<br />

int nwords=INHERIT, int word_size=INHERIT, double timeout_sec=15.0)<br />

• virtual ~LockableSharedMemory ()<br />

• virtual bool couldBlockOnReadOrWrite () const<br />

• virtual bool acquireLock (double timeout_sec=NEVER)<br />

• virtual bool acquireLock (callback function, void *arg, double timeout_sec=NEVER)<br />

• virtual bool lockedByMe () const<br />

• virtual void releaseLock ()<br />

• virtual const StdLogicVectorVector & viewAsStdLogicVectorVector () const<br />

• virtual StdLogicVectorVector & viewAsStdLogicVectorVector ()<br />

• const uint32 * getRawDataPtr () const<br />

• uint32 * getRawDataPtr ()<br />

• const int NEVER = -1<br />

• const int INHERIT = -1<br />

• typedef void(* callback)(LockableSharedMemory&, void*)<br />

コンストラクタおよびデストラクタ<br />

LockableSharedMemory (const std::string & name, int nwords, int<br />

word_size, creation_tag_dispatch T)<br />

マッ チング ベース ク ラス (SharedMemory) コ ン ス ト ラ ク タ に似ていま すが、 ロ ッ ク (mutex) セマ<br />

ン ティ ク ス 付き の共有メ モリ が作成さ れま す。 LockableSharedMemory ク ラスは、SharedMemory<br />

クラスを acquireLock() および releaseLock() メ ソ ッ ドを使用して拡張します。<br />

<strong>System</strong> <strong>Generator</strong> <strong>for</strong> <strong>DSP</strong> <strong>リファレンス</strong> <strong>ガイド</strong> japan.xilinx.com 455<br />

リリース 9.2.00 2007 年 8 月<br />

R

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!