some code clean up
This commit is contained in:
parent
e60df0f150
commit
130901ef39
1 changed files with 1 additions and 4 deletions
|
@ -335,9 +335,8 @@ public:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
enum EBufState { BS_OK, BS_FULL, BS_EMPTY };
|
enum EBufState { BS_OK, BS_FULL, BS_EMPTY };
|
||||||
enum EClearType { CT_PUT, CT_GET };
|
|
||||||
|
|
||||||
virtual void Clear ( const EClearType eClearType )
|
virtual void Clear()
|
||||||
{
|
{
|
||||||
// clear memory
|
// clear memory
|
||||||
if ( !bIsSimulation )
|
if ( !bIsSimulation )
|
||||||
|
@ -378,8 +377,6 @@ public:
|
||||||
virtual bool Get ( CVector<uint8_t>& vecbyData );
|
virtual bool Get ( CVector<uint8_t>& vecbyData );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void Clear ( const EClearType eClearType );
|
|
||||||
|
|
||||||
int iBlockSize;
|
int iBlockSize;
|
||||||
int iNumInvalidElements;
|
int iNumInvalidElements;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue