Refactored CMakeLists.txt
* new pip_module() macro * fixed exports * automatic gather all exports and pass them to Doxygen and PICodeParser
This commit is contained in:
@@ -102,7 +102,7 @@ protected:
|
||||
llong bytes_all, bytes_cur;
|
||||
|
||||
private:
|
||||
enum PIP_EXPORT PacketType {pt_Unknown, pt_Data, pt_ReplySuccess, pt_ReplyInvalid, pt_Break, pt_Start, pt_Pause};
|
||||
enum PacketType {pt_Unknown, pt_Data, pt_ReplySuccess, pt_ReplyInvalid, pt_Break, pt_Start, pt_Pause};
|
||||
|
||||
# pragma pack(push,1)
|
||||
struct PIP_EXPORT StartRequest {
|
||||
|
||||
@@ -23,11 +23,12 @@
|
||||
#ifndef PIBROADCAST_H
|
||||
#define PIBROADCAST_H
|
||||
|
||||
#include "pip_io_utils_export.h"
|
||||
#include "piethutilbase.h"
|
||||
#include "piethernet.h"
|
||||
|
||||
|
||||
class PIBroadcast: public PIThread, public PIEthUtilBase {
|
||||
class PIP_IO_UTILS_EXPORT PIBroadcast: public PIThread, public PIEthUtilBase {
|
||||
PIOBJECT_SUBCLASS(PIBroadcast, PIThread)
|
||||
public:
|
||||
|
||||
|
||||
@@ -404,7 +404,7 @@ private:
|
||||
void __DevicePool_threadReadDP(void * ddp);
|
||||
|
||||
|
||||
extern PIConnection::DevicePool * __device_pool__;
|
||||
extern PIP_EXPORT PIConnection::DevicePool * __device_pool__;
|
||||
|
||||
class PIP_EXPORT __DevicePoolContainer__ {
|
||||
public:
|
||||
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
};
|
||||
|
||||
//! Information about current diagnostics state
|
||||
struct State {
|
||||
struct PIP_EXPORT State {
|
||||
State();
|
||||
float immediate_freq;
|
||||
float integral_freq;
|
||||
@@ -123,7 +123,7 @@ public:
|
||||
//! \}
|
||||
|
||||
private:
|
||||
struct Entry {
|
||||
struct PIP_EXPORT Entry {
|
||||
Entry() {bytes_ok = bytes_fail = 0; cnt_ok = cnt_fail = 0; empty = true;}
|
||||
ullong bytes_ok;
|
||||
ullong bytes_fail;
|
||||
|
||||
@@ -23,9 +23,10 @@
|
||||
#ifndef PIETHUTILBASE_H
|
||||
#define PIETHUTILBASE_H
|
||||
|
||||
#include "pip_io_utils_export.h"
|
||||
#include "pibytearray.h"
|
||||
|
||||
class PIEthUtilBase {
|
||||
class PIP_IO_UTILS_EXPORT PIEthUtilBase {
|
||||
public:
|
||||
PIEthUtilBase();
|
||||
~PIEthUtilBase();
|
||||
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
PIFileTransfer();
|
||||
~PIFileTransfer();
|
||||
|
||||
enum PIP_EXPORT StepType {pft_None, pft_Description, pft_Data};
|
||||
enum StepType {pft_None, pft_Description, pft_Data};
|
||||
|
||||
struct PIP_EXPORT PFTFileInfo: public PIFile::FileInfo {
|
||||
PFTFileInfo(const PIFile::FileInfo &fi = PIFile::FileInfo()): PIFile::FileInfo(fi) {}
|
||||
|
||||
@@ -23,20 +23,21 @@
|
||||
#ifndef PISTREAMPACKER_H
|
||||
#define PISTREAMPACKER_H
|
||||
|
||||
#include "pip_io_utils_export.h"
|
||||
#include "piobject.h"
|
||||
#include "piethutilbase.h"
|
||||
|
||||
|
||||
class PIIODevice;
|
||||
|
||||
class PIP_EXPORT PIStreamPacker: public PIObject, public PIEthUtilBase {
|
||||
class PIP_IO_UTILS_EXPORT PIStreamPacker: public PIObject, public PIEthUtilBase {
|
||||
PIOBJECT(PIStreamPacker)
|
||||
public:
|
||||
//! Contructs packer and try to assign \"dev\"
|
||||
PIStreamPacker(PIIODevice * dev = 0);
|
||||
|
||||
//! Progress info
|
||||
struct Progress {
|
||||
struct PIP_IO_UTILS_EXPORT Progress {
|
||||
Progress();
|
||||
|
||||
//! Is send/receive in progress
|
||||
|
||||
Reference in New Issue
Block a user