-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPyLimits.cpp
More file actions
53 lines (43 loc) · 1.19 KB
/
PyLimits.cpp
File metadata and controls
53 lines (43 loc) · 1.19 KB
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
43
44
45
46
47
48
49
50
51
52
53
#include "stdafx.h"
#include "PyLimits.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
void CPyLimits::Init(IBroker* pBroker)
{
pBroker->GetInterface(IID_ILimits, (IUnknown**)&m_pLimits);
}
void CPyLimits::Reset()
{
m_pLimits.Release();
}
Float64 CPyLimits::GetMaxSlabFc(pgsTypes::ConcreteType concType) const
{
return m_pLimits->GetMaxSlabFc(concType);
}
Float64 CPyLimits::GetMaxSegmentFci(pgsTypes::ConcreteType concType) const
{
return m_pLimits->GetMaxSegmentFci(concType);
}
Float64 CPyLimits::GetMaxSegmentFc(pgsTypes::ConcreteType concType) const
{
return m_pLimits->GetMaxSegmentFc(concType);
}
Float64 CPyLimits::GetMaxClosureFci(pgsTypes::ConcreteType concType) const
{
return m_pLimits->GetMaxClosureFci(concType);
}
Float64 CPyLimits::GetMaxClosureFc(pgsTypes::ConcreteType concType) const
{
return m_pLimits->GetMaxClosureFc(concType);
}
Float64 CPyLimits::GetMaxConcreteUnitWeight(pgsTypes::ConcreteType concType) const
{
return m_pLimits->GetMaxConcreteUnitWeight(concType);
}
Float64 CPyLimits::GetMaxConcreteAggSize(pgsTypes::ConcreteType concType) const
{
return m_pLimits->GetMaxConcreteAggSize(concType);
}