DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
Firm Class Reference

#include <Firm.h>

Public Member Functions

 Firm (int idx, int a_idx_firm, std::string a_name, int a_nb_vessels, double lon, double lat, std::vector< Vessel * > &a_bunch_of_vessels)
 
 Firm ()
 
 ~Firm ()
 
int get_idx () const
 
std::string get_name () const
 
double get_x () const
 
double get_y () const
 
std::vector< Vessel * > get_bunch_of_vessels ()
 
void set_x (double x)
 
void set_y (double y)
 
void set_idx_firm (int a_idx_firm)
 
void lock ()
 
void unlock ()
 

Protected Member Functions

void init ()
 

Constructor & Destructor Documentation

◆ Firm() [1/2]

Firm::Firm ( int  idx,
int  a_idx_firm,
std::string  a_name,
int  a_nb_vessels,
double  lon,
double  lat,
std::vector< Vessel * > &  a_bunch_of_vessels 
)

◆ Firm() [2/2]

Firm::Firm ( )

◆ ~Firm()

Firm::~Firm ( )

Member Function Documentation

◆ get_bunch_of_vessels()

vector< Vessel * > Firm::get_bunch_of_vessels ( )

◆ get_idx()

int Firm::get_idx ( ) const

◆ get_name()

string Firm::get_name ( ) const

◆ get_x()

double Firm::get_x ( ) const

◆ get_y()

double Firm::get_y ( ) const

◆ init()

void Firm::init ( )
protected

◆ lock()

void Firm::lock ( )
inline

◆ set_idx_firm()

void Firm::set_idx_firm ( int  a_idx_firm)

◆ set_x()

void Firm::set_x ( double  x)

◆ set_y()

void Firm::set_y ( double  y)

◆ unlock()

void Firm::unlock ( )
inline

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