mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
搭建PVB架构,实现前端的基础布局、菜单、表格、图示等功能
This commit is contained in:
46
libs/pvb/include/rllib/rlbuffer.h
Normal file
46
libs/pvb/include/rllib/rlbuffer.h
Normal file
@@ -0,0 +1,46 @@
|
||||
/***************************************************************************
|
||||
rlbuffer.h - description
|
||||
-------------------
|
||||
begin : Sun Aug 24 2014
|
||||
copyright : (C) 2014 by R. Lehrig
|
||||
email : lehrig@t-online.de
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as *
|
||||
* published by the Free Software Foundation *
|
||||
* *
|
||||
***************************************************************************/
|
||||
#ifndef _RL_BUFFER_H_
|
||||
#define _RL_BUFFER_H_
|
||||
|
||||
#include "rldefine.h"
|
||||
|
||||
/*! <pre>
|
||||
class for handling memory buffers.
|
||||
</pre> */
|
||||
class rlBuffer
|
||||
{
|
||||
public:
|
||||
rlBuffer();
|
||||
virtual ~rlBuffer();
|
||||
int resize(int size);
|
||||
int size();
|
||||
int setText(const char *text);
|
||||
char *line(int i);
|
||||
void *adr;
|
||||
char *c;
|
||||
unsigned char *uc;
|
||||
int *i;
|
||||
unsigned int *ui;
|
||||
long *l;
|
||||
unsigned long *ul;
|
||||
float *f;
|
||||
double *d;
|
||||
|
||||
private:
|
||||
int _size;
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user