Pioneer
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
Sector Class Reference

#include <Sector.h>

Inheritance diagram for Sector:
Inheritance graph
[legend]
Collaboration diagram for Sector:
Collaboration graph
[legend]

Classes

class  System
 

Public Member Functions

 ~Sector ()
 
bool WithinBox (const int Xmin, const int Xmax, const int Ymin, const int Ymax, const int Zmin, const int Zmax) const
 
bool Contains (const SystemPath &sysPath) const
 
SystemPath GetPath () const
 
void Dump (FILE *file, const char *indent="") const
 
- Public Member Functions inherited from RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
void IncRefCount () const
 
void DecRefCount () const
 
int GetRefCount () const
 
- Public Member Functions inherited from LuaWrappable
virtual ~LuaWrappable ()
 

Static Public Member Functions

static float DistanceBetween (RefCountedPtr< const Sector > a, int sysIdxA, RefCountedPtr< const Sector > b, int sysIdxB)
 
static float DistanceBetweenSqr (const RefCountedPtr< const Sector > a, const int sysIdxA, const RefCountedPtr< const Sector > b, const int sysIdxB)
 

Public Attributes

std::vector< Systemm_systems
 
const int sx
 
const int sy
 
const int sz
 
sigc::signal< void, Sector::System *, StarSystem::ExplorationState, double > onSetExplorationState
 

Static Public Attributes

static const float SIZE = 8.f
 

Friends

class GalaxyObjectCache< Sector, SystemPath::LessSectorOnly >
 
class GalaxyGenerator
 

Constructor & Destructor Documentation

◆ ~Sector()

Sector::~Sector ( )

Member Function Documentation

◆ Contains()

bool Sector::Contains ( const SystemPath sysPath) const

◆ DistanceBetween()

float Sector::DistanceBetween ( RefCountedPtr< const Sector a,
int  sysIdxA,
RefCountedPtr< const Sector b,
int  sysIdxB 
)
static
Here is the call graph for this function:

◆ DistanceBetweenSqr()

float Sector::DistanceBetweenSqr ( const RefCountedPtr< const Sector a,
const int  sysIdxA,
const RefCountedPtr< const Sector b,
const int  sysIdxB 
)
static
Here is the call graph for this function:

◆ Dump()

void Sector::Dump ( FILE *  file,
const char *  indent = "" 
) const
Here is the call graph for this function:

◆ GetPath()

SystemPath Sector::GetPath ( ) const
inline

◆ WithinBox()

bool Sector::WithinBox ( const int  Xmin,
const int  Xmax,
const int  Ymin,
const int  Ymax,
const int  Zmin,
const int  Zmax 
) const

Friends And Related Symbol Documentation

◆ GalaxyGenerator

friend class GalaxyGenerator
friend

◆ GalaxyObjectCache< Sector, SystemPath::LessSectorOnly >

Member Data Documentation

◆ m_systems

std::vector<System> Sector::m_systems

◆ onSetExplorationState

sigc::signal<void, Sector::System *, StarSystem::ExplorationState, double> Sector::onSetExplorationState

◆ SIZE

const float Sector::SIZE = 8.f
static

◆ sx

const int Sector::sx

◆ sy

const int Sector::sy

◆ sz

const int Sector::sz

The documentation for this class was generated from the following files: