ADTF_DISPLAY_TOOLBOX  3.8.0 (ADTF 3.14.3)
gclwriter.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include <adtf_base.h>
11 
12 namespace adtf
13 {
14 
15 namespace disptb
16 {
17 
18 namespace graphicslib
19 {
20 
21 namespace dengar
22 {
23 
24 //*****************************************************************************
193 {
194 public:
210  static tResult StoreCommand(tUInt32*& pCommandBlock, tUInt32 nCommandId);
211 
229  static tResult StoreCommand(tUInt32*& pCommandBlock, tUInt32 nCommandId, tInt n);
230 
247  static tResult StoreCommand(tUInt32*& pCommandBlock,
248  tUInt32 nCommandId, tInt x, tInt y);
249 
266  static tResult StoreCommand(tUInt32*& pCommandBlock,
267  tUInt32 nCommandId, tFloat32 x, tFloat32 y);
268 
287  static tResult StoreCommand(tUInt32*& pCommandBlock, tUInt32 nCommandId,
288  tInt x, tInt y, tInt z);
289 
307  static tResult StoreCommand(tUInt32*& pCommandBlock, tUInt32 nCommandId,
308  tFloat32 x, tFloat32 y, tInt z);
309 
327  static tResult StoreCommand(tUInt32*& pCommandBlock, tUInt32 nCommandId,
328  tFloat32 x, tFloat32 y, tFloat32 radius);
329 
348  static tResult StoreCommand(tUInt32*& pCommandBlock, tUInt32 nCommandId,
349  tInt x1, tInt y1, tInt x2, tInt y2);
350 
369  static tResult StoreCommand(tUInt32*& pCommandBlock, tUInt32 nCommandId,
370  tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2);
371 
388  static tResult StoreCommand(tUInt32*& pCommandBlock, tUInt32 nCommandId,
389  tInt nParamCount, const tUInt32* pParams);
390 
404  static tResult StoreData(tUInt32*& pCommandBlock, tUInt32 nParam);
405 
421  static tResult StoreData(tUInt32*& pCommandBlock, tInt nParamCount,
422  const tUInt32* pParams);
423 
439  static tResult StoreData(tUInt32*& pCommandBlock, tInt nByteCount,
440  const tUInt8* pData);
441 
457  static tResult StoreData(tUInt32*& pCommandBlock,
458  tInt nByteCount, const tChar* pData);
459 
475  static tResult StoreCommand(tUInt32*& pCommandBlock, tUInt32 nCommandId,
476  tUInt16 nPattern, tInt nFactor);
477 
492  static tResult GetDynamicMemoryBlock(IDynamicMemoryBlock*& pCommandBlock);
493 
508  static tResult FreeDynamicMemoryBlock(IDynamicMemoryBlock*& pCommandBlock);
509 
522  static tResult StoreCommand(IDynamicMemoryBlock*& pCommandBlock, tUInt32 nCommandId);
523 
539  static tResult StoreCommand(IDynamicMemoryBlock*& pCommandBlock,
540  tUInt32 nCommandId, tInt n);
541 
556  static tResult StoreCommand(IDynamicMemoryBlock*& pCommandBlock,
557  tUInt32 nCommandId, tInt x, tInt y);
558 
573  static tResult StoreCommand(IDynamicMemoryBlock*& pCommandBlock,
574  tUInt32 nCommandId, tFloat32 x, tFloat32 y);
575 
592  static tResult StoreCommand(IDynamicMemoryBlock*& pCommandBlock,
593  tUInt32 nCommandId, tInt x, tInt y, tInt z);
594 
611  static tResult StoreCommand(IDynamicMemoryBlock*& pCommandBlock,
612  tUInt32 nCommandId, tFloat32 x, tFloat32 y, tInt z);
613 
629  static tResult StoreCommand(IDynamicMemoryBlock*& pCommandBlock,
630  tUInt32 nCommandId, tFloat32 x, tFloat32 y, tFloat32 radius);
631 
648  static tResult StoreCommand(IDynamicMemoryBlock*& pCommandBlock,
649  tUInt32 nCommandId, tInt x1, tInt y1, tInt x2, tInt y2);
650 
666  static tResult StoreCommand(IDynamicMemoryBlock*& pCommandBlock,
667  tUInt32 nCommandId, tUInt16 nPattern, tInt nFactor);
668 
685  static tResult StoreCommand(IDynamicMemoryBlock*& pCommandBlock,
686  tUInt32 nCommandId, tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2);
687 
702  static tResult StoreCommand(IDynamicMemoryBlock*& pCommandBlock,
703  tUInt32 nCommandId, tInt nParamCount, const tUInt32* pParams);
704 
716  static tResult StoreData(IDynamicMemoryBlock*& pCommandBlock, tUInt32 nParam);
717 
731  static tResult StoreData(IDynamicMemoryBlock*& pCommandBlock,
732  tInt nParamCount, const tUInt32* pParams);
733 
747  static tResult StoreData(IDynamicMemoryBlock*& pCommandBlock,
748  tInt nByteCount, const tUInt8* pData);
749 
763  static tResult StoreData(IDynamicMemoryBlock*& pCommandBlock,
764  tInt nByteCount, const tChar* pData);
765 };
766 
767 }
768 
769 using dengar::cGCLWriter;
770 }
771 
772 }
773 
774 }
775 
776 //******************************************************************************
The IDynamicMemoryBlock interface extends allocated memory dynamically.
Helper class for generating graphics command lists.
Definition: gclwriter.h:193
static tResult StoreCommand(IDynamicMemoryBlock *&pCommandBlock, tUInt32 nCommandId, tFloat32 x, tFloat32 y)
Stores a GCL command with two float parameters in the dynamic memory block.
static tResult GetDynamicMemoryBlock(IDynamicMemoryBlock *&pCommandBlock)
Creates and returns a pointer to the IDynamicMemoryBlock interface.
static tResult StoreCommand(IDynamicMemoryBlock *&pCommandBlock, tUInt32 nCommandId, tInt x1, tInt y1, tInt x2, tInt y2)
Stores a GCL command with four integer parameters in the dynamic memory block.
static tResult StoreCommand(tUInt32 *&pCommandBlock, tUInt32 nCommandId, tInt x1, tInt y1, tInt x2, tInt y2)
Stores a GCL command with four integer parameters in the buffer.
static tResult StoreCommand(IDynamicMemoryBlock *&pCommandBlock, tUInt32 nCommandId, tInt nParamCount, const tUInt32 *pParams)
Stores a GCL command with an array of tUInt32 in the dynamic memory block.
static tResult StoreData(tUInt32 *&pCommandBlock, tUInt32 nParam)
Stores one tUInt32 in the buffer.
static tResult StoreData(tUInt32 *&pCommandBlock, tInt nByteCount, const tChar *pData)
Stores an array of characters in the buffer.
static tResult StoreCommand(tUInt32 *&pCommandBlock, tUInt32 nCommandId, tUInt16 nPattern, tInt nFactor)
Stores a GCL command with one UInt16 and one int parameters in the dynamic memory block.
static tResult StoreCommand(tUInt32 *&pCommandBlock, tUInt32 nCommandId, tFloat32 x, tFloat32 y, tFloat32 radius)
Stores a GCL command with three float parameters in the buffer.
static tResult StoreData(tUInt32 *&pCommandBlock, tInt nByteCount, const tUInt8 *pData)
Stores an array of bytes in the buffer.
static tResult StoreCommand(tUInt32 *&pCommandBlock, tUInt32 nCommandId, tFloat32 x, tFloat32 y, tInt z)
Stores a GCL command with two float and one integer parameters in the buffer.
static tResult StoreCommand(tUInt32 *&pCommandBlock, tUInt32 nCommandId, tInt n)
Stores a GCL command with one integer parameter in the buffer.
static tResult StoreCommand(IDynamicMemoryBlock *&pCommandBlock, tUInt32 nCommandId)
Stores a GCL command in the dynamic memory block.
static tResult StoreCommand(IDynamicMemoryBlock *&pCommandBlock, tUInt32 nCommandId, tInt n)
Stores a GCL command with one integer parameter in the dynamic memory block.
static tResult StoreCommand(tUInt32 *&pCommandBlock, tUInt32 nCommandId, tInt x, tInt y, tInt z)
Stores a GCL command with three integer parameters in the buffer.
static tResult StoreCommand(IDynamicMemoryBlock *&pCommandBlock, tUInt32 nCommandId, tUInt16 nPattern, tInt nFactor)
Stores a GCL command with one UInt16 and one int parameters in the dynamic memory block.
static tResult FreeDynamicMemoryBlock(IDynamicMemoryBlock *&pCommandBlock)
Deallocates or frees a dynamic memory block.
static tResult StoreData(IDynamicMemoryBlock *&pCommandBlock, tInt nByteCount, const tChar *pData)
Stores an array of characters in the dynamic memory block.
static tResult StoreData(tUInt32 *&pCommandBlock, tInt nParamCount, const tUInt32 *pParams)
Stores an array of tUInt32 in the buffer.
static tResult StoreCommand(tUInt32 *&pCommandBlock, tUInt32 nCommandId, tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2)
Stores a GCL command with four float parameters in the buffer.
static tResult StoreCommand(IDynamicMemoryBlock *&pCommandBlock, tUInt32 nCommandId, tInt x, tInt y)
Stores a GCL command with two integer parameters in the dynamic memory block.
static tResult StoreCommand(tUInt32 *&pCommandBlock, tUInt32 nCommandId)
Stores a GCL command in the buffer.
static tResult StoreData(IDynamicMemoryBlock *&pCommandBlock, tUInt32 nParam)
Stores one tUInt32 in the dynamic memory block.
static tResult StoreCommand(IDynamicMemoryBlock *&pCommandBlock, tUInt32 nCommandId, tFloat32 x1, tFloat32 y1, tFloat32 x2, tFloat32 y2)
Stores a GCL command with four float parameters in the dynamic memory block.
static tResult StoreCommand(tUInt32 *&pCommandBlock, tUInt32 nCommandId, tInt nParamCount, const tUInt32 *pParams)
Stores a GCL command with an array of tUInt32 in the buffer.
static tResult StoreCommand(tUInt32 *&pCommandBlock, tUInt32 nCommandId, tFloat32 x, tFloat32 y)
Stores a GCL command with two float parameters in the buffer.
static tResult StoreCommand(IDynamicMemoryBlock *&pCommandBlock, tUInt32 nCommandId, tFloat32 x, tFloat32 y, tFloat32 radius)
Stores a GCL command with three float parameters in the dynamic memory block.
static tResult StoreData(IDynamicMemoryBlock *&pCommandBlock, tInt nByteCount, const tUInt8 *pData)
Stores an array of bytes in the dynamic memory block.
static tResult StoreData(IDynamicMemoryBlock *&pCommandBlock, tInt nParamCount, const tUInt32 *pParams)
Stores an array of tUInt32 in the dynamic memory block.
static tResult StoreCommand(tUInt32 *&pCommandBlock, tUInt32 nCommandId, tInt x, tInt y)
Stores a GCL command with two integer parameters in the buffer.
static tResult StoreCommand(IDynamicMemoryBlock *&pCommandBlock, tUInt32 nCommandId, tFloat32 x, tFloat32 y, tInt z)
Stores a GCL command with two float and one integer parameters in the dynamic memory block.
static tResult StoreCommand(IDynamicMemoryBlock *&pCommandBlock, tUInt32 nCommandId, tInt x, tInt y, tInt z)
Stores a GCL command with three integer parameters in the dynamic memory block.
Copyright © Audi Electronics Venture GmbH.
Main namespace.