BodiesCDPP3DView.h
748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef BODIESCDPP3DVIEW_H
#define BODIESCDPP3DVIEW_H
#include "BodiesAbstract.h"
#define CDPP3DVIEW_TIME_PATTERN "[YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[mls]"
namespace TREPS
{
namespace Bodies
{
typedef vector<ns4__Body*> t_Bodies;
class BodiesCDPP3DViewClass : public BodiesAbstractClass
{
public :
BodiesCDPP3DViewClass(RequestAbstractClass *trepsRequest);
~BodiesCDPP3DViewClass(void);
//retreive bodies
bool run();
private :
//pointer to the WS client
cdppBinderProxy *client;
//retreive all bodies
t_Bodies callListBodiesRequest(const bool isSc);
//filter bodies with their coverage
t_Bodies filterBodiesRequest(const t_Time *startDate, const t_Time *endDate);
};
}
}
#endif